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.001067/0.001067, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9582/0.9582, allocations: 177.2 MB / 200.5 MB, free: 5.539 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.001685/0.001685, allocations: 156.6 kB / 257 MB, free: 13.07 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.2906/0.2906, allocations: 80.24 MB / 393.7 MB, free: 3.289 MB / 362.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.443e-06/1.443e-06, allocations: 0 / 489.9 MB, free: 63.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.519e-05, allocations: 2.312 kB / 489.9 MB, free: 63.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.00775/0.007766, allocations: 12.86 MB / 0.4909 GB, free: 50.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.01331, allocations: 3.474 MB / 0.4943 GB, free: 47.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.0142, allocations: 28 kB / 0.4944 GB, free: 47.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.01511, allocations: 0.5549 MB / 0.4949 GB, free: 46.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.01724, allocations: 1.607 MB / 0.4965 GB, free: 44.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.01911, allocations: 1.526 MB / 0.498 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.02094, allocations: 3.743 MB / 0.5016 GB, free: 39.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.02146, allocations: 0.5814 MB / 0.5022 GB, free: 39.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.02262, allocations: 2.127 MB / 0.5043 GB, free: 36.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.02353, allocations: 1.567 MB / 0.5058 GB, free: 35.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.02373, allocations: 288 kB / 0.5061 GB, free: 35.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.02418, allocations: 448.9 kB / 0.5065 GB, free: 34.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.02451, allocations: 0.7816 MB / 0.5073 GB, free: 33.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.02505, allocations: 1.078 MB / 0.5083 GB, free: 32.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.02672, allocations: 2.887 MB / 0.5111 GB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.02673, allocations: 0 / 0.5111 GB, free: 29.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02673, allocations: 1.094 kB / 0.5111 GB, free: 29.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.02675, allocations: 0 / 0.5111 GB, free: 29.82 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01098/0.03773, allocations: 7.571 MB / 0.5185 GB, free: 22.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.03777, allocations: 12.03 kB / 0.5185 GB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008376/0.04615, allocations: 2.729 MB / 0.5212 GB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.04791, allocations: 1.75 MB / 0.5229 GB, free: 17.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.04825, allocations: 0.8101 MB / 0.5237 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.0485, allocations: 223.9 kB / 0.5239 GB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.05088, allocations: 2.003 MB / 0.5259 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.05091, allocations: 0 / 0.5259 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.05109, allocations: 87.98 kB / 0.526 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.05112, allocations: 56 kB / 0.526 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.05311, allocations: 1.323 MB / 0.5273 GB, free: 12.87 MB / 410.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.007977/0.06109, allocations: 6.97 MB / 0.5341 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.06447, allocations: 2.124 MB / 0.5362 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.06553, allocations: 0.8975 MB / 0.5371 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.06571, allocations: 57.92 kB / 0.5371 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.06708, allocations: 1.309 MB / 0.5384 GB, free: 1.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 3.957e-06/0.06708, allocations: 0 / 0.5384 GB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.05255/0.1196, allocations: 21.24 MB / 0.5591 GB, free: 11.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.1197, allocations: 192.1 kB / 0.5593 GB, free: 11.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.1218, allocations: 2.044 MB / 0.5613 GB, free: 9.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/0.1221, allocations: 69.7 kB / 0.5614 GB, free: 9.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/0.1228, allocations: 1.258 MB / 0.5626 GB, free: 8.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006936/0.1235, allocations: 0.9102 MB / 0.5635 GB, free: 7.355 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007174/0.1242, allocations: 0.569 MB / 0.5641 GB, free: 6.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1243, allocations: 480.7 kB / 0.5645 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.1257, allocations: 0.9656 MB / 0.5655 GB, free: 5.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.1273, allocations: 1.422 MB / 0.5669 GB, free: 3.734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004465/0.1318, allocations: 3.74 MB / 0.5705 GB, free: 15.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.1318, allocations: 0 / 0.5705 GB, free: 15.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01663/0.1484, allocations: 8.49 MB / 0.5788 GB, free: 7.188 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.949e-05/0.1485, allocations: 110.8 kB / 0.5789 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.1485, allocations: 8 kB / 0.5789 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01372/0.1622, allocations: 5.345 MB / 0.5841 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.164, allocations: 0.5578 MB / 0.5847 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.1823, allocations: 9.451 MB / 0.5939 GB, free: 7.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.1848, allocations: 406.1 kB / 0.5943 GB, free: 7.145 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.185, allocations: 116 kB / 0.5944 GB, free: 7.031 MB / 474.7 MB 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.0008463/0.1858, allocations: 392.4 kB / 0.5948 GB, free: 6.625 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.1863, allocations: 386 kB / 0.5951 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.2019, allocations: 7.836 MB / 0.6028 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.2019, allocations: 32 kB / 0.6028 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/0.2019, allocations: 16 kB / 0.6028 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.202, allocations: 19.89 kB / 0.6029 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/0.2204, allocations: 10.2 MB / 0.6128 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.2204, allocations: 0 / 0.6128 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/0.2211, allocations: 247.7 kB / 0.6131 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2122/0.4334, allocations: 5.278 MB / 0.6182 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000642/0.434, allocations: 52.98 kB / 0.6183 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.4542, allocations: 13.39 MB / 0.6313 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4542, allocations: 4.094 kB / 0.6313 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/0.4718, allocations: 8.811 MB / 0.6399 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/0.4725, allocations: 342.6 kB / 0.6403 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.4729, allocations: 43.78 kB / 0.6403 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.4741, allocations: 222.4 kB / 0.6405 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/0.4757, allocations: 0.5743 MB / 0.6411 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.4758, allocations: 67.36 kB / 0.6411 GB, free: 124.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.477, allocations: 1.227 MB / 0.6423 GB, free: 124.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.477, allocations: 0 / 0.6423 GB, free: 124.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002608/0.4797, allocations: 1.168 MB / 0.6435 GB, free: 123.9 MB / 490.7 MB 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.0003996/0.4801, allocations: 174.8 kB / 0.6437 GB, free: 123.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007008/0.4871, allocations: 4.43 MB / 0.648 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4871, allocations: 0 / 0.648 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005283/0.4924, allocations: 3.31 MB / 0.6512 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.494, allocations: 318.4 kB / 0.6515 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.5023, allocations: 4.912 MB / 0.6563 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.5028, allocations: 0.5365 MB / 0.6568 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00103/0.5039, allocations: 255.4 kB / 0.6571 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.5043, allocations: 180.5 kB / 0.6573 GB, free: 111.5 MB / 490.7 MB Notification: Performance of SimCode: time 4.028e-06/0.5043, allocations: 0 / 0.6573 GB, free: 111.5 MB / 490.7 MB Notification: Performance of Templates: time 0.06934/0.5737, allocations: 72.64 MB / 0.7282 GB, free: 39.62 MB / 490.7 MB " [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: 5.322923205094412]