Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001532/0.001532, allocations: 80.75 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 0.9821/0.9821, allocations: 177.1 MB / 200.3 MB, free: 5.684 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.001336/0.001336, allocations: 160.6 kB / 257 MB, free: 12.96 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.4516/0.4516, allocations: 80.24 MB / 340.5 MB, free: 9.645 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 383.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.33e-05, allocations: 2.312 kB / 383.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005184/0.005207, allocations: 6.144 MB / 390 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.009376, allocations: 2.051 MB / 392 MB, free: 6.406 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008261/0.0102, allocations: 15.94 kB / 392.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.01083, allocations: 237.9 kB / 392.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.01249, allocations: 0.8736 MB / 393.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.01348, allocations: 0.6352 MB / 393.8 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.015, allocations: 1.572 MB / 395.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.01535, allocations: 224.8 kB / 395.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.0165, allocations: 0.9116 MB / 396.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.01721, allocations: 0.6737 MB / 397.2 MB, free: 1.227 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.01737, allocations: 124 kB / 397.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.0178, allocations: 287.8 kB / 397.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.01801, allocations: 338.5 kB / 397.9 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.01831, allocations: 458.4 kB / 398.4 MB, free: 44 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.01934, allocations: 1.218 MB / 399.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01934, allocations: 0 / 399.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01934, allocations: 0 / 399.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.01935, allocations: 0 / 399.6 MB, free: 14.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004092/0.02345, allocations: 2.642 MB / 402.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.02348, allocations: 12.03 kB / 402.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.02638, allocations: 0.9792 MB / 403.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/0.02719, allocations: 0.5856 MB / 403.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.02737, allocations: 333.3 kB / 404.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02747, allocations: 83.94 kB / 404.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.02821, allocations: 0.6924 MB / 404.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.02823, allocations: 0 / 404.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.02828, allocations: 31.94 kB / 404.9 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.02829, allocations: 16 kB / 404.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.02876, allocations: 342.3 kB / 405.3 MB, free: 8.949 MB / 378.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.002631/0.03139, allocations: 1.891 MB / 407.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.03349, allocations: 1.166 MB / 408.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.03376, allocations: 245.3 kB / 408.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.03383, allocations: 28.98 kB / 408.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.03428, allocations: 474 kB / 409.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.494e-06/0.03429, allocations: 0 / 409.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.01007/0.04436, allocations: 4.668 MB / 413.7 MB, free: 360 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.04441, allocations: 115.8 kB / 413.8 MB, free: 220 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/0.04519, allocations: 0.8489 MB / 414.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.04527, allocations: 49.73 kB / 414.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.04546, allocations: 375.2 kB / 415.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.04569, allocations: 368.8 kB / 415.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.04598, allocations: 271.3 kB / 415.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.04605, allocations: 309.1 kB / 416 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.04654, allocations: 374.1 kB / 416.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.04712, allocations: 0.5353 MB / 416.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.04872, allocations: 1.496 MB / 418.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.04873, allocations: 0 / 418.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004504/0.05323, allocations: 2.69 MB / 421.1 MB, free: 8.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.05328, allocations: 62.67 kB / 421.2 MB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.05329, allocations: 4 kB / 421.2 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.05703, allocations: 1.576 MB / 422.8 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.05784, allocations: 335.4 kB / 423.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.06261, allocations: 3.487 MB / 426.6 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/0.06339, allocations: 167.1 kB / 426.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.06346, allocations: 39.98 kB / 426.8 MB, free: 2.953 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (155): * 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: 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003359/0.06379, allocations: 207.1 kB / 427 MB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.06393, allocations: 107.8 kB / 427.1 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/0.06783, allocations: 2.302 MB / 429.4 MB, free: 296 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.06784, allocations: 8 kB / 429.4 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.06785, allocations: 8 kB / 429.4 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.06786, allocations: 7.969 kB / 429.4 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.07283, allocations: 2.964 MB / 432.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.07284, allocations: 7.938 kB / 432.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.07319, allocations: 107.9 kB / 432.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003665/0.07685, allocations: 1.612 MB / 434.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/0.07693, allocations: 16 kB / 434.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/0.08239, allocations: 4.768 MB / 438.9 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.08239, allocations: 0 / 438.9 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/0.08695, allocations: 2.63 MB / 441.5 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.08721, allocations: 126.9 kB / 441.6 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.08731, allocations: 31.86 kB / 441.7 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.08772, allocations: 71.94 kB / 441.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/0.08807, allocations: 192.6 kB / 441.9 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.08811, allocations: 19.98 kB / 441.9 MB, free: 3.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.08846, allocations: 438.8 kB / 442.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.08846, allocations: 4 kB / 442.4 MB, free: 2.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009532/0.08942, allocations: 471.6 kB / 442.8 MB, free: 2.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.08963, allocations: 124.2 kB / 443 MB, free: 2.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.09181, allocations: 1.6 MB / 444.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.09182, allocations: 12.19 kB / 444.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1479/0.2398, allocations: 1.081 MB / 445.7 MB, free: 65.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.2406, allocations: 132.5 kB / 445.8 MB, free: 65.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.2436, allocations: 1.994 MB / 447.8 MB, free: 64.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2439, allocations: 241.5 kB / 448 MB, free: 64.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.2442, allocations: 115.2 kB / 448.1 MB, free: 64.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.2446, allocations: 187.1 kB / 448.3 MB, free: 64.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.314e-06/0.2446, allocations: 0 / 448.3 MB, free: 64.54 MB / 410.7 MB Notification: Performance of Templates: time 0.02889/0.2735, allocations: 27.02 MB / 475.3 MB, free: 46.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7574923201464117]