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.002664/0.002664, allocations: 85.48 kB / 19.44 MB, free: 344 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.664/1.664, allocations: 177.1 MB / 199.7 MB, free: 5.785 MB / 186.7 MB " [Timeout remaining time 178] 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.002086/0.002086, allocations: 164.6 kB / 256.3 MB, free: 13.14 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.4917/0.4917, allocations: 80.25 MB / 393 MB, free: 2.199 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.894e-06/1.894e-06, allocations: 0 / 489.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.386e-05, allocations: 3.094 kB / 489.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01714/0.01717, allocations: 12.82 MB / 0.4902 GB, free: 14.99 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.02741, allocations: 3.484 MB / 0.4936 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.03082, allocations: 34.25 kB / 0.4936 GB, free: 11.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.03354, allocations: 0.5614 MB / 0.4942 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007586/0.04113, allocations: 1.603 MB / 0.4957 GB, free: 9.328 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005151/0.04628, allocations: 1.518 MB / 0.4972 GB, free: 7.848 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007552/0.05383, allocations: 3.751 MB / 0.5009 GB, free: 4.082 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.05595, allocations: 0.5788 MB / 0.5015 GB, free: 3.441 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006008/0.06196, allocations: 2.119 MB / 0.5035 GB, free: 1.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.06562, allocations: 1.574 MB / 0.5051 GB, free: 15.74 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.06689, allocations: 284 kB / 0.5053 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.06881, allocations: 452.3 kB / 0.5058 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.07033, allocations: 0.77 MB / 0.5065 GB, free: 14.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.07323, allocations: 1.09 MB / 0.5076 GB, free: 13.15 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.08129, allocations: 4.099 MB / 0.5116 GB, free: 9.039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.08129, allocations: 0 / 0.5116 GB, free: 9.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.08129, allocations: 0 / 0.5116 GB, free: 9.039 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001932/0.08149, allocations: 0 / 0.5116 GB, free: 9.039 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.02913/0.1106, allocations: 8.137 MB / 0.5195 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1107, allocations: 8.031 kB / 0.5195 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.1266, allocations: 2.733 MB / 0.5222 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005062/0.1317, allocations: 1.819 MB / 0.524 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009946/0.1327, allocations: 0.81 MB / 0.5248 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008903/0.1336, allocations: 220 kB / 0.525 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007164/0.1408, allocations: 3.081 MB / 0.528 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.1408, allocations: 4 kB / 0.528 GB, free: 7.812 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.1411, allocations: 91.98 kB / 0.5281 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.1411, allocations: 51.94 kB / 0.5281 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006563/0.1477, allocations: 2.682 MB / 0.5308 GB, free: 4.961 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.02138/0.1691, allocations: 8.11 MB / 0.5387 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.1792, allocations: 3.121 MB / 0.5417 GB, free: 9.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004357/0.1835, allocations: 1.788 MB / 0.5435 GB, free: 7.715 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.1839, allocations: 45.98 kB / 0.5435 GB, free: 7.672 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005087/0.189, allocations: 2.296 MB / 0.5458 GB, free: 5.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 4.99e-06/0.189, allocations: 0 / 0.5458 GB, free: 5.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.1202/0.3092, allocations: 24.82 MB / 0.57 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.3094, allocations: 192.1 kB / 0.5702 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/0.3138, allocations: 2.629 MB / 0.5727 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006266/0.3144, allocations: 73.7 kB / 0.5728 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.3158, allocations: 1.348 MB / 0.5741 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001965/0.3178, allocations: 0.961 MB / 0.5751 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.3192, allocations: 0.6549 MB / 0.5757 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002381/0.3194, allocations: 480.8 kB / 0.5762 GB, free: 6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004568/0.324, allocations: 1.922 MB / 0.578 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005194/0.3292, allocations: 2.449 MB / 0.5804 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/0.3446, allocations: 6.977 MB / 0.5873 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.3446, allocations: 4 kB / 0.5873 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.2454/0.5901, allocations: 11.29 MB / 0.5983 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/0.5901, allocations: 117.8 kB / 0.5984 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.5902, allocations: 6.5 kB / 0.5984 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02942/0.6196, allocations: 6.572 MB / 0.6048 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.6227, allocations: 0.5622 MB / 0.6054 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05683/0.6795, allocations: 21.73 MB / 0.6266 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/0.6839, allocations: 412.2 kB / 0.627 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005545/0.6845, allocations: 117.4 kB / 0.6271 GB, free: 145.8 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.001317/0.6858, allocations: 0.5656 MB / 0.6276 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009161/0.6867, allocations: 386.8 kB / 0.628 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/0.7193, allocations: 10.53 MB / 0.6383 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.7194, allocations: 24 kB / 0.6383 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/0.7194, allocations: 24 kB / 0.6383 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/0.7195, allocations: 11.44 kB / 0.6384 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03642/0.7559, allocations: 13.43 MB / 0.6515 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/0.7559, allocations: 0 / 0.6515 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.7574, allocations: 243.6 kB / 0.6517 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02833/0.7858, allocations: 6.549 MB / 0.6581 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007952/0.7866, allocations: 51.98 kB / 0.6581 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05001/0.8366, allocations: 24.5 MB / 0.6821 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.8366, allocations: 4 kB / 0.6821 GB, free: 98.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03729/0.8739, allocations: 12.97 MB / 0.6947 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.8753, allocations: 346.9 kB / 0.6951 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009425/0.8762, allocations: 47.98 kB / 0.6951 GB, free: 85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/0.8791, allocations: 223.8 kB / 0.6953 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/0.8809, allocations: 0.6073 MB / 0.6959 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/0.8811, allocations: 63.98 kB / 0.696 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001935/0.883, allocations: 1.592 MB / 0.6975 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.883, allocations: 0 / 0.6975 GB, free: 82.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004246/0.8873, allocations: 1.168 MB / 0.6987 GB, free: 81.39 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.0005157/0.8878, allocations: 186.8 kB / 0.6989 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01593/0.9037, allocations: 6.354 MB / 0.7051 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9037, allocations: 4 kB / 0.7051 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01143/0.9152, allocations: 4.249 MB / 0.7092 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.9176, allocations: 329.2 kB / 0.7095 GB, free: 70.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008901/0.9265, allocations: 5.401 MB / 0.7148 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.9275, allocations: 1.256 MB / 0.716 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001165/0.9287, allocations: 251.2 kB / 0.7163 GB, free: 63.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.9293, allocations: 180.4 kB / 0.7165 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of SimCode: time 3.317e-06/0.9293, allocations: 0 / 0.7165 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.0965/1.026, allocations: 72.62 MB / 0.7874 GB, free: 6.582 MB / 0.5261 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: 9.191603665007278]