Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0844/0.0844, allocations: 12.6 MB / 28.91 MB, free: 0.625 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.001177/0.001177, allocations: 107.5 kB / 32.51 MB, free: 3.562 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.552/1.552, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001324/0.001324, allocations: 191.9 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.527/0.527, allocations: 78.5 MB / 420 MB, free: 11.29 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.002653/0.002654, allocations: 140 kB / 0.5565 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1678, allocations: 68.13 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007758/0.1756, allocations: 6.754 MB / 0.6297 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.1799, allocations: 1.983 MB / 0.6316 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.1806, allocations: 12 kB / 0.6316 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.1813, allocations: 245.9 kB / 0.6319 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1833, allocations: 0.8738 MB / 0.6327 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1845, allocations: 0.6351 MB / 0.6333 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.1862, allocations: 1.679 MB / 0.635 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.1867, allocations: 326.5 kB / 0.6353 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.1875, allocations: 0.6925 MB / 0.636 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008969/0.1884, allocations: 0.8712 MB / 0.6368 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.1886, allocations: 132 kB / 0.6369 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.1891, allocations: 267.9 kB / 0.6372 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.1894, allocations: 350.5 kB / 0.6375 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.19, allocations: 0.6992 MB / 0.6382 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.1918, allocations: 1.739 MB / 0.6399 GB, free: 14.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1918, allocations: 0 / 0.6399 GB, free: 14.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1918, allocations: 7.938 kB / 0.6399 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.1918, allocations: 0 / 0.6399 GB, free: 14.11 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008676/0.2005, allocations: 2.827 MB / 0.6427 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.2005, allocations: 11.98 kB / 0.6427 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.2054, allocations: 0.7835 MB / 0.6434 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.207, allocations: 0.9345 MB / 0.6444 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.2072, allocations: 260.2 kB / 0.6446 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.2074, allocations: 91.89 kB / 0.6447 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.2095, allocations: 1.11 MB / 0.6458 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.2095, allocations: 3.984 kB / 0.6458 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/0.2096, allocations: 32 kB / 0.6458 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2096, allocations: 20 kB / 0.6458 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.2116, allocations: 1.003 MB / 0.6468 GB, free: 6.867 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.006325/0.2179, allocations: 3.911 MB / 0.6506 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006848/0.2248, allocations: 2.396 MB / 0.653 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.2262, allocations: 0.6995 MB / 0.6537 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2263, allocations: 9 kB / 0.6537 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.2279, allocations: 0.8334 MB / 0.6545 GB, free: 14.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/0.2279, allocations: 0 / 0.6545 GB, free: 14.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02665/0.2546, allocations: 7.101 MB / 0.6614 GB, free: 7.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.2547, allocations: 119.8 kB / 0.6615 GB, free: 7.422 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.2564, allocations: 1.135 MB / 0.6626 GB, free: 6.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.2567, allocations: 45.7 kB / 0.6627 GB, free: 6.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.2571, allocations: 0.4977 MB / 0.6632 GB, free: 5.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.2575, allocations: 392.7 kB / 0.6635 GB, free: 5.332 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005154/0.258, allocations: 295.5 kB / 0.6638 GB, free: 5.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.2581, allocations: 309.1 kB / 0.6641 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.2597, allocations: 0.7926 MB / 0.6649 GB, free: 3.941 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.2613, allocations: 0.9733 MB / 0.6658 GB, free: 2.926 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02456/0.2859, allocations: 5.926 MB / 0.6716 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2859, allocations: 0 / 0.6716 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01412/0.3001, allocations: 4.509 MB / 0.676 GB, free: 8.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/0.3002, allocations: 67.28 kB / 0.6761 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3002, allocations: 4 kB / 0.6761 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006009/0.3062, allocations: 1.669 MB / 0.6777 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.3079, allocations: 291.6 kB / 0.678 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.3282, allocations: 8.624 MB / 0.6864 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.3305, allocations: 211.1 kB / 0.6866 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.3308, allocations: 59.91 kB / 0.6867 GB, free: 13.29 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009647/0.3318, allocations: 320 kB / 0.687 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.3323, allocations: 139.1 kB / 0.6871 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.3445, allocations: 3.916 MB / 0.6909 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/0.3446, allocations: 3.984 kB / 0.691 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3446, allocations: 0 / 0.691 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.3455, allocations: 239.9 kB / 0.6912 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006982/0.3462, allocations: 20 kB / 0.6912 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.348, allocations: 111.8 kB / 0.6913 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/0.3492, allocations: 444.2 kB / 0.6917 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006995/0.3562, allocations: 2.315 MB / 0.694 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004515/0.3607, allocations: 2.344 MB / 0.6963 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001229/0.362, allocations: 0.5855 MB / 0.6969 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001279/0.3633, allocations: 0.7713 MB / 0.6976 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.3633, allocations: 4 kB / 0.6976 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006493/0.3698, allocations: 2.19 MB / 0.6997 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004403/0.3742, allocations: 3.117 MB / 0.7028 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.3658/0.74, allocations: 23.84 MB / 0.7261 GB, free: 84.98 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)