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.0009859/0.0009859, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1.027/1.027, allocations: 177.2 MB / 200.3 MB, free: 4.824 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.001257/0.001257, allocations: 159.5 kB / 257 MB, free: 12.62 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.4225/0.4225, allocations: 80.23 MB / 340.5 MB, free: 9.465 MB / 314.7 MB " [Timeout remaining time 180] 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 2.144e-06/2.144e-06, allocations: 0 / 383.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.285e-05, allocations: 6.25 kB / 383.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01494/0.01497, allocations: 12.53 MB / 396.4 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.02737, allocations: 3.674 MB / 400.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.03115, allocations: 31.94 kB / 400.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.03346, allocations: 0.5771 MB / 400.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.03851, allocations: 1.637 MB / 402.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.0417, allocations: 1.532 MB / 403.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005654/0.04736, allocations: 3.736 MB / 407.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.04866, allocations: 0.6283 MB / 408.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.0523, allocations: 2.143 MB / 410.3 MB, free: 3.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.05448, allocations: 1.577 MB / 411.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000866/0.05535, allocations: 288 kB / 412.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009483/0.0563, allocations: 439.8 kB / 412.6 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.05686, allocations: 0.7816 MB / 413.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.05814, allocations: 1.086 MB / 414.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.06194, allocations: 2.886 MB / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.06195, allocations: 0 / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06195, allocations: 0 / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.06205, allocations: 0 / 417.4 MB, free: 12.9 MB / 394.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.01198/0.07403, allocations: 6.63 MB / 424 MB, free: 6.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.07407, allocations: 12.03 kB / 424 MB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008302/0.08238, allocations: 2.907 MB / 426.9 MB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.08521, allocations: 1.212 MB / 428.1 MB, free: 2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.08586, allocations: 0.8101 MB / 429 MB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.08633, allocations: 224 kB / 429.2 MB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.08879, allocations: 1.829 MB / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.08882, allocations: 0 / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.08897, allocations: 80 kB / 431.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.089, allocations: 55.98 kB / 431.1 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.09046, allocations: 0.8997 MB / 432 MB, free: 13.82 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.009367/0.09983, allocations: 5.005 MB / 437 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.1028, allocations: 1.844 MB / 438.9 MB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.1035, allocations: 0.6199 MB / 439.5 MB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.1037, allocations: 57.98 kB / 439.6 MB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.1049, allocations: 1.173 MB / 440.7 MB, free: 4.871 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 4.819e-06/0.1049, allocations: 0 / 440.7 MB, free: 4.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.2515/0.3564, allocations: 20.03 MB / 460.8 MB, free: 59.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.3565, allocations: 190.5 kB / 461 MB, free: 59.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.3582, allocations: 1.813 MB / 462.8 MB, free: 57.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005392/0.3587, allocations: 74.38 kB / 462.8 MB, free: 57.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.3591, allocations: 0.8035 MB / 463.6 MB, free: 57.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007464/0.3599, allocations: 0.9158 MB / 464.6 MB, free: 57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.3605, allocations: 0.5555 MB / 465.1 MB, free: 56.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.3605, allocations: 301.1 kB / 465.4 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3617, allocations: 0.8262 MB / 466.2 MB, free: 55.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3629, allocations: 1.183 MB / 467.4 MB, free: 54.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.3664, allocations: 3.38 MB / 470.8 MB, free: 51.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.3664, allocations: 4 kB / 470.8 MB, free: 51.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01333/0.3798, allocations: 7.602 MB / 478.4 MB, free: 44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.144e-05/0.3798, allocations: 110.8 kB / 478.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.3799, allocations: 8 kB / 478.5 MB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/0.3915, allocations: 4.981 MB / 483.5 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.3932, allocations: 0.5502 MB / 484.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.4066, allocations: 7.795 MB / 491.8 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.409, allocations: 404.3 kB / 492.2 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.4092, allocations: 91.89 kB / 492.3 MB, free: 30.76 MB / 410.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.0008338/0.4101, allocations: 340.6 kB / 492.7 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.4105, allocations: 256.5 kB / 492.9 MB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.4226, allocations: 7.015 MB / 499.9 MB, free: 23.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.4226, allocations: 24 kB / 500 MB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.4226, allocations: 20 kB / 500 MB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.197e-05/0.4227, allocations: 11.95 kB / 500 MB, free: 23.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.4375, allocations: 8.439 MB / 0.4965 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.4375, allocations: 0 / 0.4965 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.4383, allocations: 241.3 kB / 0.4967 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01165/0.45, allocations: 5.13 MB / 0.5017 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004928/0.4505, allocations: 59.91 kB / 0.5018 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/0.4646, allocations: 10.49 MB / 0.5121 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4646, allocations: 2.5 kB / 0.5121 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.4798, allocations: 7.698 MB / 0.5196 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/0.4806, allocations: 284.1 kB / 0.5198 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.481, allocations: 49.41 kB / 0.5199 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.4822, allocations: 211.8 kB / 0.5201 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/0.4835, allocations: 0.5682 MB / 0.5206 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.4836, allocations: 47.98 kB / 0.5207 GB, free: 5.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008289/0.4844, allocations: 0.969 MB / 0.5216 GB, free: 4.461 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4844, allocations: 0 / 0.5216 GB, free: 4.461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002687/0.4871, allocations: 1.174 MB / 0.5228 GB, free: 3.32 MB / 426.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.0003379/0.4874, allocations: 161.9 kB / 0.5229 GB, free: 3.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.4935, allocations: 3.92 MB / 0.5268 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.13e-05/0.4935, allocations: 24 kB / 0.5268 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004642/0.4981, allocations: 2.855 MB / 0.5296 GB, free: 12.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.4995, allocations: 313.3 kB / 0.5299 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.5065, allocations: 4.828 MB / 0.5346 GB, free: 7.012 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.5071, allocations: 0.5368 MB / 0.5351 GB, free: 6.453 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000975/0.5081, allocations: 258.3 kB / 0.5354 GB, free: 6.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/0.5087, allocations: 353.6 kB / 0.5357 GB, free: 5.855 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5087, allocations: 0 / 0.5357 GB, free: 5.855 MB / 442.7 MB Notification: Performance of Templates: time 0.07929/0.588, allocations: 70.45 MB / 0.6045 GB, free: 15.92 MB / 0.5105 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: 4.9417793918401]