Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001488/0.001488, 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.9422/0.9422, 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.001172/0.001172, allocations: 167 kB / 256.6 MB, free: 13 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.2835/0.2835, allocations: 80.35 MB / 393.5 MB, free: 2.082 MB / 314.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 490 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.262e-05, allocations: 4.562 kB / 490 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009454/0.009477, allocations: 12.79 MB / 0.491 GB, free: 14.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.01619, allocations: 3.484 MB / 0.4944 GB, free: 11.17 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.01774, allocations: 28 kB / 0.4944 GB, free: 11.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.01908, allocations: 0.558 MB / 0.495 GB, free: 10.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.02281, allocations: 1.6 MB / 0.4966 GB, free: 8.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.02514, allocations: 1.525 MB / 0.498 GB, free: 7.492 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.02822, allocations: 3.732 MB / 0.5017 GB, free: 3.746 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.02895, allocations: 0.5854 MB / 0.5023 GB, free: 3.098 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.03094, allocations: 2.127 MB / 0.5043 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.03235, allocations: 1.573 MB / 0.5059 GB, free: 15.39 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002981/0.03265, allocations: 284 kB / 0.5061 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.03325, allocations: 451.8 kB / 0.5066 GB, free: 14.67 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.03369, allocations: 0.7778 MB / 0.5073 GB, free: 13.89 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007033/0.0344, allocations: 1.078 MB / 0.5084 GB, free: 12.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.03655, allocations: 2.89 MB / 0.5112 GB, free: 9.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.03655, allocations: 3.938 kB / 0.5112 GB, free: 9.898 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03655, allocations: 4 kB / 0.5112 GB, free: 9.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.03657, allocations: 0 / 0.5112 GB, free: 9.895 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.01166/0.04823, allocations: 7.574 MB / 0.5186 GB, free: 2.199 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.04828, allocations: 8.031 kB / 0.5186 GB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00768/0.05596, allocations: 2.725 MB / 0.5213 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.05809, allocations: 1.757 MB / 0.523 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/0.05854, allocations: 0.8139 MB / 0.5238 GB, free: 12.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.05882, allocations: 212 kB / 0.524 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.06151, allocations: 2.007 MB / 0.526 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.06153, allocations: 0 / 0.526 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.06171, allocations: 92 kB / 0.526 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.06174, allocations: 48 kB / 0.5261 GB, free: 10.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.06384, allocations: 1.323 MB / 0.5274 GB, free: 8.883 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.008572/0.07241, allocations: 6.919 MB / 0.5341 GB, free: 1.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.07614, allocations: 2.128 MB / 0.5362 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.07732, allocations: 0.8897 MB / 0.5371 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.07753, allocations: 61.86 kB / 0.5371 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.07911, allocations: 1.313 MB / 0.5384 GB, free: 13.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 4.288e-06/0.07911, allocations: 3.984 kB / 0.5384 GB, free: 13.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.0596/0.1387, allocations: 22.23 MB / 0.5601 GB, free: 6.988 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.1388, allocations: 184.2 kB / 0.5603 GB, free: 6.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.1414, allocations: 2.051 MB / 0.5623 GB, free: 4.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.1417, allocations: 73.69 kB / 0.5624 GB, free: 4.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/0.1426, allocations: 1.254 MB / 0.5636 GB, free: 3.363 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008372/0.1434, allocations: 0.9102 MB / 0.5645 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009836/0.1444, allocations: 0.5689 MB / 0.5651 GB, free: 1.863 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1445, allocations: 480.7 kB / 0.5655 GB, free: 1.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.1463, allocations: 0.9538 MB / 0.5664 GB, free: 420 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.1484, allocations: 1.421 MB / 0.5678 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005918/0.1543, allocations: 3.689 MB / 0.5714 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.1544, allocations: 4 kB / 0.5714 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01889/0.1732, allocations: 8.5 MB / 0.5797 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1734, allocations: 117.3 kB / 0.5799 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/0.1734, allocations: 7.984 kB / 0.5799 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/0.1874, allocations: 5.438 MB / 0.5852 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.1892, allocations: 0.5578 MB / 0.5857 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.2087, allocations: 9.71 MB / 0.5952 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.2111, allocations: 410 kB / 0.5956 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.2113, allocations: 112 kB / 0.5957 GB, free: 1.824 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 (319): * Single equations (assignments): 314 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008184/0.2121, allocations: 373 kB / 0.5961 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/0.2126, allocations: 390 kB / 0.5964 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2142/0.4268, allocations: 7.829 MB / 0.6041 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.4268, allocations: 29.08 kB / 0.6041 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/0.4269, allocations: 24.81 kB / 0.6041 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.4269, allocations: 12.33 kB / 0.6041 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/0.4519, allocations: 10.18 MB / 0.6141 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.4519, allocations: 1.594 kB / 0.6141 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009578/0.4529, allocations: 240.1 kB / 0.6143 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01966/0.4726, allocations: 5.334 MB / 0.6195 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.4728, allocations: 50.8 kB / 0.6196 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/0.4913, allocations: 13.39 MB / 0.6326 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4914, allocations: 3.281 kB / 0.6326 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/0.5082, allocations: 8.807 MB / 0.6412 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.5089, allocations: 344.1 kB / 0.6416 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.5092, allocations: 47.98 kB / 0.6416 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.5103, allocations: 219.8 kB / 0.6418 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/0.5115, allocations: 0.5721 MB / 0.6424 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.5116, allocations: 63.98 kB / 0.6424 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001102/0.5127, allocations: 1.228 MB / 0.6436 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5127, allocations: 4 kB / 0.6436 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002352/0.5151, allocations: 1.177 MB / 0.6448 GB, free: 128.5 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.000354/0.5154, allocations: 173.4 kB / 0.645 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00672/0.5222, allocations: 4.488 MB / 0.6493 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5222, allocations: 1.75 kB / 0.6493 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004676/0.5268, allocations: 3.307 MB / 0.6526 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009927/0.5278, allocations: 318.3 kB / 0.6529 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006927/0.5348, allocations: 4.878 MB / 0.6576 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.5352, allocations: 0.5321 MB / 0.6582 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.5358, allocations: 266.2 kB / 0.6584 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.5362, allocations: 180.5 kB / 0.6586 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/0.5362, allocations: 0 / 0.6586 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.06619/0.6024, allocations: 73.53 MB / 0.7304 GB, free: 41.04 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.342165132053196]