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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 163.7 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5024/0.5024, allocations: 80.26 MB / 393 MB, free: 2.219 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 489.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.523e-05/4.701e-05, allocations: 8.781 kB / 489.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01733/0.01738, allocations: 12.73 MB / 0.4901 GB, free: 15.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009671/0.02705, allocations: 3.473 MB / 0.4935 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.03022, allocations: 31.94 kB / 0.4935 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.03258, allocations: 0.5503 MB / 0.4941 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.03908, allocations: 1.608 MB / 0.4956 GB, free: 9.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.04386, allocations: 1.532 MB / 0.4971 GB, free: 7.949 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007356/0.05121, allocations: 3.728 MB / 0.5008 GB, free: 4.207 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.05288, allocations: 0.5814 MB / 0.5013 GB, free: 3.566 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.05829, allocations: 2.127 MB / 0.5034 GB, free: 1.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.06157, allocations: 1.569 MB / 0.505 GB, free: 15.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.0627, allocations: 284 kB / 0.5052 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.06428, allocations: 447.7 kB / 0.5057 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000882/0.06516, allocations: 0.7778 MB / 0.5064 GB, free: 14.36 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.06701, allocations: 1.086 MB / 0.5075 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009162/0.07617, allocations: 4.107 MB / 0.5115 GB, free: 9.148 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.07619, allocations: 4 kB / 0.5115 GB, free: 9.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.07619, allocations: 0 / 0.5115 GB, free: 9.145 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001983/0.07639, allocations: 0 / 0.5115 GB, free: 9.145 MB / 442.7 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.02977/0.1062, allocations: 8.132 MB / 0.5194 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.1062, allocations: 8.031 kB / 0.5194 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.1227, allocations: 2.725 MB / 0.5221 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.1277, allocations: 1.823 MB / 0.5239 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/0.1289, allocations: 0.8177 MB / 0.5247 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000809/0.1297, allocations: 216 kB / 0.5249 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007192/0.1369, allocations: 3.081 MB / 0.5279 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.137, allocations: 0 / 0.5279 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.1372, allocations: 88 kB / 0.528 GB, free: 7.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.1373, allocations: 48 kB / 0.528 GB, free: 7.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006421/0.1437, allocations: 2.686 MB / 0.5306 GB, free: 5.078 MB / 458.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.02113/0.1648, allocations: 8.055 MB / 0.5385 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.1749, allocations: 3.125 MB / 0.5416 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/0.18, allocations: 1.792 MB / 0.5433 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/0.1805, allocations: 49.98 kB / 0.5434 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006458/0.1869, allocations: 2.278 MB / 0.5456 GB, free: 5.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 6.402e-06/0.1869, allocations: 4 kB / 0.5456 GB, free: 5.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.1248/0.3117, allocations: 25.82 MB / 0.5708 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.3119, allocations: 184.2 kB / 0.571 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005096/0.317, allocations: 2.641 MB / 0.5736 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007552/0.3178, allocations: 69.7 kB / 0.5736 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.3193, allocations: 1.356 MB / 0.5749 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001889/0.3212, allocations: 0.961 MB / 0.5759 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.3227, allocations: 0.6431 MB / 0.5765 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.3229, allocations: 480.8 kB / 0.577 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004843/0.3278, allocations: 1.914 MB / 0.5788 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005988/0.3338, allocations: 2.437 MB / 0.5812 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01724/0.351, allocations: 6.882 MB / 0.5879 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.351, allocations: 11.94 kB / 0.588 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.2663/0.6173, allocations: 11.07 MB / 0.5988 GB, free: 154 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.6174, allocations: 112.2 kB / 0.5989 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.6174, allocations: 14.06 kB / 0.5989 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03128/0.6487, allocations: 6.678 MB / 0.6054 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/0.6523, allocations: 0.5544 MB / 0.6059 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05824/0.7105, allocations: 22.04 MB / 0.6275 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/0.7149, allocations: 406.1 kB / 0.6279 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/0.7153, allocations: 117.5 kB / 0.628 GB, free: 146.4 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00133/0.7167, allocations: 0.5638 MB / 0.6285 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008536/0.7175, allocations: 390.8 kB / 0.6289 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03423/0.7517, allocations: 10.53 MB / 0.6392 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/0.7518, allocations: 28 kB / 0.6392 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.298e-05/0.7518, allocations: 20 kB / 0.6392 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.508e-05/0.7519, allocations: 11.11 kB / 0.6392 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0388/0.7907, allocations: 13.42 MB / 0.6523 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.7907, allocations: 8.047 kB / 0.6523 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.7923, allocations: 242.8 kB / 0.6526 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02918/0.8215, allocations: 6.589 MB / 0.659 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008805/0.8224, allocations: 51.98 kB / 0.6591 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04967/0.8721, allocations: 24.53 MB / 0.683 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8721, allocations: 0.7031 kB / 0.683 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03801/0.9101, allocations: 12.96 MB / 0.6957 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.9111, allocations: 345.6 kB / 0.696 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/0.9118, allocations: 47.98 kB / 0.696 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/0.9145, allocations: 223.7 kB / 0.6963 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001768/0.9163, allocations: 0.6073 MB / 0.6969 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.9165, allocations: 63.98 kB / 0.6969 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001915/0.9184, allocations: 1.6 MB / 0.6985 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.9184, allocations: 0 / 0.6985 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003457/0.9218, allocations: 1.172 MB / 0.6996 GB, free: 80.49 MB / 0.5105 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004819/0.9223, allocations: 173 kB / 0.6998 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01528/0.9376, allocations: 6.424 MB / 0.7061 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.9376, allocations: 0 / 0.7061 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01171/0.9493, allocations: 4.257 MB / 0.7102 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/0.9525, allocations: 334.6 kB / 0.7105 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.9663, allocations: 5.347 MB / 0.7158 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.9677, allocations: 1.249 MB / 0.717 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001639/0.9693, allocations: 262.2 kB / 0.7172 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008551/0.9701, allocations: 180.5 kB / 0.7174 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.933e-06/0.9701, allocations: 0 / 0.7174 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.1203/1.09, allocations: 73.53 MB / 0.7892 GB, free: 4.699 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.111577495001256]