Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009437/0.0009438, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.195/1.195, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008581/0.0008582, allocations: 94.03 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.967e-05, allocations: 4 kB / 491.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 69.33 MB / 0.548 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.4442, allocations: 100.6 MB / 0.6463 GB, free: 15.89 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.4444, allocations: 79.95 kB / 0.6464 GB, free: 15.81 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4643/0.9087, allocations: 70.14 MB / 0.7148 GB, free: 94.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.9087, allocations: 0 / 0.7148 GB, free: 94.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001326/0.9089, allocations: 56 kB / 0.7149 GB, free: 94.04 MB / 490.7 MB 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.01049/0.9194, allocations: 4.059 MB / 0.7189 GB, free: 89.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9194, allocations: 11.97 kB / 0.7189 GB, free: 89.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009645/0.9291, allocations: 1.611 MB / 0.7204 GB, free: 88.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.9324, allocations: 1.651 MB / 0.7221 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005208/0.9329, allocations: 0.7448 MB / 0.7228 GB, free: 85.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/0.9333, allocations: 215.9 kB / 0.723 GB, free: 85.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/0.9375, allocations: 2.576 MB / 0.7255 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.9375, allocations: 4 kB / 0.7255 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.9378, allocations: 87.98 kB / 0.7256 GB, free: 82.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.9378, allocations: 48 kB / 0.7256 GB, free: 82.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.9414, allocations: 2.328 MB / 0.7279 GB, free: 80.35 MB / 490.7 MB 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.01502/0.9564, allocations: 9.979 MB / 0.7377 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008542/0.965, allocations: 4.198 MB / 0.7418 GB, free: 65.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.9671, allocations: 1.543 MB / 0.7433 GB, free: 64.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.9674, allocations: 45.89 kB / 0.7433 GB, free: 64.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002447/0.9698, allocations: 1.803 MB / 0.7451 GB, free: 62.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 3.998e-06/0.9698, allocations: 0 / 0.7451 GB, free: 62.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03617/1.006, allocations: 12.57 MB / 0.7573 GB, free: 49.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/1.006, allocations: 180.2 kB / 0.7575 GB, free: 49.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/1.01, allocations: 1.886 MB / 0.7594 GB, free: 47.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007485/1.01, allocations: 65.7 kB / 0.7594 GB, free: 47.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/1.011, allocations: 1.212 MB / 0.7606 GB, free: 46.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009216/1.012, allocations: 0.8624 MB / 0.7614 GB, free: 45.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.012, allocations: 52 kB / 0.7615 GB, free: 45.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/1.012, allocations: 399 kB / 0.7619 GB, free: 44.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/1.014, allocations: 1.27 MB / 0.7631 GB, free: 43.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.016, allocations: 1.571 MB / 0.7647 GB, free: 41.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/1.018, allocations: 1.5 MB / 0.7661 GB, free: 40.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.018, allocations: 0 / 0.7661 GB, free: 40.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03531/1.054, allocations: 12.65 MB / 0.7785 GB, free: 27.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.054, allocations: 114.8 kB / 0.7786 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.054, allocations: 4 kB / 0.7786 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/1.07, allocations: 5.29 MB / 0.7837 GB, free: 22.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/1.073, allocations: 431.4 kB / 0.7842 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0394/1.112, allocations: 17.87 MB / 0.8016 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.116, allocations: 0.5407 MB / 0.8021 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/1.117, allocations: 91.97 kB / 0.8022 GB, free: 3.105 MB / 490.7 MB 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.001044/1.118, allocations: 289.5 kB / 0.8025 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.119, allocations: 304.2 kB / 0.8028 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03858/1.158, allocations: 12.93 MB / 0.8154 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/1.158, allocations: 28 kB / 0.8154 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-05/1.158, allocations: 20 kB / 0.8155 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-05/1.158, allocations: 11.95 kB / 0.8155 GB, free: 5.418 MB / 0.4948 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.04872/1.207, allocations: 16.47 MB / 0.8316 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/1.207, allocations: 4.062 kB / 0.8316 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.209, allocations: 251.6 kB / 0.8318 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/1.226, allocations: 5.044 MB / 0.8367 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008213/1.227, allocations: 51.98 kB / 0.8368 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04492/1.271, allocations: 19.28 MB / 0.8556 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.272, allocations: 4 kB / 0.8556 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04476/1.316, allocations: 14.9 MB / 0.8702 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.318, allocations: 420.8 kB / 0.8706 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.319, allocations: 44 kB / 0.8706 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00411/1.323, allocations: 415.6 kB / 0.871 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0026/1.326, allocations: 0.5798 MB / 0.8716 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005664/1.326, allocations: 63.98 kB / 0.8716 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002926/1.329, allocations: 1.441 MB / 0.873 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.329, allocations: 0 / 0.873 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004995/1.334, allocations: 1.123 MB / 0.8741 GB, free: 8.512 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.000764/1.335, allocations: 194.8 kB / 0.8743 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01614/1.351, allocations: 5.786 MB / 0.88 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.351, allocations: 0 / 0.88 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01372/1.365, allocations: 4.415 MB / 0.8843 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.368, allocations: 234.2 kB / 0.8845 GB, free: 13.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009903/1.377, allocations: 4.187 MB / 0.8886 GB, free: 9.461 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.379, allocations: 1.876 MB / 0.8904 GB, free: 7.555 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001228/1.38, allocations: 215.7 kB / 0.8906 GB, free: 7.34 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/1.381, allocations: 139.4 kB / 0.8908 GB, free: 7.203 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/1.381, allocations: 0 / 0.8908 GB, free: 7.203 MB / 0.573 GB Notification: Performance of Templates: time 0.344/1.725, allocations: 55.64 MB / 0.9451 GB, free: 160.1 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)