Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1042/0.1042, allocations: 12.61 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.001101/0.0011, 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.329/1.329, allocations: 205.1 MB / 241.1 MB, free: 12.41 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.001424/0.001424, allocations: 192.4 kB / 291.3 MB, free: 10.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.464/0.464, allocations: 78.51 MB / 419.9 MB, free: 10.81 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.002538/0.002538, allocations: 140.7 kB / 0.4895 GB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3179, allocations: 68.12 MB / 0.556 GB, free: 21.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005497/0.3234, allocations: 6.697 MB / 0.5625 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.3269, allocations: 1.955 MB / 0.5645 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.3273, allocations: 12 kB / 0.5645 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.3279, allocations: 241.9 kB / 0.5647 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.3293, allocations: 0.8105 MB / 0.5655 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.3303, allocations: 0.6468 MB / 0.5661 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009969/0.3313, allocations: 1.64 MB / 0.5677 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.3316, allocations: 328.9 kB / 0.568 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.3322, allocations: 0.6807 MB / 0.5687 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.3328, allocations: 0.8518 MB / 0.5695 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.3329, allocations: 128 kB / 0.5697 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.3333, allocations: 259.9 kB / 0.5699 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3335, allocations: 342.6 kB / 0.5702 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.3339, allocations: 0.6913 MB / 0.5709 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.335, allocations: 1.705 MB / 0.5726 GB, free: 4.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.335, allocations: 0 / 0.5726 GB, free: 4.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.335, allocations: 4 kB / 0.5726 GB, free: 4.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.335, allocations: 0 / 0.5726 GB, free: 4.285 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007791/0.3428, allocations: 2.754 MB / 0.5753 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3428, allocations: 11.98 kB / 0.5753 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.3474, allocations: 0.7748 MB / 0.576 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3487, allocations: 0.9257 MB / 0.5769 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.349, allocations: 252.2 kB / 0.5772 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.3492, allocations: 87.91 kB / 0.5773 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3512, allocations: 1.098 MB / 0.5783 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3512, allocations: 7.875 kB / 0.5783 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.3513, allocations: 32 kB / 0.5784 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3513, allocations: 20 kB / 0.5784 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.3532, allocations: 0.9916 MB / 0.5794 GB, free: 13.16 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.006148/0.3594, allocations: 3.859 MB / 0.5831 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/0.3663, allocations: 2.395 MB / 0.5855 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.3675, allocations: 0.6849 MB / 0.5861 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.3677, allocations: 9 kB / 0.5861 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.3692, allocations: 0.8255 MB / 0.5869 GB, free: 5.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.034e-06/0.3692, allocations: 0 / 0.5869 GB, free: 5.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.02767/0.3968, allocations: 7.233 MB / 0.594 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.397, allocations: 119.8 kB / 0.5941 GB, free: 13.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.3988, allocations: 1.123 MB / 0.5952 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.3991, allocations: 45.7 kB / 0.5953 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.3995, allocations: 0.5007 MB / 0.5958 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.4, allocations: 359 kB / 0.5961 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000703/0.4007, allocations: 299.4 kB / 0.5964 GB, free: 11.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.4009, allocations: 301.1 kB / 0.5967 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.4025, allocations: 0.7769 MB / 0.5974 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.4043, allocations: 0.9576 MB / 0.5984 GB, free: 9.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02435/0.4287, allocations: 5.79 MB / 0.604 GB, free: 3.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.4287, allocations: 8 kB / 0.604 GB, free: 3.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01383/0.4425, allocations: 4.442 MB / 0.6084 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.4426, allocations: 63.34 kB / 0.6084 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4427, allocations: 4 kB / 0.6084 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005787/0.4485, allocations: 1.638 MB / 0.61 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4501, allocations: 295.5 kB / 0.6103 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/0.4704, allocations: 8.6 MB / 0.6187 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.4724, allocations: 206.6 kB / 0.6189 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/0.4728, allocations: 63.91 kB / 0.619 GB, free: 3.848 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * 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.0007875/0.4736, allocations: 304.5 kB / 0.6193 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.4739, allocations: 130.4 kB / 0.6194 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.4865, allocations: 3.904 MB / 0.6232 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.4865, allocations: 8 kB / 0.6232 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/0.4866, allocations: 8 kB / 0.6232 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.4866, allocations: 7.969 kB / 0.6232 GB, free: 15.45 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.01517/0.5018, allocations: 5.507 MB / 0.6286 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.5018, allocations: 3.938 kB / 0.6286 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.5026, allocations: 103.8 kB / 0.6287 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/0.5079, allocations: 1.583 MB / 0.6302 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.5081, allocations: 23.98 kB / 0.6303 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.5285, allocations: 9.655 MB / 0.6397 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5285, allocations: 0 / 0.6397 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.5429, allocations: 4.778 MB / 0.6444 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.5435, allocations: 231.2 kB / 0.6446 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/0.5439, allocations: 27.92 kB / 0.6446 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.5454, allocations: 107.9 kB / 0.6447 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007312/0.5462, allocations: 196.7 kB / 0.6449 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.5463, allocations: 24 kB / 0.6449 GB, free: 8.758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.5477, allocations: 0.7553 MB / 0.6457 GB, free: 7.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5477, allocations: 0 / 0.6457 GB, free: 7.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001787/0.5495, allocations: 487.5 kB / 0.6461 GB, free: 7.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003651/0.5499, allocations: 143 kB / 0.6463 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007007/0.5569, allocations: 2.593 MB / 0.6488 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5569, allocations: 0 / 0.6488 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.5612, allocations: 1.583 MB / 0.6503 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5626, allocations: 124.8 kB / 0.6505 GB, free: 2.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.5678, allocations: 2.354 MB / 0.6528 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.5687, allocations: 1.132 MB / 0.6539 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.5692, allocations: 124.1 kB / 0.654 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.5695, allocations: 75.42 kB / 0.6541 GB, free: 15.25 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5695, allocations: 0 / 0.6541 GB, free: 15.25 MB / 478.1 MB Notification: Performance of Templates: time 0.04171/0.6112, allocations: 24.17 MB / 0.6777 GB, free: 7.109 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)