Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.001078/0.001078, 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.9404/0.9404, allocations: 177.1 MB / 200 MB, free: 5.5 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.001513/0.001513, allocations: 156.7 kB / 256.6 MB, free: 12.97 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.2979/0.2979, allocations: 80.24 MB / 393.4 MB, free: 2.16 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 489.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.728e-05, allocations: 6.719 kB / 489.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01037/0.0104, allocations: 12.98 MB / 0.491 GB, free: 14.51 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007202/0.0176, allocations: 3.512 MB / 0.4945 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.01988, allocations: 32.44 kB / 0.4945 GB, free: 10.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.0213, allocations: 0.562 MB / 0.495 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.02546, allocations: 1.629 MB / 0.4966 GB, free: 8.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.02837, allocations: 1.524 MB / 0.4981 GB, free: 7.305 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.03287, allocations: 3.794 MB / 0.5018 GB, free: 3.496 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009025/0.03378, allocations: 0.5854 MB / 0.5024 GB, free: 2.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.03671, allocations: 2.158 MB / 0.5045 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.03856, allocations: 1.604 MB / 0.5061 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004084/0.03897, allocations: 292 kB / 0.5064 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.03973, allocations: 451.8 kB / 0.5068 GB, free: 14.35 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.04023, allocations: 0.7933 MB / 0.5076 GB, free: 13.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009997/0.04123, allocations: 1.098 MB / 0.5086 GB, free: 12.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.04425, allocations: 2.918 MB / 0.5115 GB, free: 9.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.04426, allocations: 4 kB / 0.5115 GB, free: 9.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.04426, allocations: 3.938 kB / 0.5115 GB, free: 9.512 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.903e-05/0.04432, allocations: 0 / 0.5115 GB, free: 9.512 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01447/0.05878, allocations: 7.641 MB / 0.519 GB, free: 1.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.05885, allocations: 8.031 kB / 0.519 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008431/0.06728, allocations: 2.733 MB / 0.5216 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/0.07037, allocations: 1.773 MB / 0.5234 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/0.07088, allocations: 0.8217 MB / 0.5242 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.07127, allocations: 223.9 kB / 0.5244 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.07465, allocations: 2.003 MB / 0.5263 GB, free: 9.891 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.07468, allocations: 0 / 0.5263 GB, free: 9.891 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.07486, allocations: 92 kB / 0.5264 GB, free: 9.801 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.07489, allocations: 48 kB / 0.5265 GB, free: 9.754 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.07712, allocations: 1.327 MB / 0.5278 GB, free: 8.391 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.01076/0.08788, allocations: 6.967 MB / 0.5346 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.09202, allocations: 2.143 MB / 0.5367 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.09329, allocations: 0.9014 MB / 0.5375 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.09352, allocations: 45.98 kB / 0.5376 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.09523, allocations: 1.333 MB / 0.5389 GB, free: 12.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.53e-06/0.09524, allocations: 0 / 0.5389 GB, free: 12.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.05266/0.1479, allocations: 20.68 MB / 0.5591 GB, free: 7.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.148, allocations: 192.2 kB / 0.5593 GB, free: 7.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.1506, allocations: 2.072 MB / 0.5613 GB, free: 5.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000433/0.151, allocations: 69.7 kB / 0.5614 GB, free: 5.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.1517, allocations: 1.258 MB / 0.5626 GB, free: 4.312 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00082/0.1525, allocations: 0.9219 MB / 0.5635 GB, free: 3.383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008048/0.1533, allocations: 0.5769 MB / 0.564 GB, free: 2.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1534, allocations: 476.8 kB / 0.5645 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.1549, allocations: 0.9656 MB / 0.5654 GB, free: 1.332 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.1566, allocations: 1.438 MB / 0.5668 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005001/0.1616, allocations: 3.75 MB / 0.5705 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.1616, allocations: 4 kB / 0.5705 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01799/0.1796, allocations: 8.51 MB / 0.5788 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.1797, allocations: 114.8 kB / 0.5789 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.1797, allocations: 11.98 kB / 0.5789 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/0.1941, allocations: 5.305 MB / 0.5841 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.1961, allocations: 0.5773 MB / 0.5847 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.2159, allocations: 9.466 MB / 0.5939 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.2186, allocations: 417.9 kB / 0.5943 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.2188, allocations: 112 kB / 0.5944 GB, free: 2.996 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 (328): * Single equations (assignments): 323 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009148/0.2198, allocations: 403.7 kB / 0.5948 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006266/0.2204, allocations: 386 kB / 0.5952 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2096/0.43, allocations: 7.854 MB / 0.6029 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.43, allocations: 25.91 kB / 0.6029 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/0.43, allocations: 19.78 kB / 0.6029 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-05/0.4301, allocations: 12.23 kB / 0.6029 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/0.4513, allocations: 10.21 MB / 0.6129 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4514, allocations: 5.844 kB / 0.6129 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.4523, allocations: 248 kB / 0.6131 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01436/0.4667, allocations: 5.34 MB / 0.6183 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005261/0.4672, allocations: 49.45 kB / 0.6184 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/0.4873, allocations: 13.38 MB / 0.6315 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4873, allocations: 0 / 0.6315 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.506, allocations: 8.836 MB / 0.6401 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.507, allocations: 342.8 kB / 0.6404 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/0.5075, allocations: 47.98 kB / 0.6405 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.509, allocations: 223.7 kB / 0.6407 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/0.5103, allocations: 0.5697 MB / 0.6412 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.5105, allocations: 67.98 kB / 0.6413 GB, free: 140 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001194/0.5117, allocations: 1.245 MB / 0.6425 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5117, allocations: 4 kB / 0.6425 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002457/0.5141, allocations: 1.184 MB / 0.6437 GB, free: 137.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004128/0.5146, allocations: 181.3 kB / 0.6438 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007445/0.522, allocations: 4.422 MB / 0.6482 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.522, allocations: 0 / 0.6482 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005527/0.5275, allocations: 3.339 MB / 0.6514 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5291, allocations: 316.5 kB / 0.6517 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/0.536, allocations: 4.99 MB / 0.6566 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.5364, allocations: 0.5442 MB / 0.6571 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006529/0.537, allocations: 262.5 kB / 0.6574 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.5375, allocations: 176.5 kB / 0.6575 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.013e-06/0.5375, allocations: 0 / 0.6575 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.06667/0.6042, allocations: 73.23 MB / 0.7291 GB, free: 50.18 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.360523822251707]