Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.0008887/0.0008887, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9611/0.9611, allocations: 177.2 MB / 200 MB, free: 5.535 MB / 186.7 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.001202/0.001202, allocations: 167.8 kB / 256.6 MB, free: 12.99 MB / 250.7 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.2905/0.2905, allocations: 83.29 MB / 396.4 MB, free: 15.2 MB / 330.7 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 493.9 MB, free: 7.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.114e-05, allocations: 2.312 kB / 493.9 MB, free: 7.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01438/0.01441, allocations: 12.89 MB / 0.495 GB, free: 10.33 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007321/0.02173, allocations: 3.489 MB / 0.4984 GB, free: 6.855 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.0241, allocations: 28.5 kB / 0.4984 GB, free: 6.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.02559, allocations: 0.5622 MB / 0.4989 GB, free: 6.262 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.02992, allocations: 1.622 MB / 0.5005 GB, free: 4.641 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.03279, allocations: 1.54 MB / 0.502 GB, free: 3.137 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00511/0.0379, allocations: 3.743 MB / 0.5057 GB, free: 15.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.03915, allocations: 0.5775 MB / 0.5062 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.04275, allocations: 2.146 MB / 0.5083 GB, free: 12.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.04488, allocations: 1.569 MB / 0.5099 GB, free: 11.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008818/0.04577, allocations: 284 kB / 0.5101 GB, free: 10.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.04695, allocations: 443.8 kB / 0.5106 GB, free: 10.31 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006222/0.04757, allocations: 0.7856 MB / 0.5113 GB, free: 9.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.04936, allocations: 1.078 MB / 0.5124 GB, free: 8.438 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004237/0.0536, allocations: 2.89 MB / 0.5152 GB, free: 5.535 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.05361, allocations: 3.938 kB / 0.5152 GB, free: 5.531 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.05361, allocations: 0 / 0.5152 GB, free: 5.531 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00015/0.05376, allocations: 0 / 0.5152 GB, free: 5.531 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01405/0.06781, allocations: 7.574 MB / 0.5226 GB, free: 13.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.06787, allocations: 8.031 kB / 0.5226 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008019/0.07589, allocations: 2.729 MB / 0.5253 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.07885, allocations: 1.757 MB / 0.527 GB, free: 9.273 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.07938, allocations: 0.8139 MB / 0.5278 GB, free: 8.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/0.07979, allocations: 220 kB / 0.528 GB, free: 8.105 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.08301, allocations: 2 MB / 0.53 GB, free: 6.012 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.08304, allocations: 0 / 0.53 GB, free: 6.012 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.08324, allocations: 87.98 kB / 0.53 GB, free: 5.926 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.08327, allocations: 48 kB / 0.5301 GB, free: 5.879 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.08571, allocations: 1.331 MB / 0.5314 GB, free: 4.512 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.01071/0.09642, allocations: 6.923 MB / 0.5382 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.1004, allocations: 2.143 MB / 0.5402 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.1016, allocations: 0.8975 MB / 0.5411 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.1018, allocations: 45.98 kB / 0.5412 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.1036, allocations: 1.321 MB / 0.5425 GB, free: 8.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 6.432e-06/0.1036, allocations: 7.938 kB / 0.5425 GB, free: 8.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.04987/0.1534, allocations: 20.49 MB / 0.5625 GB, free: 4.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.1535, allocations: 184.2 kB / 0.5626 GB, free: 4.113 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.156, allocations: 2.044 MB / 0.5646 GB, free: 2.059 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005349/0.1565, allocations: 69.7 kB / 0.5647 GB, free: 1.984 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007519/0.1572, allocations: 1.254 MB / 0.5659 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.1583, allocations: 0.9219 MB / 0.5668 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008831/0.1592, allocations: 0.5651 MB / 0.5674 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1593, allocations: 480.7 kB / 0.5678 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.1608, allocations: 0.9577 MB / 0.5688 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.1626, allocations: 1.426 MB / 0.5702 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00489/0.1675, allocations: 3.749 MB / 0.5738 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.1675, allocations: 4 kB / 0.5738 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.0169/0.1844, allocations: 8.49 MB / 0.5821 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.901e-05/0.1845, allocations: 110.8 kB / 0.5822 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.1845, allocations: 16 kB / 0.5822 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/0.1986, allocations: 5.333 MB / 0.5875 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.2006, allocations: 0.5578 MB / 0.588 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2274/0.428, allocations: 9.451 MB / 0.5972 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.4314, allocations: 405.2 kB / 0.5976 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/0.4322, allocations: 117.4 kB / 0.5977 GB, free: 130.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (324): * Single equations (assignments): 319 * 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): 1 system {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001526/0.4337, allocations: 381.9 kB / 0.5981 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.4348, allocations: 387.8 kB / 0.5985 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.4513, allocations: 7.833 MB / 0.6061 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.4513, allocations: 25.78 kB / 0.6061 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/0.4514, allocations: 21.75 kB / 0.6062 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-05/0.4514, allocations: 19.64 kB / 0.6062 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/0.4732, allocations: 10.19 MB / 0.6161 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.4732, allocations: 1.219 kB / 0.6161 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.4742, allocations: 248.2 kB / 0.6164 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/0.4886, allocations: 5.281 MB / 0.6215 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006664/0.4893, allocations: 51.55 kB / 0.6216 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.5088, allocations: 13.4 MB / 0.6347 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5088, allocations: 3.656 kB / 0.6347 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/0.5264, allocations: 8.817 MB / 0.6433 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/0.5273, allocations: 339.9 kB / 0.6436 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000573/0.5279, allocations: 47.75 kB / 0.6436 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.5294, allocations: 222.2 kB / 0.6439 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/0.5307, allocations: 0.5728 MB / 0.6444 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.5309, allocations: 65.09 kB / 0.6445 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001315/0.5322, allocations: 1.232 MB / 0.6457 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5322, allocations: 0 / 0.6457 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002853/0.5351, allocations: 1.172 MB / 0.6468 GB, free: 120.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004643/0.5355, allocations: 176.2 kB / 0.647 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007377/0.5429, allocations: 4.427 MB / 0.6513 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5429, allocations: 0 / 0.6513 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005456/0.5484, allocations: 3.3 MB / 0.6545 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.55, allocations: 324.3 kB / 0.6549 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.5569, allocations: 4.918 MB / 0.6597 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.5573, allocations: 0.5321 MB / 0.6602 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007358/0.5581, allocations: 254.3 kB / 0.6604 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.5585, allocations: 184.5 kB / 0.6606 GB, free: 107 MB / 0.5105 GB Notification: Performance of SimCode: time 2.124e-06/0.5585, allocations: 0 / 0.6606 GB, free: 107 MB / 0.5105 GB Notification: Performance of Templates: time 0.0704/0.6289, allocations: 74.59 MB / 0.7334 GB, free: 32.82 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.468651461880654]