Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.000996/0.000996, allocations: 93.06 kB / 19.65 MB, free: 280 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.9954/0.9954, 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.001235/0.001235, allocations: 159.2 kB / 256.6 MB, free: 13 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.2685/0.2685, allocations: 80.25 MB / 393.4 MB, free: 2.172 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 489.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.229e-05, allocations: 6.141 kB / 489.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01072/0.01074, allocations: 12.89 MB / 0.491 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007161/0.0179, allocations: 3.492 MB / 0.4944 GB, free: 11.14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.01909, allocations: 29.81 kB / 0.4944 GB, free: 11.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.02009, allocations: 0.5614 MB / 0.495 GB, free: 10.55 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.02274, allocations: 1.632 MB / 0.4965 GB, free: 8.918 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.02488, allocations: 1.526 MB / 0.498 GB, free: 7.434 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.02774, allocations: 3.739 MB / 0.5017 GB, free: 3.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.02836, allocations: 0.5815 MB / 0.5023 GB, free: 3.035 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.02994, allocations: 2.143 MB / 0.5043 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.03113, allocations: 1.577 MB / 0.5059 GB, free: 15.3 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002922/0.03143, allocations: 284 kB / 0.5062 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.03198, allocations: 447.8 kB / 0.5066 GB, free: 14.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.03239, allocations: 0.7739 MB / 0.5073 GB, free: 13.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009284/0.03332, allocations: 1.082 MB / 0.5084 GB, free: 12.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.03541, allocations: 2.887 MB / 0.5112 GB, free: 9.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.03541, allocations: 0 / 0.5112 GB, free: 9.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.03541, allocations: 0 / 0.5112 GB, free: 9.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.03544, allocations: 0 / 0.5112 GB, free: 9.828 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.01172/0.04716, allocations: 7.574 MB / 0.5186 GB, free: 2.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.0472, allocations: 12.03 kB / 0.5186 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007536/0.05474, allocations: 2.725 MB / 0.5213 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.05681, allocations: 1.749 MB / 0.523 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/0.05723, allocations: 0.8179 MB / 0.5238 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.05751, allocations: 220 kB / 0.524 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.0602, allocations: 1.996 MB / 0.526 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.06023, allocations: 4 kB / 0.526 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.06041, allocations: 87.92 kB / 0.526 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.06044, allocations: 59.94 kB / 0.5261 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.06265, allocations: 1.319 MB / 0.5274 GB, free: 8.812 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.009359/0.072, allocations: 6.966 MB / 0.5342 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/0.07587, allocations: 2.128 MB / 0.5363 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.07702, allocations: 0.9014 MB / 0.5371 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.07722, allocations: 49.98 kB / 0.5372 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.0788, allocations: 1.32 MB / 0.5385 GB, free: 13.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 3.847e-06/0.0788, allocations: 0 / 0.5385 GB, free: 13.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.05132/0.1301, allocations: 21.24 MB / 0.5592 GB, free: 7.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.1302, allocations: 184.2 kB / 0.5594 GB, free: 7.633 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.1323, allocations: 2.04 MB / 0.5614 GB, free: 5.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.1325, allocations: 69.7 kB / 0.5615 GB, free: 5.508 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/0.1332, allocations: 1.258 MB / 0.5627 GB, free: 4.238 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006984/0.1339, allocations: 0.918 MB / 0.5636 GB, free: 3.312 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007201/0.1346, allocations: 0.5691 MB / 0.5641 GB, free: 2.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1348, allocations: 476.8 kB / 0.5646 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.1362, allocations: 0.9616 MB / 0.5655 GB, free: 1.273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.1377, allocations: 1.426 MB / 0.5669 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/0.1424, allocations: 3.737 MB / 0.5706 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.1424, allocations: 3.938 kB / 0.5706 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01661/0.159, allocations: 8.494 MB / 0.5789 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.1591, allocations: 118.8 kB / 0.579 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.1591, allocations: 8 kB / 0.579 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/0.1726, allocations: 5.337 MB / 0.5842 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.1743, allocations: 0.5539 MB / 0.5847 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/0.1925, allocations: 9.439 MB / 0.594 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.1948, allocations: 414 kB / 0.5944 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.1949, allocations: 124 kB / 0.5945 GB, free: 2.988 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.0007902/0.1957, allocations: 381.3 kB / 0.5948 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/0.1962, allocations: 394 kB / 0.5952 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.206/0.4022, allocations: 7.829 MB / 0.6029 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.4022, allocations: 29.38 kB / 0.6029 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-05/0.4022, allocations: 20.22 kB / 0.6029 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.494e-05/0.4023, allocations: 12.23 kB / 0.6029 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/0.4225, allocations: 10.19 MB / 0.6129 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4225, allocations: 3.344 kB / 0.6129 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.4233, allocations: 247.8 kB / 0.6131 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/0.4369, allocations: 5.29 MB / 0.6183 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.4371, allocations: 46.98 kB / 0.6183 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/0.4551, allocations: 13.4 MB / 0.6314 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4551, allocations: 0 / 0.6314 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.4712, allocations: 8.809 MB / 0.64 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/0.4719, allocations: 347 kB / 0.6403 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.4721, allocations: 47.98 kB / 0.6404 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4733, allocations: 219.8 kB / 0.6406 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/0.4745, allocations: 0.576 MB / 0.6412 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.4747, allocations: 67.98 kB / 0.6412 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001162/0.4758, allocations: 1.221 MB / 0.6424 GB, free: 139 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4758, allocations: 0 / 0.6424 GB, free: 139 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002204/0.478, allocations: 1.173 MB / 0.6436 GB, free: 137.9 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.0003654/0.4784, allocations: 185.6 kB / 0.6437 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006633/0.485, allocations: 4.418 MB / 0.6481 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.485, allocations: 4 kB / 0.6481 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004989/0.49, allocations: 3.305 MB / 0.6513 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4912, allocations: 311.6 kB / 0.6516 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.4971, allocations: 4.903 MB / 0.6564 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.4974, allocations: 0.5399 MB / 0.6569 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005258/0.498, allocations: 262.3 kB / 0.6571 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.4983, allocations: 176.5 kB / 0.6573 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/0.4983, allocations: 0 / 0.6573 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.06464/0.563, allocations: 74.59 MB / 0.7302 GB, free: 49.24 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.447612687945366]