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.001503/0.001503, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.292/1.292, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.1 MB " [Timeout remaining time 179] 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.001513/0.001513, allocations: 160.8 kB / 256 MB, free: 4.32 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.5442/0.5442, allocations: 80.36 MB / 392.7 MB, free: 29.63 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: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5555 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.026e-05, allocations: 6.281 kB / 0.5555 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009314/0.009335, allocations: 11.86 MB / 0.5671 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.01635, allocations: 3.488 MB / 0.5705 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.01874, allocations: 31.09 kB / 0.5705 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.02028, allocations: 0.562 MB / 0.5711 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.02484, allocations: 1.619 MB / 0.5727 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.02779, allocations: 1.566 MB / 0.5742 GB, free: 176 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00543/0.03322, allocations: 3.828 MB / 0.5779 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.03442, allocations: 0.5863 MB / 0.5785 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.03809, allocations: 2.168 MB / 0.5806 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.04049, allocations: 1.603 MB / 0.5822 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005752/0.04107, allocations: 296 kB / 0.5825 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.04212, allocations: 455.8 kB / 0.5829 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007677/0.04289, allocations: 0.8011 MB / 0.5837 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.04436, allocations: 1.102 MB / 0.5848 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/0.04947, allocations: 4.169 MB / 0.5888 GB, free: 3.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.04947, allocations: 0 / 0.5888 GB, free: 3.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04947, allocations: 0 / 0.5888 GB, free: 3.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.04955, allocations: 0 / 0.5888 GB, free: 3.926 MB / 446.1 MB 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.02519/0.07474, allocations: 7.437 MB / 0.5961 GB, free: 12.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.07478, allocations: 12.03 kB / 0.5961 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/0.09054, allocations: 2.327 MB / 0.5984 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/0.09452, allocations: 1.84 MB / 0.6002 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008723/0.09539, allocations: 0.8248 MB / 0.601 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005664/0.09596, allocations: 223.9 kB / 0.6012 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007028/0.103, allocations: 3.117 MB / 0.6042 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.103, allocations: 0 / 0.6042 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.1033, allocations: 80 kB / 0.6043 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.1034, allocations: 60 kB / 0.6044 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006764/0.1101, allocations: 2.842 MB / 0.6071 GB, free: 0.7461 MB / 462.1 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.0185/0.1286, allocations: 7.465 MB / 0.6144 GB, free: 9.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.1403, allocations: 3.61 MB / 0.618 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/0.1451, allocations: 1.85 MB / 0.6198 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.1454, allocations: 33.98 kB / 0.6198 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00547/0.1509, allocations: 2.306 MB / 0.622 GB, free: 1.238 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 6.392e-06/0.1509, allocations: 0 / 0.622 GB, free: 1.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1334/0.2843, allocations: 28.6 MB / 0.65 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.2844, allocations: 184.2 kB / 0.6502 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.2879, allocations: 2.304 MB / 0.6524 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005044/0.2884, allocations: 69.7 kB / 0.6525 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009969/0.2894, allocations: 1.189 MB / 0.6536 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.2905, allocations: 0.9142 MB / 0.6545 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.2917, allocations: 0.5541 MB / 0.6551 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2918, allocations: 301.1 kB / 0.6554 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004804/0.2966, allocations: 2.074 MB / 0.6574 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/0.3018, allocations: 2.446 MB / 0.6598 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06245/0.3643, allocations: 14.64 MB / 0.6741 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.3643, allocations: 0 / 0.6741 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.04414/0.4084, allocations: 12.47 MB / 0.6862 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.4085, allocations: 114.8 kB / 0.6863 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.4086, allocations: 8 kB / 0.6864 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02032/0.4289, allocations: 5.434 MB / 0.6917 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.4322, allocations: 0.5617 MB / 0.6922 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06688/0.499, allocations: 22.96 MB / 0.7146 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/0.5036, allocations: 493.9 kB / 0.7151 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003577/0.5039, allocations: 120 kB / 0.7152 GB, free: 1.023 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 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.001243/0.5052, allocations: 0.5373 MB / 0.7157 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.5058, allocations: 317.9 kB / 0.716 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04303/0.5488, allocations: 11.91 MB / 0.7277 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.5488, allocations: 24 kB / 0.7277 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.5488, allocations: 20 kB / 0.7277 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.596e-05/0.5489, allocations: 11.95 kB / 0.7277 GB, free: 4.074 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.2333/0.7822, allocations: 14.28 MB / 0.7417 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.7822, allocations: 1.438 kB / 0.7417 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.7838, allocations: 256.2 kB / 0.7419 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/0.8014, allocations: 5.265 MB / 0.7471 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005441/0.802, allocations: 60.47 kB / 0.7471 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05412/0.8561, allocations: 23.98 MB / 0.7705 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8561, allocations: 3.844 kB / 0.7705 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04161/0.8977, allocations: 14.37 MB / 0.7846 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/0.8985, allocations: 354.2 kB / 0.7849 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005821/0.899, allocations: 48 kB / 0.785 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/0.902, allocations: 299.6 kB / 0.7852 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002073/0.9041, allocations: 0.5995 MB / 0.7858 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/0.9043, allocations: 72.47 kB / 0.7859 GB, free: 128 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001767/0.9061, allocations: 1.515 MB / 0.7874 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9061, allocations: 0 / 0.7874 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002731/0.9088, allocations: 1.204 MB / 0.7886 GB, free: 125.3 MB / 0.5762 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.0004142/0.9092, allocations: 189 kB / 0.7887 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01649/0.9257, allocations: 6.603 MB / 0.7952 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9257, allocations: 0 / 0.7952 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01211/0.9378, allocations: 4.298 MB / 0.7994 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.9398, allocations: 278.6 kB / 0.7996 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/0.9475, allocations: 5.424 MB / 0.8049 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000875/0.9483, allocations: 1.262 MB / 0.8062 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008832/0.9492, allocations: 258.5 kB / 0.8064 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/0.9498, allocations: 172.5 kB / 0.8066 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/0.9498, allocations: 0 / 0.8066 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.07438/1.024, allocations: 70.85 MB / 0.8758 GB, free: 35.98 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.065445847809315] Failed to read output from testmodel.py, exit status != 0: 1.031850177794695 1.041034509 0.989292048 Calling exit ...