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-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_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-master/package.mo): time 0.08043/0.08043, allocations: 12.6 MB / 28.91 MB, free: 0.6133 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.00115/0.00115, allocations: 111.5 kB / 32.51 MB, free: 3.551 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.38/1.38, 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.001722/0.001722, allocations: 199.8 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4224/0.4224, allocations: 78.52 MB / 420 MB, free: 11.27 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.002554/0.002554, allocations: 138.6 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.147, allocations: 68.13 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007201/0.1542, allocations: 6.551 MB / 0.6295 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.1588, allocations: 1.928 MB / 0.6313 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.1596, allocations: 11.94 kB / 0.6313 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.1604, allocations: 234 kB / 0.6316 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.1626, allocations: 0.8124 MB / 0.6324 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.164, allocations: 0.6229 MB / 0.633 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.1661, allocations: 1.573 MB / 0.6345 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.1666, allocations: 334.3 kB / 0.6348 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009322/0.1675, allocations: 0.6535 MB / 0.6355 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009064/0.1685, allocations: 0.8206 MB / 0.6363 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.1687, allocations: 124 kB / 0.6364 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.1692, allocations: 259.8 kB / 0.6366 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.1695, allocations: 326.7 kB / 0.6369 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000533/0.17, allocations: 0.6757 MB / 0.6376 GB, free: 484 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.1719, allocations: 1.658 MB / 0.6392 GB, free: 14.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.172, allocations: 4 kB / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.172, allocations: 0 / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.853e-05/0.172, allocations: 0 / 0.6392 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009089/0.1811, allocations: 2.68 MB / 0.6418 GB, free: 12.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1812, allocations: 15.98 kB / 0.6419 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.1862, allocations: 0.7749 MB / 0.6426 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.1879, allocations: 0.8901 MB / 0.6435 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.1882, allocations: 260.2 kB / 0.6437 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.1884, allocations: 84 kB / 0.6438 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.1907, allocations: 1.09 MB / 0.6449 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1908, allocations: 0 / 0.6449 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.1909, allocations: 24 kB / 0.6449 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1909, allocations: 20 kB / 0.6449 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.193, allocations: 0.9877 MB / 0.6459 GB, free: 7.812 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.006883/0.1999, allocations: 3.804 MB / 0.6496 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007498/0.2074, allocations: 2.373 MB / 0.6519 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.209, allocations: 0.6723 MB / 0.6526 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.2091, allocations: 16.98 kB / 0.6526 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.2108, allocations: 0.8138 MB / 0.6534 GB, free: 15.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.2108, allocations: 0 / 0.6534 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.0299/0.2407, allocations: 7.19 MB / 0.6604 GB, free: 8.586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.2409, allocations: 115.8 kB / 0.6605 GB, free: 8.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.2437, allocations: 1.095 MB / 0.6616 GB, free: 7.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003936/0.2442, allocations: 45.7 kB / 0.6616 GB, free: 7.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.2449, allocations: 0.489 MB / 0.6621 GB, free: 6.793 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006602/0.2455, allocations: 351.1 kB / 0.6624 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007471/0.2463, allocations: 279.4 kB / 0.6627 GB, free: 6.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2464, allocations: 305.1 kB / 0.663 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.2482, allocations: 0.7535 MB / 0.6637 GB, free: 5.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.2501, allocations: 0.9303 MB / 0.6646 GB, free: 4.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02411/0.2742, allocations: 5.552 MB / 0.6701 GB, free: 14.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.2743, allocations: 4 kB / 0.6701 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01515/0.2895, allocations: 4.356 MB / 0.6743 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/0.2896, allocations: 67.33 kB / 0.6744 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.2896, allocations: 4 kB / 0.6744 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005973/0.2956, allocations: 1.587 MB / 0.6759 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.2972, allocations: 283.6 kB / 0.6762 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/0.3188, allocations: 8.49 MB / 0.6845 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.3212, allocations: 202.6 kB / 0.6847 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/0.3216, allocations: 59.91 kB / 0.6848 GB, free: 15.26 MB / 0.4981 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: 2 ($whenCondition2,$whenCondition1) * 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 (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.001075/0.3227, allocations: 308.1 kB / 0.685 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.3232, allocations: 126.5 kB / 0.6852 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.3366, allocations: 3.873 MB / 0.689 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.3367, allocations: 8 kB / 0.689 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/0.3367, allocations: 8 kB / 0.689 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.3367, allocations: 7.922 kB / 0.689 GB, free: 10.89 MB / 0.4981 GB 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.01626/0.353, allocations: 5.452 MB / 0.6943 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/0.3531, allocations: 4 kB / 0.6943 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/0.3538, allocations: 99.83 kB / 0.6944 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005982/0.3598, allocations: 1.61 MB / 0.696 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/0.3601, allocations: 20 kB / 0.696 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/0.3822, allocations: 9.631 MB / 0.7054 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3823, allocations: 0 / 0.7054 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/0.3975, allocations: 4.735 MB / 0.71 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.3982, allocations: 219.3 kB / 0.7102 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004539/0.3986, allocations: 27.92 kB / 0.7103 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.4001, allocations: 107.9 kB / 0.7104 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000718/0.4008, allocations: 192.7 kB / 0.7105 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.401, allocations: 24 kB / 0.7106 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001375/0.4024, allocations: 0.7354 MB / 0.7113 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4024, allocations: 0 / 0.7113 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001922/0.4043, allocations: 475.5 kB / 0.7117 GB, free: 3.113 MB / 0.5137 GB 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 (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.0003855/0.4047, allocations: 135.1 kB / 0.7119 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006864/0.4116, allocations: 2.525 MB / 0.7143 GB, free: 408 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4116, allocations: 4.125 kB / 0.7143 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.3115/0.7232, allocations: 1.579 MB / 0.7159 GB, free: 86.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.7245, allocations: 117.4 kB / 0.716 GB, free: 86.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.729, allocations: 2.232 MB / 0.7182 GB, free: 85.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/0.7299, allocations: 1.122 MB / 0.7193 GB, free: 84.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.7303, allocations: 85.72 kB / 0.7193 GB, free: 84.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.7304, allocations: 3.938 kB / 0.7193 GB, free: 84.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.03793/0.7683, allocations: 23.5 MB / 0.7423 GB, free: 76.5 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (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)