Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001244/0.001244, 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 1.011/1.011, allocations: 177.2 MB / 200 MB, free: 5.555 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.001771/0.001771, allocations: 163.4 kB / 256.6 MB, free: 13.02 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.3007/0.3007, allocations: 80.36 MB / 393.5 MB, free: 2.102 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 490 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.626e-05, allocations: 4.844 kB / 490 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009893/0.009919, allocations: 12.97 MB / 0.4912 GB, free: 14.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007719/0.01764, allocations: 3.52 MB / 0.4946 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.01982, allocations: 28 kB / 0.4946 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.02117, allocations: 0.5668 MB / 0.4952 GB, free: 10.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.02512, allocations: 1.622 MB / 0.4968 GB, free: 8.746 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.02787, allocations: 1.533 MB / 0.4983 GB, free: 7.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0042/0.03207, allocations: 3.802 MB / 0.502 GB, free: 3.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009506/0.03302, allocations: 0.5776 MB / 0.5026 GB, free: 2.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.03616, allocations: 2.158 MB / 0.5047 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.03806, allocations: 1.604 MB / 0.5062 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005146/0.03858, allocations: 295.9 kB / 0.5065 GB, free: 14.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.03942, allocations: 451.8 kB / 0.5069 GB, free: 14.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.03994, allocations: 0.7856 MB / 0.5077 GB, free: 13.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.04121, allocations: 1.102 MB / 0.5088 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.04473, allocations: 2.922 MB / 0.5116 GB, free: 9.461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.04473, allocations: 0 / 0.5116 GB, free: 9.461 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04473, allocations: 0 / 0.5116 GB, free: 9.461 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.908e-05/0.04482, allocations: 0 / 0.5116 GB, free: 9.461 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.01377/0.0586, allocations: 7.645 MB / 0.5191 GB, free: 1.695 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.05864, allocations: 8.031 kB / 0.5191 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.07289, allocations: 2.733 MB / 0.5218 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/0.07828, allocations: 1.773 MB / 0.5235 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007428/0.07902, allocations: 0.8139 MB / 0.5243 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000735/0.07976, allocations: 220 kB / 0.5245 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005348/0.0851, allocations: 2.019 MB / 0.5265 GB, free: 9.832 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.08515, allocations: 0 / 0.5265 GB, free: 9.832 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.08543, allocations: 83.94 kB / 0.5266 GB, free: 9.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.08548, allocations: 48 kB / 0.5266 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/0.08866, allocations: 1.327 MB / 0.5279 GB, free: 8.34 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.01308/0.1017, allocations: 6.967 MB / 0.5347 GB, free: 1.207 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005158/0.1069, allocations: 2.143 MB / 0.5368 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.1085, allocations: 0.8975 MB / 0.5377 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.1087, allocations: 53.98 kB / 0.5377 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002146/0.1108, allocations: 1.321 MB / 0.539 GB, free: 12.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.771e-06/0.1108, allocations: 0 / 0.539 GB, free: 12.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.09609/0.2069, allocations: 20.68 MB / 0.5592 GB, free: 7.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.207, allocations: 184.2 kB / 0.5594 GB, free: 7.699 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.2093, allocations: 2.076 MB / 0.5614 GB, free: 5.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004964/0.2098, allocations: 73.7 kB / 0.5615 GB, free: 5.535 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.2105, allocations: 1.266 MB / 0.5627 GB, free: 4.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000824/0.2113, allocations: 0.9219 MB / 0.5636 GB, free: 3.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009593/0.2123, allocations: 0.5692 MB / 0.5642 GB, free: 2.746 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.2124, allocations: 476.8 kB / 0.5646 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.2138, allocations: 0.9734 MB / 0.5656 GB, free: 1.277 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.2154, allocations: 1.434 MB / 0.567 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/0.2203, allocations: 3.75 MB / 0.5707 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.2203, allocations: 0 / 0.5707 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01669/0.237, allocations: 8.521 MB / 0.579 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.2371, allocations: 114.8 kB / 0.5791 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.2371, allocations: 8 kB / 0.5791 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01385/0.2509, allocations: 5.309 MB / 0.5843 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.2531, allocations: 0.5734 MB / 0.5848 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.2726, allocations: 9.466 MB / 0.5941 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.2752, allocations: 418 kB / 0.5945 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.2755, allocations: 116 kB / 0.5946 GB, free: 2.938 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.0008723/0.2764, allocations: 401.2 kB / 0.595 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/0.277, allocations: 382 kB / 0.5953 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2041/0.4811, allocations: 7.85 MB / 0.603 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.4812, allocations: 24.47 kB / 0.603 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-05/0.4812, allocations: 19.44 kB / 0.6031 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-05/0.4812, allocations: 12.7 kB / 0.6031 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/0.5018, allocations: 10.22 MB / 0.613 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.5018, allocations: 1.406 kB / 0.613 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.5029, allocations: 250.7 kB / 0.6133 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01391/0.5168, allocations: 5.33 MB / 0.6185 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005108/0.5173, allocations: 53 kB / 0.6185 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/0.5366, allocations: 13.38 MB / 0.6316 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5366, allocations: 0 / 0.6316 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/0.554, allocations: 8.832 MB / 0.6402 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/0.5547, allocations: 348.2 kB / 0.6406 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.5552, allocations: 48 kB / 0.6406 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.5566, allocations: 223.7 kB / 0.6408 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/0.5579, allocations: 0.5683 MB / 0.6414 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.5581, allocations: 67.97 kB / 0.6414 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001189/0.5592, allocations: 1.255 MB / 0.6427 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5592, allocations: 4 kB / 0.6427 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00255/0.5618, allocations: 1.178 MB / 0.6438 GB, free: 137.5 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.0003928/0.5622, allocations: 178 kB / 0.644 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007234/0.5694, allocations: 4.424 MB / 0.6483 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5694, allocations: 1.75 kB / 0.6483 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005467/0.5749, allocations: 3.334 MB / 0.6516 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.5766, allocations: 315.4 kB / 0.6519 GB, free: 129 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/0.5834, allocations: 4.994 MB / 0.6567 GB, free: 124 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.5838, allocations: 0.5442 MB / 0.6573 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006443/0.5845, allocations: 258.5 kB / 0.6575 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.5849, allocations: 184.4 kB / 0.6577 GB, free: 123 MB / 0.5105 GB Notification: Performance of SimCode: time 2.114e-06/0.5849, allocations: 0.5469 kB / 0.6577 GB, free: 123 MB / 0.5105 GB Notification: Performance of Templates: time 0.06672/0.6516, allocations: 73.23 MB / 0.7292 GB, free: 50.09 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.549578687176108]