Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08197/0.08197, allocations: 12.61 MB / 28.91 MB, free: 0.6016 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 111.5 kB / 32.51 MB, free: 3.543 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.001669, allocations: 196.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4329/0.4329, allocations: 78.51 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 146.2 kB / 0.5565 GB, free: 28.42 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1256, allocations: 68.12 MB / 0.6231 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.007165/0.1328, allocations: 6.452 MB / 0.6294 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.1369, allocations: 1.951 MB / 0.6313 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009037/0.1378, allocations: 12 kB / 0.6313 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.1388, allocations: 238 kB / 0.6315 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.1412, allocations: 0.8495 MB / 0.6323 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1427, allocations: 0.6355 MB / 0.633 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.1447, allocations: 1.549 MB / 0.6345 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.1453, allocations: 314.4 kB / 0.6348 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.1464, allocations: 0.634 MB / 0.6354 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.1476, allocations: 0.809 MB / 0.6362 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.148, allocations: 120 kB / 0.6363 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.1488, allocations: 255.8 kB / 0.6365 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.1493, allocations: 342.6 kB / 0.6369 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.1504, allocations: 0.6602 MB / 0.6375 GB, free: 472 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.1526, allocations: 1.643 MB / 0.6391 GB, free: 14.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1526, allocations: 0 / 0.6391 GB, free: 14.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1526, allocations: 3.938 kB / 0.6391 GB, free: 14.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.61e-05/0.1527, allocations: 4 kB / 0.6391 GB, free: 14.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.009561/0.1622, allocations: 2.661 MB / 0.6417 GB, free: 12.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1623, allocations: 11.98 kB / 0.6417 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005216/0.1675, allocations: 0.7787 MB / 0.6425 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1695, allocations: 0.8902 MB / 0.6434 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.1698, allocations: 234.4 kB / 0.6436 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.1701, allocations: 80 kB / 0.6437 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.1726, allocations: 1.091 MB / 0.6447 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.1727, allocations: 4 kB / 0.6447 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1728, allocations: 28 kB / 0.6448 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1728, allocations: 23.98 kB / 0.6448 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.1751, allocations: 0.9955 MB / 0.6458 GB, free: 7.844 MB / 462.1 MB 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.007168/0.1823, allocations: 3.835 MB / 0.6495 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/0.1899, allocations: 2.339 MB / 0.6518 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.1914, allocations: 0.6801 MB / 0.6524 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1915, allocations: 13 kB / 0.6525 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1915, allocations: 47.56 kB / 0.6525 GB, free: 0.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 3.236e-06/0.1915, allocations: 0 / 0.6525 GB, free: 0.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02819/0.2197, allocations: 6.876 MB / 0.6592 GB, free: 9.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.2199, allocations: 145.5 kB / 0.6594 GB, free: 9.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.2218, allocations: 1.075 MB / 0.6604 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.222, allocations: 45.7 kB / 0.6604 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.2225, allocations: 0.4929 MB / 0.6609 GB, free: 7.895 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.2229, allocations: 343.2 kB / 0.6613 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005913/0.2235, allocations: 271.4 kB / 0.6615 GB, free: 7.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.2236, allocations: 301.1 kB / 0.6618 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.2253, allocations: 0.766 MB / 0.6626 GB, free: 6.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.2271, allocations: 0.9304 MB / 0.6635 GB, free: 5.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0237/0.2508, allocations: 5.524 MB / 0.6689 GB, free: 15.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.2508, allocations: 0 / 0.6689 GB, free: 15.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.014/0.2648, allocations: 4.328 MB / 0.6731 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.2649, allocations: 67.39 kB / 0.6731 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.265, allocations: 4 kB / 0.6732 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.2708, allocations: 1.591 MB / 0.6747 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.2723, allocations: 259.6 kB / 0.675 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.2932, allocations: 8.498 MB / 0.6833 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.2951, allocations: 190.7 kB / 0.6834 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.2954, allocations: 47.97 kB / 0.6835 GB, free: 476 kB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002302/0.2977, allocations: 0.946 MB / 0.6844 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001842/0.2996, allocations: 0.9148 MB / 0.6853 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02385/0.3234, allocations: 5.493 MB / 0.6907 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.554e-05/0.3235, allocations: 0 / 0.6907 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.01459/0.3381, allocations: 4.308 MB / 0.6949 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.3382, allocations: 63.39 kB / 0.6949 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3383, allocations: 7.938 kB / 0.6949 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.3441, allocations: 1.586 MB / 0.6965 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.3455, allocations: 255.6 kB / 0.6967 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.3664, allocations: 8.51 MB / 0.705 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.3684, allocations: 175 kB / 0.7052 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/0.3687, allocations: 51.92 kB / 0.7053 GB, free: 9.836 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005677/0.3693, allocations: 284.1 kB / 0.7055 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.3697, allocations: 126.5 kB / 0.7056 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.3829, allocations: 3.763 MB / 0.7093 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.404e-05/0.383, allocations: 3.984 kB / 0.7093 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.383, allocations: 0 / 0.7093 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.3838, allocations: 223.2 kB / 0.7095 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005907/0.3844, allocations: 16 kB / 0.7096 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.3861, allocations: 103.9 kB / 0.7097 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/0.3874, allocations: 420.3 kB / 0.7101 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006922/0.3943, allocations: 2.134 MB / 0.7121 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004737/0.3991, allocations: 2.265 MB / 0.7143 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2593/0.6584, allocations: 0.5684 MB / 0.7149 GB, free: 84.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001461/0.6599, allocations: 0.7311 MB / 0.7156 GB, free: 84.35 MB / 0.5137 GB Notification: Performance of Backend: time 1.072e-06/0.6599, allocations: 1.5 kB / 0.7156 GB, free: 84.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01171/0.6716, allocations: 3.921 MB / 0.7194 GB, free: 83.66 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003878/0.6756, allocations: 2.814 MB / 0.7222 GB, free: 82.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.04774/0.7233, allocations: 33.07 MB / 0.7545 GB, free: 65.32 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)