Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07387/0.07387, allocations: 12.21 MB / 27.16 MB, free: 108 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.0009795/0.0009795, allocations: 110.9 kB / 30.67 MB, free: 6.422 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.407/1.407, allocations: 205.4 MB / 239.5 MB, free: 10.67 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.001238/0.001238, allocations: 189.9 kB / 290.6 MB, free: 8.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4123/0.4123, allocations: 78.5 MB / 420.1 MB, free: 6.602 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.001383/0.001383, allocations: 33.53 kB / 0.4894 GB, free: 37.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1548, allocations: 69.25 MB / 0.557 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005748/0.1606, allocations: 5.732 MB / 0.5626 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.1647, allocations: 1.91 MB / 0.5645 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1659, allocations: 12 kB / 0.5645 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.1667, allocations: 162.7 kB / 0.5646 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1686, allocations: 0.7125 MB / 0.5653 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1697, allocations: 0.5256 MB / 0.5659 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1707, allocations: 0.9864 MB / 0.5668 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.1711, allocations: 265.8 kB / 0.5671 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.1717, allocations: 0.5603 MB / 0.5676 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006685/0.1724, allocations: 0.7118 MB / 0.5683 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1725, allocations: 60 kB / 0.5684 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.1728, allocations: 175.8 kB / 0.5685 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.1731, allocations: 250.9 kB / 0.5688 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1733, allocations: 229 kB / 0.569 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009329/0.1742, allocations: 1.181 MB / 0.5701 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1742, allocations: 0 / 0.5701 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1742, allocations: 0 / 0.5701 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1742, allocations: 4 kB / 0.5702 GB, free: 11.37 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007796/0.182, allocations: 2.505 MB / 0.5726 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1821, allocations: 15.98 kB / 0.5726 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004737/0.1868, allocations: 0.7826 MB / 0.5734 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1883, allocations: 0.8444 MB / 0.5742 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.1886, allocations: 276.1 kB / 0.5745 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.1887, allocations: 87.91 kB / 0.5745 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.1907, allocations: 1.129 MB / 0.5757 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1908, allocations: 4 kB / 0.5757 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.1909, allocations: 31.94 kB / 0.5757 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1909, allocations: 20 kB / 0.5757 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.1928, allocations: 1.042 MB / 0.5767 GB, free: 4.465 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.006225/0.199, allocations: 4.099 MB / 0.5807 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007586/0.2066, allocations: 2.903 MB / 0.5836 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/0.2067, allocations: 16.98 kB / 0.5836 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.2083, allocations: 0.8646 MB / 0.5844 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 4.448e-06/0.2083, allocations: 4 kB / 0.5844 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.02978/0.2381, allocations: 8.766 MB / 0.593 GB, free: 3.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.2382, allocations: 111.8 kB / 0.5931 GB, free: 3.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.2404, allocations: 1.083 MB / 0.5942 GB, free: 2.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.2407, allocations: 45.7 kB / 0.5942 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.2412, allocations: 0.4889 MB / 0.5947 GB, free: 1.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/0.2417, allocations: 339.2 kB / 0.595 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2419, allocations: 28 kB / 0.595 GB, free: 1.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2421, allocations: 369.8 kB / 0.5954 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.2438, allocations: 0.8121 MB / 0.5962 GB, free: 96 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.2457, allocations: 0.9851 MB / 0.5971 GB, free: 15.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.2478, allocations: 0.9502 MB / 0.5981 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.2478, allocations: 0 / 0.5981 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0147/0.2625, allocations: 5.137 MB / 0.6031 GB, free: 8.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.2626, allocations: 59.41 kB / 0.6031 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.2627, allocations: 7.938 kB / 0.6031 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006308/0.269, allocations: 1.911 MB / 0.605 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.2704, allocations: 291.6 kB / 0.6053 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.2911, allocations: 9.487 MB / 0.6145 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.2932, allocations: 234.7 kB / 0.6148 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.2935, allocations: 55.97 kB / 0.6148 GB, free: 12.75 MB / 446.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008402/0.2944, allocations: 307.8 kB / 0.6151 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.2947, allocations: 130.5 kB / 0.6152 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.308, allocations: 4.709 MB / 0.6198 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.308, allocations: 8 kB / 0.6198 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/0.308, allocations: 15.98 kB / 0.6199 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/0.3081, allocations: 3.984 kB / 0.6199 GB, free: 7.539 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.0153/0.3234, allocations: 6.34 MB / 0.6261 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.3234, allocations: 4 kB / 0.6261 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.324, allocations: 103.9 kB / 0.6262 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005652/0.3297, allocations: 1.876 MB / 0.628 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.3298, allocations: 27.98 kB / 0.628 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.3502, allocations: 10.12 MB / 0.6379 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3503, allocations: 4 kB / 0.6379 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.3655, allocations: 5.646 MB / 0.6434 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.3661, allocations: 231.2 kB / 0.6436 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/0.3666, allocations: 19.95 kB / 0.6437 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.3681, allocations: 147.9 kB / 0.6438 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006738/0.3688, allocations: 196.7 kB / 0.644 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.3689, allocations: 24 kB / 0.644 GB, free: 14.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.3702, allocations: 0.7315 MB / 0.6447 GB, free: 13.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3702, allocations: 0 / 0.6447 GB, free: 13.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001874/0.3721, allocations: 475.5 kB / 0.6452 GB, free: 13.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.3724, allocations: 123.2 kB / 0.6453 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00627/0.3787, allocations: 2.759 MB / 0.648 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.3788, allocations: 0 / 0.648 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004696/0.3835, allocations: 1.826 MB / 0.6498 GB, free: 8.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.3847, allocations: 88.58 kB / 0.6499 GB, free: 8.262 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.3895, allocations: 2.59 MB / 0.6524 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.3904, allocations: 1.147 MB / 0.6535 GB, free: 4.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.391, allocations: 124 kB / 0.6536 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.3913, allocations: 75.42 kB / 0.6537 GB, free: 4.277 MB / 478.1 MB Notification: Performance of SimCode: time 1.703e-06/0.3913, allocations: 0 / 0.6537 GB, free: 4.277 MB / 478.1 MB Notification: Performance of Templates: time 0.273/0.6643, allocations: 21.3 MB / 0.6745 GB, free: 91.01 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: