Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 176.4 kB / 15.78 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 239.8 MB, free: 1.711 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 98.72 kB / 290.9 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5233/0.5233, allocations: 78.62 MB / 420.7 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 8 kB / 0.4888 GB, free: 2.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3904, allocations: 69.34 MB / 0.5565 GB, free: 39.01 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006473/0.3969, allocations: 5.951 MB / 0.5623 GB, free: 37.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.4016, allocations: 1.905 MB / 0.5642 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.4029, allocations: 10.38 kB / 0.5642 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.4038, allocations: 173 kB / 0.5643 GB, free: 36.37 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.4065, allocations: 0.6593 MB / 0.565 GB, free: 35.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.4081, allocations: 0.5186 MB / 0.5655 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.4107, allocations: 1.409 MB / 0.5669 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/0.4113, allocations: 262.4 kB / 0.5671 GB, free: 34.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.4125, allocations: 0.5588 MB / 0.5677 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.4138, allocations: 0.7215 MB / 0.5684 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.4141, allocations: 63.5 kB / 0.5684 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.4148, allocations: 190.1 kB / 0.5686 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.415, allocations: 257.5 kB / 0.5689 GB, free: 34.13 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.4153, allocations: 224.8 kB / 0.5691 GB, free: 33.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4166, allocations: 1.221 MB / 0.5703 GB, free: 33.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4166, allocations: 3.938 kB / 0.5703 GB, free: 33.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4166, allocations: 6.875 kB / 0.5703 GB, free: 33.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.4166, allocations: 0 / 0.5703 GB, free: 33.62 MB / 426.7 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.00805/0.4247, allocations: 2.508 MB / 0.5727 GB, free: 32.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4247, allocations: 9.312 kB / 0.5727 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/0.4297, allocations: 0.7879 MB / 0.5735 GB, free: 32.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.4313, allocations: 0.8472 MB / 0.5743 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4316, allocations: 262.2 kB / 0.5746 GB, free: 31.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.4317, allocations: 90.59 kB / 0.5747 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.4339, allocations: 1.134 MB / 0.5758 GB, free: 31.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.4339, allocations: 1.031 kB / 0.5758 GB, free: 31.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-05/0.434, allocations: 29.75 kB / 0.5758 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.4341, allocations: 22.2 kB / 0.5758 GB, free: 31.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.4359, allocations: 1.047 MB / 0.5769 GB, free: 30.74 MB / 426.7 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.00595/0.4419, allocations: 3.891 MB / 0.5807 GB, free: 28.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007618/0.4495, allocations: 2.907 MB / 0.5835 GB, free: 27.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.451, allocations: 0.7328 MB / 0.5842 GB, free: 27.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.547e-05/0.4511, allocations: 17.89 kB / 0.5842 GB, free: 27.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.4527, allocations: 0.8742 MB / 0.5851 GB, free: 27.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.635e-06/0.4527, allocations: 0 / 0.5851 GB, free: 27.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.03017/0.4829, allocations: 8.766 MB / 0.5936 GB, free: 25.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4829, allocations: 114.1 kB / 0.5937 GB, free: 25.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.4846, allocations: 1.081 MB / 0.5948 GB, free: 24.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.4848, allocations: 42.61 kB / 0.5948 GB, free: 24.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.4852, allocations: 493.2 kB / 0.5953 GB, free: 24.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.4855, allocations: 352.1 kB / 0.5956 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.4856, allocations: 34.34 kB / 0.5957 GB, free: 24.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.4857, allocations: 361.3 kB / 0.596 GB, free: 23.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.4873, allocations: 0.8124 MB / 0.5968 GB, free: 23.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.4891, allocations: 0.9814 MB / 0.5978 GB, free: 23.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.4909, allocations: 0.9451 MB / 0.5987 GB, free: 22.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.491, allocations: 5.625 kB / 0.5987 GB, free: 22.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01563/0.5066, allocations: 5.14 MB / 0.6037 GB, free: 21.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.5067, allocations: 64.89 kB / 0.6038 GB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.5067, allocations: 2.812 kB / 0.6038 GB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/0.5136, allocations: 1.908 MB / 0.6057 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.5152, allocations: 291.6 kB / 0.6059 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.5349, allocations: 9.072 MB / 0.6148 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.5368, allocations: 234.7 kB / 0.615 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.5371, allocations: 56.16 kB / 0.6151 GB, free: 13.85 MB / 426.7 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.0005997/0.5377, allocations: 304.2 kB / 0.6154 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.538, allocations: 130.4 kB / 0.6155 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.5507, allocations: 4.709 MB / 0.6201 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.5508, allocations: 12 kB / 0.6201 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.5508, allocations: 11.95 kB / 0.6201 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.5508, allocations: 3.984 kB / 0.6201 GB, free: 8.645 MB / 426.7 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.0146/0.5654, allocations: 6.291 MB / 0.6263 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5655, allocations: 0 / 0.6263 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.5661, allocations: 107.8 kB / 0.6264 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.5715, allocations: 1.887 MB / 0.6282 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.5717, allocations: 23.98 kB / 0.6282 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.592, allocations: 9.664 MB / 0.6377 GB, free: 6.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.592, allocations: 0 / 0.6377 GB, free: 6.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/0.6083, allocations: 5.631 MB / 0.6432 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.6088, allocations: 219.4 kB / 0.6434 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.6092, allocations: 24.09 kB / 0.6434 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.6105, allocations: 143.8 kB / 0.6435 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005563/0.6111, allocations: 200.6 kB / 0.6437 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6112, allocations: 32.06 kB / 0.6437 GB, free: 15.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001187/0.6124, allocations: 0.7198 MB / 0.6445 GB, free: 15.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6124, allocations: 0 / 0.6445 GB, free: 15.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001645/0.6141, allocations: 475.5 kB / 0.6449 GB, free: 14.79 MB / 458.7 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.0002872/0.6144, allocations: 131.8 kB / 0.645 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006715/0.6211, allocations: 2.777 MB / 0.6477 GB, free: 11.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6211, allocations: 0 / 0.6477 GB, free: 11.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004765/0.6259, allocations: 1.799 MB / 0.6495 GB, free: 9.996 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6272, allocations: 113.1 kB / 0.6496 GB, free: 9.887 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.6316, allocations: 2.627 MB / 0.6522 GB, free: 7.234 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.6323, allocations: 1.12 MB / 0.6533 GB, free: 6.086 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.6327, allocations: 83.41 kB / 0.6533 GB, free: 6.004 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6327, allocations: 0 / 0.6533 GB, free: 6.004 MB / 458.7 MB Notification: Performance of Templates: time 0.03252/0.6652, allocations: 23.36 MB / 0.6762 GB, free: 14.64 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)