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.001356/0.001356, allocations: 88.72 kB / 19.44 MB, free: 356 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.464/1.464, allocations: 177.1 MB / 199.7 MB, free: 5.824 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.00157/0.00157, allocations: 156.7 kB / 256.3 MB, free: 13.19 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.4647/0.4647, allocations: 80.26 MB / 393 MB, free: 2.215 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.703e-06/1.703e-06, allocations: 0 / 489.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.824e-05, allocations: 3.188 kB / 489.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01513/0.01517, allocations: 11.65 MB / 0.4891 GB, free: 76 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009267/0.02444, allocations: 3.44 MB / 0.4924 GB, free: 12.65 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.02694, allocations: 28.56 kB / 0.4924 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.02866, allocations: 0.5541 MB / 0.493 GB, free: 12.06 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.03438, allocations: 1.601 MB / 0.4945 GB, free: 10.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.03865, allocations: 1.525 MB / 0.496 GB, free: 8.977 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006137/0.04479, allocations: 3.735 MB / 0.4997 GB, free: 5.227 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.04617, allocations: 0.5775 MB / 0.5002 GB, free: 4.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.05047, allocations: 2.123 MB / 0.5023 GB, free: 2.457 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.05312, allocations: 1.558 MB / 0.5038 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006517/0.05377, allocations: 284 kB / 0.5041 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.05498, allocations: 451.7 kB / 0.5045 GB, free: 180 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008737/0.05586, allocations: 0.7778 MB / 0.5053 GB, free: 15.39 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.05739, allocations: 1.082 MB / 0.5064 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008735/0.06613, allocations: 4.091 MB / 0.5104 GB, free: 10.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.06614, allocations: 0 / 0.5104 GB, free: 10.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.06614, allocations: 0 / 0.5104 GB, free: 10.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000189/0.06633, allocations: 0 / 0.5104 GB, free: 10.2 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.02678/0.09311, allocations: 7.331 MB / 0.5175 GB, free: 2.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.09316, allocations: 12.03 kB / 0.5175 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.1086, allocations: 2.694 MB / 0.5202 GB, free: 52 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.1136, allocations: 1.855 MB / 0.522 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/0.1147, allocations: 0.8256 MB / 0.5228 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006775/0.1154, allocations: 216 kB / 0.523 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007185/0.1226, allocations: 3.085 MB / 0.526 GB, free: 9.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.1226, allocations: 0 / 0.526 GB, free: 9.785 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/0.1229, allocations: 83.98 kB / 0.5261 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.1229, allocations: 52 kB / 0.5261 GB, free: 9.652 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006567/0.1295, allocations: 2.822 MB / 0.5289 GB, free: 6.801 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.01981/0.1493, allocations: 7.445 MB / 0.5362 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.161, allocations: 3.568 MB / 0.5396 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004837/0.1658, allocations: 1.826 MB / 0.5414 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.1661, allocations: 49.98 kB / 0.5415 GB, free: 9.707 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005479/0.1716, allocations: 2.29 MB / 0.5437 GB, free: 7.383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 4.929e-06/0.1716, allocations: 0 / 0.5437 GB, free: 7.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.1344/0.306, allocations: 29.35 MB / 0.5724 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.3061, allocations: 192.2 kB / 0.5725 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.3104, allocations: 2.244 MB / 0.5747 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007438/0.3111, allocations: 73.7 kB / 0.5748 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.3124, allocations: 1.197 MB / 0.576 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.3138, allocations: 0.8908 MB / 0.5768 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.315, allocations: 0.5421 MB / 0.5774 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3152, allocations: 305.1 kB / 0.5777 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/0.3201, allocations: 2.035 MB / 0.5797 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005319/0.3254, allocations: 2.405 MB / 0.582 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06148/0.3869, allocations: 14.27 MB / 0.5959 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/0.3869, allocations: 8 kB / 0.596 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.2626/0.6496, allocations: 12.4 MB / 0.6081 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.6497, allocations: 118.9 kB / 0.6082 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/0.6497, allocations: 6.906 kB / 0.6082 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03555/0.6853, allocations: 7.835 MB / 0.6158 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.6882, allocations: 0.5538 MB / 0.6164 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05582/0.744, allocations: 22.89 MB / 0.6387 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.7486, allocations: 490 kB / 0.6392 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004643/0.7491, allocations: 116 kB / 0.6393 GB, free: 144.2 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 (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.001287/0.7503, allocations: 0.5225 MB / 0.6398 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/0.7512, allocations: 382 kB / 0.6402 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03641/0.7876, allocations: 11.87 MB / 0.6518 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.7877, allocations: 25.97 kB / 0.6518 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.7877, allocations: 16 kB / 0.6518 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-05/0.7878, allocations: 15.95 kB / 0.6518 GB, free: 131.3 MB / 0.5105 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.04044/0.8282, allocations: 14.21 MB / 0.6657 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/0.8282, allocations: 0 / 0.6657 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.8298, allocations: 248.2 kB / 0.6659 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03195/0.8617, allocations: 7.715 MB / 0.6735 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009338/0.8627, allocations: 51.98 kB / 0.6735 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05279/0.9155, allocations: 24.11 MB / 0.6971 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9155, allocations: 3.984 kB / 0.6971 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04172/0.9572, allocations: 14.36 MB / 0.7111 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.9582, allocations: 352.7 kB / 0.7114 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/0.9588, allocations: 44 kB / 0.7115 GB, free: 69.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/0.9618, allocations: 303.6 kB / 0.7118 GB, free: 69.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002102/0.9639, allocations: 0.6034 MB / 0.7124 GB, free: 68.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/0.9641, allocations: 67.98 kB / 0.7124 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001889/0.966, allocations: 1.479 MB / 0.7139 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.966, allocations: 1.203 kB / 0.7139 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003368/0.9693, allocations: 1.175 MB / 0.715 GB, free: 66.29 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.0004514/0.9698, allocations: 181 kB / 0.7152 GB, free: 66.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01647/0.9863, allocations: 6.543 MB / 0.7216 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.9863, allocations: 192 / 0.7216 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01213/0.9984, allocations: 4.281 MB / 0.7258 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.001, allocations: 338.5 kB / 0.7261 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/1.009, allocations: 5.368 MB / 0.7313 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/1.01, allocations: 1.253 MB / 0.7325 GB, free: 48.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001015/1.011, allocations: 266.2 kB / 0.7328 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/1.011, allocations: 180.5 kB / 0.733 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/1.011, allocations: 0 / 0.733 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.2747/1.286, allocations: 70.22 MB / 0.8015 GB, free: 169.5 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.107897745911032]