Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.002037/0.002037, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.571/1.571, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.002139/0.002139, allocations: 225.5 kB / 309.2 MB, free: 2.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.604/0.604, allocations: 107.3 MB / 473 MB, free: 4.453 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.003024/0.003024, allocations: 83.88 kB / 0.6338 GB, free: 4.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4456, allocations: 80.16 MB / 0.712 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01185/0.4575, allocations: 11.86 MB / 0.7236 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.4691, allocations: 3.487 MB / 0.727 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.4725, allocations: 33.88 kB / 0.7271 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.475, allocations: 0.5599 MB / 0.7276 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007066/0.4821, allocations: 1.581 MB / 0.7292 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.4872, allocations: 1.522 MB / 0.7306 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008192/0.4954, allocations: 3.859 MB / 0.7344 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.497, allocations: 0.5793 MB / 0.735 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.5012, allocations: 1.619 MB / 0.7366 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.5053, allocations: 1.862 MB / 0.7384 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.5064, allocations: 295.2 kB / 0.7387 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.508, allocations: 457.1 kB / 0.7391 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008057/0.5088, allocations: 0.7844 MB / 0.7399 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.5109, allocations: 1.348 MB / 0.7412 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006106/0.517, allocations: 4.116 MB / 0.7452 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.517, allocations: 0 / 0.7452 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.435e-06/0.517, allocations: 1.375 kB / 0.7452 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000146/0.5171, allocations: 0 / 0.7452 GB, free: 14.85 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.02769/0.5448, allocations: 7.489 MB / 0.7525 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5449, allocations: 9.125 kB / 0.7525 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.5612, allocations: 2.323 MB / 0.7548 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/0.5666, allocations: 1.843 MB / 0.7566 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009197/0.5675, allocations: 0.8273 MB / 0.7574 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006549/0.5681, allocations: 224.4 kB / 0.7576 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0073/0.5754, allocations: 3.109 MB / 0.7606 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.5755, allocations: 0 / 0.7606 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.5757, allocations: 87.94 kB / 0.7607 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.5758, allocations: 52 kB / 0.7608 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006715/0.5825, allocations: 2.838 MB / 0.7636 GB, free: 1.988 MB / 0.5137 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.603, allocations: 7.474 MB / 0.7709 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.6146, allocations: 3.61 MB / 0.7744 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005068/0.6196, allocations: 1.842 MB / 0.7762 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.62, allocations: 33.98 kB / 0.7762 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005594/0.6256, allocations: 2.313 MB / 0.7785 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=250): time 5.861e-06/0.6256, allocations: 0 / 0.7785 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.1312/0.7567, allocations: 28.6 MB / 0.8064 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.7569, allocations: 180.2 kB / 0.8066 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/0.761, allocations: 2.304 MB / 0.8088 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007055/0.7617, allocations: 69.7 kB / 0.8089 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.7628, allocations: 1.189 MB / 0.81 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.7642, allocations: 0.9257 MB / 0.811 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.7654, allocations: 0.5581 MB / 0.8115 GB, free: 488 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7655, allocations: 301.1 kB / 0.8118 GB, free: 184 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/0.7705, allocations: 2.074 MB / 0.8138 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005321/0.7758, allocations: 2.446 MB / 0.8162 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06268/0.8385, allocations: 14.65 MB / 0.8305 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.8385, allocations: 0 / 0.8305 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.04626/0.8848, allocations: 12.46 MB / 0.8427 GB, free: 76 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.8849, allocations: 122.7 kB / 0.8428 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.8849, allocations: 8 kB / 0.8428 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/0.9058, allocations: 5.426 MB / 0.8481 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.9091, allocations: 0.5656 MB / 0.8487 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06942/0.9785, allocations: 22.96 MB / 0.8711 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/0.9834, allocations: 497.8 kB / 0.8715 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/0.9839, allocations: 116 kB / 0.8717 GB, free: 2.242 MB / 0.6231 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.001449/0.9854, allocations: 0.5368 MB / 0.8722 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008855/0.9863, allocations: 317.9 kB / 0.8725 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04343/1.03, allocations: 11.91 MB / 0.8841 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/1.03, allocations: 28 kB / 0.8841 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/1.03, allocations: 16 kB / 0.8842 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.847e-05/1.03, allocations: 15.95 kB / 0.8842 GB, free: 5.289 MB / 0.6387 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.04945/1.079, allocations: 14.28 MB / 0.8981 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.079, allocations: 0 / 0.8981 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.081, allocations: 251.6 kB / 0.8984 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01938/1.1, allocations: 5.279 MB / 0.9035 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005705/1.101, allocations: 55.92 kB / 0.9036 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06466/1.166, allocations: 23.99 MB / 0.927 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.166, allocations: 7.938 kB / 0.927 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0503/1.216, allocations: 14.37 MB / 0.941 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.217, allocations: 349.5 kB / 0.9414 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000916/1.218, allocations: 51.94 kB / 0.9414 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003598/1.222, allocations: 303.6 kB / 0.9417 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002267/1.224, allocations: 0.6034 MB / 0.9423 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/1.224, allocations: 71.92 kB / 0.9424 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002779/1.227, allocations: 1.518 MB / 0.9439 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.227, allocations: 0 / 0.9439 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004018/1.231, allocations: 1.198 MB / 0.945 GB, free: 6.336 MB / 0.7012 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.0005536/1.232, allocations: 180.7 kB / 0.9452 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02063/1.252, allocations: 6.619 MB / 0.9517 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.252, allocations: 0 / 0.9517 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01497/1.267, allocations: 4.31 MB / 0.9559 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.27, allocations: 273.4 kB / 0.9561 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.284, allocations: 5.665 MB / 0.9617 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/1.285, allocations: 1.265 MB / 0.9629 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001277/1.286, allocations: 258.5 kB / 0.9631 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/1.287, allocations: 179.4 kB / 0.9633 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of SimCode: time 9.41e-07/1.287, allocations: 0 / 0.9633 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.4352/1.722, allocations: 74.29 MB / 1.036 GB, free: 212.4 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.722977455705404] Failed to read output from testmodel.py, exit status != 0: 1.7320685368031263 1.740530604 1.221146525 Calling exit ...