Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.001392/0.001392, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.51/1.51, allocations: 230.6 MB / 252.7 MB, free: 14.25 MB / 206.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.001603/0.001603, allocations: 216.3 kB / 309.2 MB, free: 3.129 MB / 238.1 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.6421/0.6421, allocations: 107.2 MB / 472.8 MB, free: 29.88 MB / 350.1 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.002803/0.002803, allocations: 80.83 kB / 0.6336 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1382, allocations: 80.15 MB / 0.7118 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.0148/0.153, allocations: 11.86 MB / 0.7234 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.1612, allocations: 3.481 MB / 0.7268 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.1632, allocations: 31.94 kB / 0.7268 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.1657, allocations: 0.5615 MB / 0.7274 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.171, allocations: 1.591 MB / 0.7289 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.1751, allocations: 1.523 MB / 0.7304 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00569/0.1807, allocations: 3.862 MB / 0.7342 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.1821, allocations: 0.5738 MB / 0.7348 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.1849, allocations: 1.626 MB / 0.7364 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.188, allocations: 1.85 MB / 0.7382 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009281/0.1889, allocations: 299.9 kB / 0.7384 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1903, allocations: 459.8 kB / 0.7389 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009546/0.1913, allocations: 0.7857 MB / 0.7397 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.1929, allocations: 1.348 MB / 0.741 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.1978, allocations: 4.127 MB / 0.745 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1978, allocations: 0 / 0.745 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1978, allocations: 4 kB / 0.745 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.346e-05/0.1979, allocations: 0 / 0.745 GB, free: 4.996 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02582/0.2237, allocations: 7.485 MB / 0.7523 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2237, allocations: 12.03 kB / 0.7523 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.2399, allocations: 2.324 MB / 0.7546 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/0.2443, allocations: 1.84 MB / 0.7564 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009442/0.2452, allocations: 0.8257 MB / 0.7572 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006157/0.2458, allocations: 220 kB / 0.7574 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007088/0.2529, allocations: 3.109 MB / 0.7604 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.253, allocations: 0 / 0.7604 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.2532, allocations: 83.94 kB / 0.7605 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.2533, allocations: 52 kB / 0.7606 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/0.2602, allocations: 2.838 MB / 0.7633 GB, free: 1.785 MB / 0.5294 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.02138/0.2816, allocations: 7.47 MB / 0.7706 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/0.2933, allocations: 3.606 MB / 0.7742 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/0.2979, allocations: 1.842 MB / 0.776 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.2982, allocations: 37.98 kB / 0.776 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005302/0.3035, allocations: 2.31 MB / 0.7783 GB, free: 2.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=250): time 5.761e-06/0.3035, allocations: 0 / 0.7783 GB, free: 2.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=250): time 0.1335/0.437, allocations: 28.6 MB / 0.8062 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.4372, allocations: 184.2 kB / 0.8064 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.4412, allocations: 2.292 MB / 0.8086 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008629/0.4421, allocations: 69.7 kB / 0.8087 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.4434, allocations: 1.193 MB / 0.8098 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.4448, allocations: 0.9257 MB / 0.8107 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.446, allocations: 0.5581 MB / 0.8113 GB, free: 280 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.3035/0.7494, allocations: 301.1 kB / 0.8116 GB, free: 86.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005472/0.7549, allocations: 2.068 MB / 0.8136 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005208/0.7601, allocations: 2.446 MB / 0.816 GB, free: 86.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06075/0.8209, allocations: 14.64 MB / 0.8303 GB, free: 82.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/0.8209, allocations: 6.219 kB / 0.8303 GB, free: 82.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.03972/0.8606, allocations: 12.46 MB / 0.8425 GB, free: 79.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.8607, allocations: 122.5 kB / 0.8426 GB, free: 79.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.8607, allocations: 3.969 kB / 0.8426 GB, free: 79.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01791/0.8786, allocations: 5.428 MB / 0.8479 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/0.8816, allocations: 0.5734 MB / 0.8484 GB, free: 74.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05592/0.9375, allocations: 22.96 MB / 0.8709 GB, free: 51.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/0.9421, allocations: 493 kB / 0.8713 GB, free: 51.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.9424, allocations: 116 kB / 0.8714 GB, free: 51.27 MB / 0.5762 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 Syn2.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 (326): * Single equations (assignments): 321 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001035/0.9434, allocations: 0.541 MB / 0.872 GB, free: 50.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.9439, allocations: 313.1 kB / 0.8723 GB, free: 50.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03653/0.9804, allocations: 11.92 MB / 0.8839 GB, free: 38.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.9804, allocations: 24 kB / 0.8839 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/0.9804, allocations: 20 kB / 0.8839 GB, free: 38.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.9805, allocations: 15.95 kB / 0.884 GB, free: 38.34 MB / 0.5762 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.04066/1.021, allocations: 14.28 MB / 0.8979 GB, free: 24.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.021, allocations: 0 / 0.8979 GB, free: 24.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.023, allocations: 251.6 kB / 0.8981 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01639/1.039, allocations: 5.275 MB / 0.9033 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006539/1.04, allocations: 51.98 kB / 0.9033 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0551/1.095, allocations: 23.99 MB / 0.9268 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.095, allocations: 3.188 kB / 0.9268 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04878/1.144, allocations: 14.38 MB / 0.9408 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.145, allocations: 350.9 kB / 0.9411 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007483/1.146, allocations: 54.12 kB / 0.9412 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/1.149, allocations: 299.6 kB / 0.9415 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002212/1.151, allocations: 0.5995 MB / 0.9421 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.151, allocations: 67.92 kB / 0.9421 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002599/1.154, allocations: 1.515 MB / 0.9436 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/1.154, allocations: 0 / 0.9436 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003852/1.158, allocations: 1.202 MB / 0.9448 GB, free: 7.633 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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.000513/1.158, allocations: 184.8 kB / 0.945 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0204/1.179, allocations: 6.614 MB / 0.9514 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.179, allocations: 8.062 kB / 0.9514 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01527/1.194, allocations: 4.308 MB / 0.9556 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.197, allocations: 275.2 kB / 0.9559 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.21, allocations: 5.665 MB / 0.9614 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/1.212, allocations: 1.265 MB / 0.9627 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001461/1.214, allocations: 266.5 kB / 0.9629 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/1.214, allocations: 178.4 kB / 0.9631 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/1.214, allocations: 0 / 0.9631 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of Templates: time 0.1186/1.333, allocations: 74.3 MB / 1.036 GB, free: 10.47 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.084887616336346] Failed to read output from testmodel.py, exit status != 0: 1.3420806489884853 1.357211905 1.156206601 Calling exit ...