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.001463/0.001463, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.381/1.381, allocations: 177.2 MB / 200.1 MB, free: 8.363 MB / 190.1 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.001659/0.001659, allocations: 161.3 kB / 256.6 MB, free: 4.281 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4667/0.4667, allocations: 59.76 MB / 372.7 MB, free: 46.8 MB / 334.1 MB " [Timeout remaining time 179] 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.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 86.62 kB / 0.5224 GB, free: 29.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1424, allocations: 73.28 MB / 0.594 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01352/0.1559, allocations: 11.59 MB / 0.6053 GB, free: 3.297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.1655, allocations: 3.43 MB / 0.6087 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.1682, allocations: 28 kB / 0.6087 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.1702, allocations: 0.5576 MB / 0.6092 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006049/0.1763, allocations: 1.569 MB / 0.6108 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.1804, allocations: 1.51 MB / 0.6122 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006647/0.1871, allocations: 3.76 MB / 0.6159 GB, free: 8.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.1884, allocations: 0.5814 MB / 0.6165 GB, free: 7.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.1914, allocations: 1.587 MB / 0.618 GB, free: 6.203 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/0.1945, allocations: 1.812 MB / 0.6198 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008807/0.1954, allocations: 284 kB / 0.6201 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.1966, allocations: 447.8 kB / 0.6205 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008511/0.1975, allocations: 0.7623 MB / 0.6212 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.1993, allocations: 1.321 MB / 0.6225 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005642/0.2049, allocations: 4.061 MB / 0.6265 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2049, allocations: 0 / 0.6265 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2049, allocations: 0 / 0.6265 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001293/0.2051, allocations: 0 / 0.6265 GB, free: 13.49 MB / 494.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.02566/0.2307, allocations: 7.374 MB / 0.6337 GB, free: 6.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2308, allocations: 8.031 kB / 0.6337 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.2468, allocations: 2.331 MB / 0.636 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00456/0.2513, allocations: 1.797 MB / 0.6377 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009087/0.2522, allocations: 0.8256 MB / 0.6385 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006622/0.2529, allocations: 220 kB / 0.6387 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/0.26, allocations: 3.081 MB / 0.6418 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.26, allocations: 0 / 0.6418 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.2603, allocations: 91.92 kB / 0.6418 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.2603, allocations: 48 kB / 0.6419 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/0.267, allocations: 2.83 MB / 0.6447 GB, free: 10.46 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02051/0.2875, allocations: 7.382 MB / 0.6519 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.2994, allocations: 3.579 MB / 0.6554 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/0.3043, allocations: 1.818 MB / 0.6571 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003545/0.3047, allocations: 37.98 kB / 0.6572 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005676/0.3103, allocations: 2.286 MB / 0.6594 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 6.031e-06/0.3104, allocations: 0 / 0.6594 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=247): time 0.1376/0.448, allocations: 29.24 MB / 0.688 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.4481, allocations: 180.2 kB / 0.6881 GB, free: 13.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004653/0.4528, allocations: 2.252 MB / 0.6903 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008079/0.4536, allocations: 69.7 kB / 0.6904 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.4549, allocations: 1.201 MB / 0.6916 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/0.4567, allocations: 0.9062 MB / 0.6925 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/0.4585, allocations: 0.5422 MB / 0.693 GB, free: 8.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4587, allocations: 309.1 kB / 0.6933 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/0.4638, allocations: 2.039 MB / 0.6953 GB, free: 6.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005904/0.4697, allocations: 2.401 MB / 0.6976 GB, free: 3.652 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06219/0.5319, allocations: 14.26 MB / 0.7115 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.5319, allocations: 0 / 0.7115 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.3754/0.9074, allocations: 12.28 MB / 0.7235 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.9075, allocations: 120.2 kB / 0.7237 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.9075, allocations: 6.938 kB / 0.7237 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02017/0.9277, allocations: 5.412 MB / 0.7289 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/0.9308, allocations: 0.5487 MB / 0.7295 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05923/0.9901, allocations: 22.79 MB / 0.7517 GB, free: 95.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/0.9947, allocations: 482.3 kB / 0.7522 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004183/0.9951, allocations: 120 kB / 0.7523 GB, free: 95.21 MB / 0.5606 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 (315): * Single equations (assignments): 310 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.9964, allocations: 0.5328 MB / 0.7528 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005899/0.9969, allocations: 306.7 kB / 0.7531 GB, free: 94.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03757/1.035, allocations: 11.87 MB / 0.7647 GB, free: 82.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.035, allocations: 24 kB / 0.7647 GB, free: 82.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.049e-05/1.035, allocations: 23.84 kB / 0.7648 GB, free: 82.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/1.035, allocations: 14.47 kB / 0.7648 GB, free: 82.42 MB / 0.5606 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.04165/1.076, allocations: 14.21 MB / 0.7787 GB, free: 68.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/1.076, allocations: 0 / 0.7787 GB, free: 68.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.078, allocations: 243.7 kB / 0.7789 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01713/1.095, allocations: 5.279 MB / 0.784 GB, free: 62.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007533/1.096, allocations: 55.98 kB / 0.7841 GB, free: 62.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05503/1.151, allocations: 24 MB / 0.8075 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.151, allocations: 0 / 0.8075 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0431/1.194, allocations: 14.29 MB / 0.8215 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.195, allocations: 346.1 kB / 0.8218 GB, free: 23.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/1.196, allocations: 40 kB / 0.8219 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.199, allocations: 299.6 kB / 0.8221 GB, free: 23.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/1.201, allocations: 0.6105 MB / 0.8227 GB, free: 22.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.201, allocations: 67.98 kB / 0.8228 GB, free: 22.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001962/1.203, allocations: 1.483 MB / 0.8243 GB, free: 21.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.203, allocations: 0 / 0.8243 GB, free: 21.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003451/1.206, allocations: 1.176 MB / 0.8254 GB, free: 19.99 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 (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.0004157/1.207, allocations: 178.7 kB / 0.8256 GB, free: 19.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01785/1.225, allocations: 6.553 MB / 0.832 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.225, allocations: 0 / 0.832 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/1.238, allocations: 4.287 MB / 0.8362 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.241, allocations: 271.7 kB / 0.8364 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/1.251, allocations: 5.43 MB / 0.8417 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.252, allocations: 1.256 MB / 0.8429 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001327/1.253, allocations: 256.5 kB / 0.8432 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/1.253, allocations: 172.4 kB / 0.8434 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/1.253, allocations: 3.938 kB / 0.8434 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of Templates: time 0.1404/1.394, allocations: 70.09 MB / 0.9118 GB, free: 11.48 MB / 0.6387 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=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.163130052038468] Failed to read output from testmodel.py, exit status != 0: 1.4031331388978288 1.420724819 1.211865298 Calling exit ...