Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 113 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.1 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 200.3 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.508/0.508, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 76.81 kB / 0.5735 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 71.28 MB / 0.6431 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01324/0.1291, allocations: 13.62 MB / 0.6564 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.1364, allocations: 3.464 MB / 0.6597 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.1385, allocations: 24 kB / 0.6598 GB, free: 2.379 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.1403, allocations: 0.5576 MB / 0.6603 GB, free: 1.816 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.1451, allocations: 1.577 MB / 0.6619 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.1489, allocations: 1.509 MB / 0.6633 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004825/0.1538, allocations: 3.729 MB / 0.667 GB, free: 11 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.1553, allocations: 0.8895 MB / 0.6678 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002301/0.1576, allocations: 1.529 MB / 0.6693 GB, free: 8.531 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.1602, allocations: 1.952 MB / 0.6712 GB, free: 6.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000936/0.1612, allocations: 284 kB / 0.6715 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1626, allocations: 431.9 kB / 0.6719 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009603/0.1635, allocations: 0.7662 MB / 0.6727 GB, free: 5.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.1657, allocations: 1.631 MB / 0.6743 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.1704, allocations: 3.974 MB / 0.6781 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1704, allocations: 0 / 0.6781 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1704, allocations: 0 / 0.6781 GB, free: 15.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001153/0.1705, allocations: 0 / 0.6781 GB, free: 15.47 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02474/0.1953, allocations: 6.571 MB / 0.6846 GB, free: 8.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1953, allocations: 8.031 kB / 0.6846 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.2111, allocations: 2.279 MB / 0.6868 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.2149, allocations: 1.871 MB / 0.6886 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007427/0.2157, allocations: 0.7291 MB / 0.6893 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005561/0.2163, allocations: 212 kB / 0.6895 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006607/0.2229, allocations: 3.035 MB / 0.6925 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.223, allocations: 0 / 0.6925 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.2233, allocations: 87.94 kB / 0.6926 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.2233, allocations: 48 kB / 0.6926 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/0.2293, allocations: 2.784 MB / 0.6953 GB, free: 13.48 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.2481, allocations: 9.801 MB / 0.7049 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/0.2597, allocations: 4.184 MB / 0.709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004202/0.2639, allocations: 1.956 MB / 0.7109 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.2642, allocations: 45.95 kB / 0.711 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004804/0.269, allocations: 2.234 MB / 0.7131 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 5.069e-06/0.2691, allocations: 0 / 0.7131 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=247): time 0.1329/0.4019, allocations: 29.46 MB / 0.7419 GB, free: 13.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.4021, allocations: 184.2 kB / 0.7421 GB, free: 12.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.4058, allocations: 2.281 MB / 0.7443 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005995/0.4064, allocations: 73.69 kB / 0.7444 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008931/0.4073, allocations: 1.172 MB / 0.7455 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.4085, allocations: 0.8627 MB / 0.7464 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.41, allocations: 0.5539 MB / 0.7469 GB, free: 7.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.41, allocations: 305.1 kB / 0.7472 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004516/0.4146, allocations: 1.954 MB / 0.7491 GB, free: 5.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.4194, allocations: 2.31 MB / 0.7514 GB, free: 3.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05768/0.4771, allocations: 14 MB / 0.765 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.4772, allocations: 0 / 0.765 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.3139/0.7911, allocations: 12.28 MB / 0.777 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.7912, allocations: 114.2 kB / 0.7771 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.7912, allocations: 6.219 kB / 0.7771 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/0.8101, allocations: 5.323 MB / 0.7823 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.813, allocations: 0.5678 MB / 0.7829 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05986/0.8729, allocations: 23.47 MB / 0.8058 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/0.8772, allocations: 490.4 kB / 0.8063 GB, free: 98.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005983/0.8779, allocations: 116 kB / 0.8064 GB, free: 97.96 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001601/0.8795, allocations: 0.5294 MB / 0.8069 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/0.8803, allocations: 297.9 kB / 0.8072 GB, free: 97.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0391/0.9194, allocations: 11.9 MB / 0.8188 GB, free: 85.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.245e-05/0.9195, allocations: 15.94 kB / 0.8188 GB, free: 85.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.9195, allocations: 4 kB / 0.8188 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008065/0.9203, allocations: 414.8 kB / 0.8192 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009386/0.9213, allocations: 55.48 kB / 0.8193 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/0.9246, allocations: 295.6 kB / 0.8196 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004556/0.9292, allocations: 1.411 MB / 0.8209 GB, free: 83.04 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01628/0.9455, allocations: 5.896 MB / 0.8267 GB, free: 77.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01176/0.9573, allocations: 5.891 MB / 0.8325 GB, free: 71.19 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003868/0.9612, allocations: 1.612 MB / 0.834 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002303/0.9635, allocations: 1.503 MB / 0.8355 GB, free: 68.07 MB / 0.5606 GB Notification: Performance of Backend: time 1.253e-06/0.9635, allocations: 4 kB / 0.8355 GB, free: 68.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01753/0.9811, allocations: 5.165 MB / 0.8405 GB, free: 62.86 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007997/0.9891, allocations: 6.21 MB / 0.8466 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07704/1.066, allocations: 60.66 MB / 0.9058 GB, free: 12.01 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)