Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.5 MB / 229.6 MB, free: 7.535 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.0008504/0.0008505, allocations: 96.19 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.713/0.713, allocations: 78.95 MB / 410.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.18e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1838, allocations: 69.51 MB / 0.5424 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.679, allocations: 100.6 MB / 0.6406 GB, free: 13.58 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.6793, allocations: 76.53 kB / 0.6407 GB, free: 13.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.8613, allocations: 70.12 MB / 0.7092 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8614, allocations: 0 / 0.7092 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000153/0.8615, allocations: 59.94 kB / 0.7093 GB, free: 7.211 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01223/0.8738, allocations: 4.049 MB / 0.7132 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8738, allocations: 12.72 kB / 0.7132 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.884, allocations: 1.6 MB / 0.7148 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.8878, allocations: 1.654 MB / 0.7164 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007169/0.8885, allocations: 0.6744 MB / 0.7171 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004311/0.8889, allocations: 123.9 kB / 0.7172 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004108/0.8931, allocations: 2.23 MB / 0.7193 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004126/0.8972, allocations: 2.282 MB / 0.7216 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.8973, allocations: 0 / 0.7216 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.8975, allocations: 8.797 kB / 0.7216 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.8975, allocations: 52 kB / 0.7216 GB, free: 10.19 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0182/0.9157, allocations: 9.632 MB / 0.731 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009393/0.9251, allocations: 4.107 MB / 0.7351 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.9274, allocations: 1.473 MB / 0.7365 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.9276, allocations: 41.88 kB / 0.7365 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00267/0.9303, allocations: 1.729 MB / 0.7382 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 3.636e-06/0.9303, allocations: 4 kB / 0.7382 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03829/0.9686, allocations: 12.35 MB / 0.7503 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.9688, allocations: 181.8 kB / 0.7505 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.9716, allocations: 1.725 MB / 0.7521 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/0.9722, allocations: 33.64 kB / 0.7522 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/0.9731, allocations: 1.208 MB / 0.7534 GB, free: 9.059 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009443/0.9741, allocations: 0.8273 MB / 0.7542 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.9743, allocations: 0 / 0.7542 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.9745, allocations: 407.1 kB / 0.7545 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.9765, allocations: 1.212 MB / 0.7557 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.9787, allocations: 1.511 MB / 0.7572 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.9809, allocations: 1.336 MB / 0.7585 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.9809, allocations: 4 kB / 0.7585 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.3505/1.331, allocations: 12.3 MB / 0.7705 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/1.332, allocations: 110.8 kB / 0.7706 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/1.332, allocations: 8.438 kB / 0.7706 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/1.347, allocations: 4.995 MB / 0.7755 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.35, allocations: 432.2 kB / 0.7759 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03883/1.389, allocations: 17.54 MB / 0.7931 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004382/1.393, allocations: 0.4895 MB / 0.7935 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004025/1.393, allocations: 91.52 kB / 0.7936 GB, free: 111.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006812/1.394, allocations: 211 kB / 0.7938 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/1.395, allocations: 296 kB / 0.7941 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03969/1.434, allocations: 12.63 MB / 0.8064 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.435, allocations: 31.25 kB / 0.8065 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.435, allocations: 16.59 kB / 0.8065 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/1.435, allocations: 16.06 kB / 0.8065 GB, free: 110.4 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.03795/1.473, allocations: 15.97 MB / 0.8221 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.473, allocations: 4.938 kB / 0.8221 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.474, allocations: 248.1 kB / 0.8223 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01421/1.489, allocations: 4.997 MB / 0.8272 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007342/1.489, allocations: 15.69 kB / 0.8272 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03332/1.523, allocations: 18.98 MB / 0.8458 GB, free: 98.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.523, allocations: 0.75 kB / 0.8458 GB, free: 98.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03672/1.559, allocations: 14.62 MB / 0.8601 GB, free: 93.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/1.56, allocations: 409.4 kB / 0.8604 GB, free: 93.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005819/1.561, allocations: 4 kB / 0.8604 GB, free: 93.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.564, allocations: 375.8 kB / 0.8608 GB, free: 92.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/1.566, allocations: 0.5795 MB / 0.8614 GB, free: 92.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/1.566, allocations: 67.94 kB / 0.8614 GB, free: 92.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001566/1.568, allocations: 1.295 MB / 0.8627 GB, free: 91.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-07/1.568, allocations: 0.8438 kB / 0.8627 GB, free: 91.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003518/1.571, allocations: 1.013 MB / 0.8637 GB, free: 90.32 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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.0004391/1.572, allocations: 140.9 kB / 0.8638 GB, free: 90.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01324/1.585, allocations: 5.603 MB / 0.8693 GB, free: 85.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.585, allocations: 0 / 0.8693 GB, free: 85.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/1.596, allocations: 4.301 MB / 0.8735 GB, free: 81.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/1.598, allocations: 192.8 kB / 0.8737 GB, free: 81.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/1.605, allocations: 4.084 MB / 0.8777 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/1.606, allocations: 1.874 MB / 0.8795 GB, free: 75.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009239/1.607, allocations: 211.9 kB / 0.8797 GB, free: 75.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/1.607, allocations: 134.7 kB / 0.8798 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/1.607, allocations: 0 / 0.8798 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.06301/1.67, allocations: 51.35 MB / 0.93 GB, free: 33.64 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)