Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.0009245, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 239 MB, free: 5.43 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: 176.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4984/0.4984, allocations: 78.56 MB / 419.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.000402, allocations: 15.94 kB / 499.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 69.36 MB / 0.5558 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3218/0.496, allocations: 12.75 MB / 0.5683 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009161/0.5052, allocations: 3.43 MB / 0.5716 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.509, allocations: 36.84 kB / 0.5716 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.511, allocations: 389.6 kB / 0.572 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.5168, allocations: 1.199 MB / 0.5732 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.5204, allocations: 1.269 MB / 0.5744 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.5261, allocations: 3.34 MB / 0.5777 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.5273, allocations: 0.693 MB / 0.5784 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.5297, allocations: 1.299 MB / 0.5796 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.5314, allocations: 1.714 MB / 0.5813 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.5317, allocations: 141.1 kB / 0.5814 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.5325, allocations: 272.9 kB / 0.5817 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.5329, allocations: 0.582 MB / 0.5823 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.5335, allocations: 0.5217 MB / 0.5828 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.5359, allocations: 2.942 MB / 0.5856 GB, free: 26.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5359, allocations: 4 kB / 0.5857 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5359, allocations: 2.625 kB / 0.5857 GB, free: 26.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.536, allocations: 1.875 kB / 0.5857 GB, free: 26.59 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02087/0.5569, allocations: 6.154 MB / 0.5917 GB, free: 24.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.5569, allocations: 8.75 kB / 0.5917 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.5723, allocations: 2.296 MB / 0.5939 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.5778, allocations: 1.775 MB / 0.5957 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/0.5785, allocations: 0.7501 MB / 0.5964 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.579, allocations: 218.2 kB / 0.5966 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007271/0.5863, allocations: 3.215 MB / 0.5997 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.5864, allocations: 0 / 0.5997 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.5866, allocations: 82.39 kB / 0.5998 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.5867, allocations: 53.38 kB / 0.5999 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006929/0.5936, allocations: 2.972 MB / 0.6028 GB, free: 19.92 MB / 430.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.02104/0.6147, allocations: 10.11 MB / 0.6126 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.627, allocations: 4.858 MB / 0.6174 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005091/0.6321, allocations: 2.154 MB / 0.6195 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/0.6327, allocations: 44.08 kB / 0.6195 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006018/0.6387, allocations: 2.421 MB / 0.6219 GB, free: 9.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 9.689e-06/0.6387, allocations: 0 / 0.6219 GB, free: 9.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1225/0.7613, allocations: 36.28 MB / 0.6573 GB, free: 5.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.7615, allocations: 188.3 kB / 0.6575 GB, free: 5.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004792/0.7663, allocations: 2.263 MB / 0.6597 GB, free: 3.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008633/0.7672, allocations: 65.7 kB / 0.6598 GB, free: 2.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.7683, allocations: 1.176 MB / 0.6609 GB, free: 1.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/0.7701, allocations: 0.8665 MB / 0.6618 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008276/0.7709, allocations: 68 kB / 0.6618 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003061/0.7713, allocations: 432.7 kB / 0.6622 GB, free: 428 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/0.7762, allocations: 2.134 MB / 0.6643 GB, free: 14.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/0.7816, allocations: 2.497 MB / 0.6668 GB, free: 11.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.7874, allocations: 2.4 MB / 0.6691 GB, free: 9.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.7874, allocations: 4 kB / 0.6691 GB, free: 9.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04239/0.8298, allocations: 15.15 MB / 0.6839 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.83, allocations: 114.8 kB / 0.684 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.83, allocations: 8.688 kB / 0.684 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/0.8489, allocations: 6.361 MB / 0.6902 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/0.8522, allocations: 0.5656 MB / 0.6908 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06179/0.9141, allocations: 25.19 MB / 0.7154 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/0.9193, allocations: 0.5792 MB / 0.716 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009222/0.9202, allocations: 120 kB / 0.7161 GB, free: 8.941 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.002375/0.9226, allocations: 0.5265 MB / 0.7166 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/0.9239, allocations: 300.2 kB / 0.7169 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04008/0.964, allocations: 14.73 MB / 0.7313 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-05/0.9641, allocations: 24 kB / 0.7313 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.55e-05/0.9642, allocations: 21.12 kB / 0.7313 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/0.9643, allocations: 11.95 kB / 0.7313 GB, free: 9.273 MB / 0.5294 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.05079/1.015, allocations: 18.32 MB / 0.7492 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.015, allocations: 0 / 0.7492 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.017, allocations: 239.7 kB / 0.7494 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01883/1.036, allocations: 6.26 MB / 0.7555 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/1.037, allocations: 55.98 kB / 0.7556 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3912/1.428, allocations: 25.51 MB / 0.7805 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.428, allocations: 0 / 0.7805 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04906/1.477, allocations: 17.26 MB / 0.7974 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.479, allocations: 422.4 kB / 0.7978 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.48, allocations: 49.28 kB / 0.7978 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.483, allocations: 406.6 kB / 0.7982 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00249/1.486, allocations: 0.5859 MB / 0.7988 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.486, allocations: 65.25 kB / 0.7988 GB, free: 162 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002856/1.489, allocations: 1.485 MB / 0.8003 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.92e-07/1.489, allocations: 1.344 kB / 0.8003 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005199/1.494, allocations: 1.177 MB / 0.8014 GB, free: 161.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006166/1.495, allocations: 174.3 kB / 0.8016 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02097/1.516, allocations: 7.473 MB / 0.8089 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.516, allocations: 2.219 kB / 0.8089 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01405/1.53, allocations: 5.082 MB / 0.8139 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.533, allocations: 264.4 kB / 0.8141 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.543, allocations: 6.193 MB / 0.8202 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/1.545, allocations: 1.815 MB / 0.8219 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001406/1.547, allocations: 257.5 kB / 0.8222 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/1.547, allocations: 163.9 kB / 0.8223 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.994e-06/1.547, allocations: 4 kB / 0.8224 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08282/1.63, allocations: 56.58 MB / 0.8776 GB, free: 103.4 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: