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.08013/0.08013, allocations: 12.6 MB / 28.91 MB, free: 0.6406 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.001114/0.001114, allocations: 111.5 kB / 32.51 MB, free: 3.578 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.364/1.364, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001694/0.001694, allocations: 191.5 kB / 291.4 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4769/0.4769, allocations: 78.5 MB / 420 MB, free: 10.76 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.002817/0.002817, allocations: 146.6 kB / 0.5566 GB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1279, allocations: 68.12 MB / 0.6231 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007792/0.1357, allocations: 6.746 MB / 0.6297 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.141, allocations: 1.979 MB / 0.6316 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.1423, allocations: 12 kB / 0.6316 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.1433, allocations: 241.9 kB / 0.6318 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.1458, allocations: 0.8844 MB / 0.6327 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1474, allocations: 0.6458 MB / 0.6333 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.1492, allocations: 1.679 MB / 0.635 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.1498, allocations: 322.5 kB / 0.6353 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008743/0.1507, allocations: 0.6886 MB / 0.636 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.1516, allocations: 0.8751 MB / 0.6368 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.1518, allocations: 132 kB / 0.6369 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.1523, allocations: 267.9 kB / 0.6372 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.1526, allocations: 350.5 kB / 0.6375 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.1532, allocations: 0.6913 MB / 0.6382 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.155, allocations: 1.74 MB / 0.6399 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.155, allocations: 0 / 0.6399 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.155, allocations: 0 / 0.6399 GB, free: 11.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.155, allocations: 0 / 0.6399 GB, free: 11.84 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.009342/0.1644, allocations: 2.781 MB / 0.6426 GB, free: 8.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.1644, allocations: 11.98 kB / 0.6426 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/0.1696, allocations: 0.7787 MB / 0.6434 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.1711, allocations: 0.9219 MB / 0.6443 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.1714, allocations: 264.2 kB / 0.6445 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.1716, allocations: 91.84 kB / 0.6446 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.1738, allocations: 1.114 MB / 0.6457 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1738, allocations: 0 / 0.6457 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.1739, allocations: 32 kB / 0.6457 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.1739, allocations: 20 kB / 0.6458 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.176, allocations: 0.9995 MB / 0.6467 GB, free: 4.656 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.006438/0.1825, allocations: 3.898 MB / 0.6505 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/0.1902, allocations: 2.404 MB / 0.6529 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.1917, allocations: 0.6956 MB / 0.6536 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.1918, allocations: 24.89 kB / 0.6536 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.1935, allocations: 0.8295 MB / 0.6544 GB, free: 12.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.095e-06/0.1935, allocations: 0 / 0.6544 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0293/0.2228, allocations: 7.085 MB / 0.6613 GB, free: 5.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.2229, allocations: 111.8 kB / 0.6614 GB, free: 5.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.2247, allocations: 1.143 MB / 0.6625 GB, free: 4.074 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.2249, allocations: 49.7 kB / 0.6626 GB, free: 4.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.2253, allocations: 0.4969 MB / 0.6631 GB, free: 3.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.2257, allocations: 366.9 kB / 0.6634 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/0.2262, allocations: 299.4 kB / 0.6637 GB, free: 2.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.2263, allocations: 305.1 kB / 0.664 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.228, allocations: 0.7965 MB / 0.6648 GB, free: 1.758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.2298, allocations: 0.9733 MB / 0.6657 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02622/0.2561, allocations: 5.923 MB / 0.6715 GB, free: 10.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.2561, allocations: 0 / 0.6715 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01536/0.2715, allocations: 4.5 MB / 0.6759 GB, free: 6.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/0.2716, allocations: 67.33 kB / 0.676 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.2716, allocations: 4 kB / 0.676 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006659/0.2783, allocations: 1.661 MB / 0.6776 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.28, allocations: 299.6 kB / 0.6779 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3489/0.6289, allocations: 8.614 MB / 0.6863 GB, free: 50.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.6312, allocations: 209 kB / 0.6865 GB, free: 50.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.6313, allocations: 57.03 kB / 0.6866 GB, free: 50.81 MB / 494.1 MB 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.0006414/0.632, allocations: 311.7 kB / 0.6869 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.6322, allocations: 129 kB / 0.687 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/0.6469, allocations: 3.921 MB / 0.6908 GB, free: 49.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/0.6469, allocations: 5.766 kB / 0.6908 GB, free: 49.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6469, allocations: 1.328 kB / 0.6908 GB, free: 49.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.6475, allocations: 232.2 kB / 0.691 GB, free: 49.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.6478, allocations: 23.62 kB / 0.6911 GB, free: 49.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6491, allocations: 110.2 kB / 0.6912 GB, free: 49.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/0.6504, allocations: 435.2 kB / 0.6916 GB, free: 49.61 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007459/0.6578, allocations: 2.311 MB / 0.6938 GB, free: 48.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004888/0.6628, allocations: 2.339 MB / 0.6961 GB, free: 47.7 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001351/0.6641, allocations: 0.5826 MB / 0.6967 GB, free: 47.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.6655, allocations: 0.7733 MB / 0.6974 GB, free: 47.18 MB / 494.1 MB Notification: Performance of Backend: time 1.012e-06/0.6655, allocations: 3.969 kB / 0.6974 GB, free: 47.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006691/0.6722, allocations: 2.182 MB / 0.6996 GB, free: 46.25 MB / 494.1 MB Notification: Performance of SimCode: time 0.00395/0.6762, allocations: 3.069 MB / 0.7026 GB, free: 44.38 MB / 494.1 MB Notification: Performance of Templates: time 0.0318/0.708, allocations: 23.84 MB / 0.7259 GB, free: 29.69 MB / 494.1 MB 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)