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.07469/0.07469, allocations: 12.6 MB / 28.86 MB, free: 400 kB / 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.001115, allocations: 111.5 kB / 32.46 MB, free: 3.453 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.362/1.362, allocations: 205.1 MB / 241.1 MB, free: 12.39 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.001363/0.001363, allocations: 200.3 kB / 291.3 MB, free: 10.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4343/0.4343, allocations: 78.52 MB / 419.9 MB, free: 10.79 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.003138/0.003138, allocations: 136.7 kB / 0.4895 GB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3413, allocations: 68.12 MB / 0.556 GB, free: 21.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005972/0.3473, allocations: 6.752 MB / 0.5626 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.3513, allocations: 1.983 MB / 0.5645 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.3521, allocations: 12 kB / 0.5645 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007346/0.3529, allocations: 241.9 kB / 0.5648 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.3546, allocations: 0.818 MB / 0.5656 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3558, allocations: 0.6425 MB / 0.5662 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3571, allocations: 1.679 MB / 0.5678 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.3575, allocations: 328.8 kB / 0.5682 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.3581, allocations: 0.6769 MB / 0.5688 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.3588, allocations: 0.8713 MB / 0.5697 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.3589, allocations: 136 kB / 0.5698 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.3593, allocations: 267.9 kB / 0.5701 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.3596, allocations: 354.5 kB / 0.5704 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.36, allocations: 0.6991 MB / 0.5711 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3612, allocations: 1.728 MB / 0.5728 GB, free: 4.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3612, allocations: 0 / 0.5728 GB, free: 4.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3612, allocations: 0 / 0.5728 GB, free: 4.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.3612, allocations: 0 / 0.5728 GB, free: 4.219 MB / 382.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.007996/0.3692, allocations: 2.785 MB / 0.5755 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3693, allocations: 15.98 kB / 0.5755 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/0.374, allocations: 0.7748 MB / 0.5763 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.3755, allocations: 0.9296 MB / 0.5772 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.3758, allocations: 264.1 kB / 0.5774 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.376, allocations: 83.91 kB / 0.5775 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.3781, allocations: 1.114 MB / 0.5786 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3782, allocations: 0 / 0.5786 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.3783, allocations: 32 kB / 0.5786 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.3783, allocations: 16 kB / 0.5786 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.3803, allocations: 1.007 MB / 0.5796 GB, free: 13.03 MB / 398.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.006795/0.3871, allocations: 3.898 MB / 0.5834 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007031/0.3941, allocations: 2.403 MB / 0.5858 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.3955, allocations: 0.6965 MB / 0.5864 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3956, allocations: 20.98 kB / 0.5865 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/0.3972, allocations: 0.8372 MB / 0.5873 GB, free: 4.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.3972, allocations: 0 / 0.5873 GB, free: 4.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02722/0.4244, allocations: 7.085 MB / 0.5942 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.4245, allocations: 115.8 kB / 0.5943 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.4267, allocations: 1.139 MB / 0.5954 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.4271, allocations: 45.7 kB / 0.5955 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.4275, allocations: 0.4969 MB / 0.596 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005402/0.4281, allocations: 370.9 kB / 0.5963 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008271/0.4289, allocations: 295.4 kB / 0.5966 GB, free: 11.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.429, allocations: 301.1 kB / 0.5969 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.4307, allocations: 0.7926 MB / 0.5976 GB, free: 10.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.4325, allocations: 0.9811 MB / 0.5986 GB, free: 9.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02528/0.4578, allocations: 5.93 MB / 0.6044 GB, free: 3.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.4578, allocations: 0 / 0.6044 GB, free: 3.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01462/0.4725, allocations: 4.508 MB / 0.6088 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/0.4726, allocations: 59.41 kB / 0.6089 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4726, allocations: 0 / 0.6089 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00619/0.4788, allocations: 1.669 MB / 0.6105 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4805, allocations: 295.6 kB / 0.6108 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.5006, allocations: 8.619 MB / 0.6192 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.5028, allocations: 218.5 kB / 0.6194 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.5031, allocations: 51.98 kB / 0.6194 GB, free: 3.48 MB / 430.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.0008041/0.5039, allocations: 307.5 kB / 0.6197 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.5043, allocations: 130.4 kB / 0.6199 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5164, allocations: 3.916 MB / 0.6237 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.5165, allocations: 12 kB / 0.6237 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/0.5165, allocations: 12 kB / 0.6237 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.5165, allocations: 7.922 kB / 0.6237 GB, free: 15.07 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01486/0.5314, allocations: 5.55 MB / 0.6291 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5315, allocations: 0 / 0.6291 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.5322, allocations: 103.9 kB / 0.6292 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005228/0.5375, allocations: 1.603 MB / 0.6308 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.5377, allocations: 23.94 kB / 0.6308 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/0.5575, allocations: 9.613 MB / 0.6402 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5576, allocations: 0 / 0.6402 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.5719, allocations: 4.809 MB / 0.6449 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.5725, allocations: 227.2 kB / 0.6451 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/0.573, allocations: 19.94 kB / 0.6451 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.5746, allocations: 119.9 kB / 0.6453 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007264/0.5753, allocations: 204.6 kB / 0.6455 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.5755, allocations: 24 kB / 0.6455 GB, free: 8.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.5769, allocations: 0.7712 MB / 0.6462 GB, free: 7.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5769, allocations: 0 / 0.6462 GB, free: 7.543 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001891/0.5788, allocations: 491.5 kB / 0.6467 GB, free: 7.062 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.5792, allocations: 140.5 kB / 0.6468 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.5857, allocations: 2.624 MB / 0.6494 GB, free: 4.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5857, allocations: 0 / 0.6494 GB, free: 4.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/0.5899, allocations: 1.612 MB / 0.651 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5911, allocations: 123.5 kB / 0.6511 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.5957, allocations: 2.418 MB / 0.6534 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.5964, allocations: 1.136 MB / 0.6546 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004702/0.5969, allocations: 124.3 kB / 0.6547 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.5973, allocations: 83.41 kB / 0.6548 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5973, allocations: 0 / 0.6548 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Templates: time 0.03873/0.636, allocations: 24.47 MB / 0.6787 GB, free: 6.223 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)