Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001009/0.001009, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.9812/0.9812, allocations: 177.1 MB / 200.3 MB, free: 5.707 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.001245/0.001245, allocations: 152.7 kB / 256.9 MB, free: 12.98 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.2868/0.2868, allocations: 83.3 MB / 396.7 MB, free: 192 kB / 362.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 494.5 MB, free: 58.47 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.882e-05, allocations: 6.141 kB / 494.5 MB, free: 58.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01234/0.01236, allocations: 19.93 MB / 0.5024 GB, free: 38.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.0238, allocations: 4.874 MB / 0.5071 GB, free: 33.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003705/0.02751, allocations: 47.94 kB / 0.5072 GB, free: 33.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.02937, allocations: 0.8788 MB / 0.508 GB, free: 32.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.03474, allocations: 2.398 MB / 0.5104 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.03829, allocations: 2.053 MB / 0.5124 GB, free: 28.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005301/0.04359, allocations: 5.869 MB / 0.5181 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.04484, allocations: 0.8665 MB / 0.5189 GB, free: 21.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.04864, allocations: 3.342 MB / 0.5222 GB, free: 18.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.05027, allocations: 2.293 MB / 0.5244 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.05063, allocations: 440.8 kB / 0.5249 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.05141, allocations: 0.5896 MB / 0.5254 GB, free: 14.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.05189, allocations: 1.176 MB / 0.5266 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.05303, allocations: 1.729 MB / 0.5283 GB, free: 11.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.0564, allocations: 4.489 MB / 0.5327 GB, free: 7.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.05641, allocations: 0 / 0.5327 GB, free: 7.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.05641, allocations: 0.5625 kB / 0.5327 GB, free: 7.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.05645, allocations: 1.25 kB / 0.5327 GB, free: 7.395 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01378/0.07023, allocations: 10.23 MB / 0.5427 GB, free: 13.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.07028, allocations: 12.03 kB / 0.5427 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/0.08324, allocations: 4.796 MB / 0.5474 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.08626, allocations: 2.488 MB / 0.5498 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005544/0.08681, allocations: 1.017 MB / 0.5508 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/0.08721, allocations: 352 kB / 0.5511 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/0.09057, allocations: 2.807 MB / 0.5539 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/0.09061, allocations: 4 kB / 0.5539 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.09086, allocations: 136 kB / 0.554 GB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.0909, allocations: 87.94 kB / 0.5541 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.09301, allocations: 1.595 MB / 0.5556 GB, free: 15.48 MB / 442.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.01491/0.1079, allocations: 11.74 MB / 0.5671 GB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/0.1112, allocations: 2.309 MB / 0.5693 GB, free: 1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.1123, allocations: 0.9858 MB / 0.5703 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.1126, allocations: 90.94 kB / 0.5704 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.1143, allocations: 1.635 MB / 0.572 GB, free: 14.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=383): time 5.28e-06/0.1143, allocations: 0 / 0.572 GB, free: 14.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=383): time 0.3397/0.4539, allocations: 55.33 MB / 0.626 GB, free: 131.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.454, allocations: 153.5 kB / 0.6262 GB, free: 131.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.457, allocations: 2.874 MB / 0.629 GB, free: 131.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004663/0.4575, allocations: 90.64 kB / 0.6291 GB, free: 131.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009865/0.4585, allocations: 2.131 MB / 0.6311 GB, free: 131.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009581/0.4594, allocations: 1.39 MB / 0.6325 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/0.4602, allocations: 0.7113 MB / 0.6332 GB, free: 130.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.4603, allocations: 479.7 kB / 0.6337 GB, free: 129.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.4617, allocations: 1.016 MB / 0.6346 GB, free: 129.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4633, allocations: 1.862 MB / 0.6365 GB, free: 128.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004402/0.4677, allocations: 4.532 MB / 0.6409 GB, free: 124.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.4678, allocations: 4 kB / 0.6409 GB, free: 124.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.0189/0.4867, allocations: 11.29 MB / 0.6519 GB, free: 113.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.4867, allocations: 67.39 kB / 0.652 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.4867, allocations: 16 kB / 0.652 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01782/0.5046, allocations: 7.33 MB / 0.6592 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.5066, allocations: 0.667 MB / 0.6598 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.5284, allocations: 13.13 MB / 0.6726 GB, free: 92.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.5316, allocations: 0.5356 MB / 0.6732 GB, free: 91.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.5318, allocations: 116 kB / 0.6733 GB, free: 91.71 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.533, allocations: 416.7 kB / 0.6737 GB, free: 91.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006293/0.5336, allocations: 0.583 MB / 0.6742 GB, free: 90.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/0.5516, allocations: 10.65 MB / 0.6846 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.5516, allocations: 36 kB / 0.6847 GB, free: 79.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.5516, allocations: 28 kB / 0.6847 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.5516, allocations: 19.92 kB / 0.6847 GB, free: 79.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/0.5727, allocations: 13.35 MB / 0.6977 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5727, allocations: 0 / 0.6977 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/0.5737, allocations: 391.5 kB / 0.6981 GB, free: 66.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/0.5912, allocations: 7.53 MB / 0.7055 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/0.5915, allocations: 71.98 kB / 0.7055 GB, free: 58.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/0.6124, allocations: 14.57 MB / 0.7198 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6124, allocations: 0 / 0.7198 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/0.6325, allocations: 11.66 MB / 0.7312 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000922/0.6334, allocations: 0.5027 MB / 0.7316 GB, free: 31.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/0.6337, allocations: 68 kB / 0.7317 GB, free: 31.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.6353, allocations: 279.7 kB / 0.732 GB, free: 31.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/0.6365, allocations: 0.7723 MB / 0.7327 GB, free: 30.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.6367, allocations: 67.98 kB / 0.7328 GB, free: 30.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009558/0.6376, allocations: 1.612 MB / 0.7344 GB, free: 28.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6376, allocations: 0 / 0.7344 GB, free: 28.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003086/0.6407, allocations: 1.798 MB / 0.7361 GB, free: 27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003858/0.6411, allocations: 197.7 kB / 0.7363 GB, free: 26.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007973/0.6491, allocations: 5.637 MB / 0.7418 GB, free: 21.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6491, allocations: 4.25 kB / 0.7418 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005833/0.6549, allocations: 4.274 MB / 0.746 GB, free: 16.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.6562, allocations: 461.9 kB / 0.7464 GB, free: 16.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007972/0.6642, allocations: 7.334 MB / 0.7536 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.6647, allocations: 0.802 MB / 0.7544 GB, free: 8.078 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006582/0.6654, allocations: 363.1 kB / 0.7547 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/0.6661, allocations: 0.5021 MB / 0.7552 GB, free: 7.219 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6661, allocations: 0 / 0.7552 GB, free: 7.219 MB / 490.7 MB Notification: Performance of Templates: time 0.3033/0.9694, allocations: 104.7 MB / 0.8575 GB, free: 168.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.295368385966867]