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.000963/0.000963, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.9605/0.9605, allocations: 177.1 MB / 200.5 MB, free: 5.844 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.001303/0.001303, allocations: 160.6 kB / 257 MB, free: 13.22 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.3021/0.3021, allocations: 80.36 MB / 393.8 MB, free: 2.195 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.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.174e-06/2.174e-06, allocations: 0 / 490 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.35e-05, allocations: 6.031 kB / 490 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01097/0.011, allocations: 12.86 MB / 0.4911 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007815/0.01882, allocations: 3.481 MB / 0.4945 GB, free: 11.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/0.02244, allocations: 33.25 kB / 0.4945 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.02508, allocations: 0.5575 MB / 0.4951 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.03137, allocations: 1.592 MB / 0.4966 GB, free: 9.246 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.03431, allocations: 1.527 MB / 0.4981 GB, free: 7.758 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005538/0.03985, allocations: 3.743 MB / 0.5018 GB, free: 4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.04086, allocations: 0.5853 MB / 0.5023 GB, free: 3.352 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.04428, allocations: 2.127 MB / 0.5044 GB, free: 1.219 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.04584, allocations: 1.565 MB / 0.5059 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.04618, allocations: 288 kB / 0.5062 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.04697, allocations: 439.8 kB / 0.5066 GB, free: 14.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.04746, allocations: 0.7817 MB / 0.5074 GB, free: 14.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.0485, allocations: 1.082 MB / 0.5085 GB, free: 13.06 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.05171, allocations: 2.886 MB / 0.5113 GB, free: 10.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.05172, allocations: 0 / 0.5113 GB, free: 10.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05172, allocations: 0 / 0.5113 GB, free: 10.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.541e-05/0.05176, allocations: 0 / 0.5113 GB, free: 10.17 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.01436/0.06612, allocations: 7.574 MB / 0.5187 GB, free: 2.473 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.06618, allocations: 19.95 kB / 0.5187 GB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009358/0.07554, allocations: 2.725 MB / 0.5214 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.07882, allocations: 1.749 MB / 0.5231 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005368/0.07935, allocations: 0.8139 MB / 0.5239 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.07981, allocations: 216 kB / 0.5241 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.08299, allocations: 2.007 MB / 0.526 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.08303, allocations: 7.938 kB / 0.526 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.08322, allocations: 84 kB / 0.5261 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.08325, allocations: 48 kB / 0.5262 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.08546, allocations: 1.319 MB / 0.5274 GB, free: 9.152 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.01082/0.09627, allocations: 6.966 MB / 0.5342 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.1002, allocations: 2.128 MB / 0.5363 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.1014, allocations: 0.9034 MB / 0.5372 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.1016, allocations: 49.98 kB / 0.5373 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.1033, allocations: 1.324 MB / 0.5385 GB, free: 13.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 4.518e-06/0.1033, allocations: 0 / 0.5385 GB, free: 13.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.05479/0.1581, allocations: 21.24 MB / 0.5593 GB, free: 8.191 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1582, allocations: 188.2 kB / 0.5595 GB, free: 7.969 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.161, allocations: 2.04 MB / 0.5615 GB, free: 5.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008851/0.1619, allocations: 73.7 kB / 0.5615 GB, free: 5.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.1629, allocations: 1.254 MB / 0.5628 GB, free: 4.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.1642, allocations: 0.9179 MB / 0.5637 GB, free: 3.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009716/0.1652, allocations: 0.5691 MB / 0.5642 GB, free: 3.066 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1653, allocations: 480.8 kB / 0.5647 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.1667, allocations: 0.9616 MB / 0.5656 GB, free: 1.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.1684, allocations: 1.426 MB / 0.567 GB, free: 28 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/0.1731, allocations: 3.741 MB / 0.5707 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.1731, allocations: 3.938 kB / 0.5707 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.0178/0.1909, allocations: 8.486 MB / 0.5789 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.191, allocations: 118.8 kB / 0.5791 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.191, allocations: 4 kB / 0.5791 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01543/0.2065, allocations: 5.337 MB / 0.5843 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.2086, allocations: 0.5656 MB / 0.5848 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.2294, allocations: 9.435 MB / 0.594 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.2324, allocations: 414 kB / 0.5944 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/0.2327, allocations: 120 kB / 0.5945 GB, free: 3.32 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.0009911/0.2337, allocations: 381.3 kB / 0.5949 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007599/0.2344, allocations: 394 kB / 0.5953 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2331/0.4675, allocations: 7.835 MB / 0.6029 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/0.4675, allocations: 25.12 kB / 0.603 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/0.4676, allocations: 23.56 kB / 0.603 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-05/0.4677, allocations: 11.72 kB / 0.603 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/0.4912, allocations: 10.19 MB / 0.6129 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.4912, allocations: 0 / 0.6129 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.4923, allocations: 247.2 kB / 0.6132 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/0.5075, allocations: 5.288 MB / 0.6183 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006167/0.5081, allocations: 56.58 kB / 0.6184 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/0.5321, allocations: 13.39 MB / 0.6315 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5321, allocations: 3.938 kB / 0.6315 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/0.5522, allocations: 8.813 MB / 0.6401 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008153/0.553, allocations: 342.9 kB / 0.6404 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/0.5535, allocations: 49.25 kB / 0.6405 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5548, allocations: 222.5 kB / 0.6407 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/0.5562, allocations: 0.5729 MB / 0.6412 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.5563, allocations: 64.56 kB / 0.6413 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001223/0.5576, allocations: 1.223 MB / 0.6425 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5576, allocations: 0 / 0.6425 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002831/0.5604, allocations: 1.166 MB / 0.6436 GB, free: 129.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.0004631/0.5609, allocations: 192.3 kB / 0.6438 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007408/0.5683, allocations: 4.417 MB / 0.6481 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5683, allocations: 4.25 kB / 0.6481 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005707/0.574, allocations: 3.303 MB / 0.6514 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.5757, allocations: 317.9 kB / 0.6517 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.583, allocations: 4.909 MB / 0.6565 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.5835, allocations: 0.5399 MB / 0.657 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007438/0.5842, allocations: 262 kB / 0.6572 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.5846, allocations: 184.4 kB / 0.6574 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.196e-06/0.5846, allocations: 0 / 0.6574 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.06905/0.6537, allocations: 72.62 MB / 0.7283 GB, free: 43.25 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.640896438853815]