Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001361/0.001361, allocations: 174.5 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.172/1.172, 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.0008428/0.0008428, allocations: 89.02 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4192/0.4192, allocations: 78.02 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.422e-05, allocations: 3.984 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 69.35 MB / 0.548 GB, free: 20.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.391, allocations: 100.6 MB / 0.6462 GB, free: 15.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.3913, allocations: 79.95 kB / 0.6463 GB, free: 15.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4255/0.8169, allocations: 70.13 MB / 0.7148 GB, free: 93.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.8169, allocations: 0 / 0.7148 GB, free: 93.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.817, allocations: 60 kB / 0.7149 GB, free: 93.81 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.0107/0.8277, allocations: 4.055 MB / 0.7188 GB, free: 89.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.8278, allocations: 15.97 kB / 0.7188 GB, free: 89.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009105/0.8369, allocations: 1.611 MB / 0.7204 GB, free: 88.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.8395, allocations: 1.647 MB / 0.722 GB, free: 86.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/0.84, allocations: 0.7448 MB / 0.7227 GB, free: 85.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.8403, allocations: 211.9 kB / 0.7229 GB, free: 85.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.8441, allocations: 2.587 MB / 0.7255 GB, free: 82.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.8442, allocations: 0 / 0.7255 GB, free: 82.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.8444, allocations: 84 kB / 0.7256 GB, free: 82.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.8444, allocations: 48 kB / 0.7256 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.8478, allocations: 2.336 MB / 0.7279 GB, free: 80.12 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.014/0.8618, allocations: 9.971 MB / 0.7376 GB, free: 69.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00851/0.8704, allocations: 4.202 MB / 0.7417 GB, free: 65.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.8727, allocations: 1.539 MB / 0.7432 GB, free: 63.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.873, allocations: 49.83 kB / 0.7433 GB, free: 63.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002461/0.8755, allocations: 1.803 MB / 0.745 GB, free: 61.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.127e-06/0.8755, allocations: 0 / 0.745 GB, free: 61.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03499/0.9105, allocations: 12.57 MB / 0.7573 GB, free: 49.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.9106, allocations: 188.2 kB / 0.7575 GB, free: 49.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.9129, allocations: 1.875 MB / 0.7593 GB, free: 47.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003517/0.9132, allocations: 73.69 kB / 0.7594 GB, free: 47.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/0.9138, allocations: 1.212 MB / 0.7606 GB, free: 45.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00063/0.9145, allocations: 0.8546 MB / 0.7614 GB, free: 45.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.9146, allocations: 56.06 kB / 0.7615 GB, free: 45.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.9147, allocations: 403 kB / 0.7618 GB, free: 44.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.9166, allocations: 1.266 MB / 0.7631 GB, free: 43.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.9186, allocations: 1.571 MB / 0.7646 GB, free: 41.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.9206, allocations: 1.5 MB / 0.7661 GB, free: 40.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9207, allocations: 0 / 0.7661 GB, free: 40.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.0362/0.9569, allocations: 12.65 MB / 0.7784 GB, free: 27.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.957, allocations: 122.8 kB / 0.7785 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.957, allocations: 4 kB / 0.7786 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01531/0.9723, allocations: 5.282 MB / 0.7837 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.9746, allocations: 431.4 kB / 0.7841 GB, free: 21.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03491/1.01, allocations: 17.87 MB / 0.8016 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/1.013, allocations: 0.5368 MB / 0.8021 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/1.014, allocations: 91.97 kB / 0.8022 GB, free: 2.887 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.0005279/1.014, allocations: 297.5 kB / 0.8025 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/1.015, allocations: 312.2 kB / 0.8028 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03752/1.052, allocations: 12.93 MB / 0.8154 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/1.052, allocations: 24 kB / 0.8154 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/1.052, allocations: 23.94 kB / 0.8154 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.918e-05/1.052, allocations: 11.95 kB / 0.8155 GB, free: 5.188 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.04241/1.095, allocations: 16.47 MB / 0.8315 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.095, allocations: 0 / 0.8315 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.096, allocations: 251.6 kB / 0.8318 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01566/1.112, allocations: 5.041 MB / 0.8367 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003365/1.112, allocations: 55.98 kB / 0.8368 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03968/1.152, allocations: 19.29 MB / 0.8556 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.152, allocations: 0 / 0.8556 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0421/1.194, allocations: 14.9 MB / 0.8701 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000947/1.195, allocations: 420.8 kB / 0.8705 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006123/1.196, allocations: 48 kB / 0.8706 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/1.199, allocations: 411.6 kB / 0.871 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/1.201, allocations: 0.572 MB / 0.8715 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.201, allocations: 71.98 kB / 0.8716 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002209/1.203, allocations: 1.438 MB / 0.873 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.203, allocations: 0 / 0.873 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002937/1.206, allocations: 1.12 MB / 0.8741 GB, free: 8.289 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.207, allocations: 198.9 kB / 0.8743 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.222, allocations: 5.78 MB / 0.8799 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.222, allocations: 0 / 0.8799 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01206/1.234, allocations: 4.413 MB / 0.8843 GB, free: 13.72 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.235, allocations: 227.9 kB / 0.8845 GB, free: 13.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007843/1.243, allocations: 4.191 MB / 0.8886 GB, free: 9.246 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/1.244, allocations: 1.88 MB / 0.8904 GB, free: 7.336 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009714/1.245, allocations: 215.7 kB / 0.8906 GB, free: 7.121 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/1.246, allocations: 143.4 kB / 0.8907 GB, free: 6.98 MB / 0.573 GB Notification: Performance of SimCode: time 5e-07/1.246, allocations: 0 / 0.8907 GB, free: 6.98 MB / 0.573 GB Notification: Performance of Templates: time 0.309/1.555, allocations: 55.64 MB / 0.9451 GB, free: 159.1 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)