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.0009426/0.0009426, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9362/0.9362, allocations: 177.2 MB / 200 MB, free: 5.527 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.001472/0.001472, allocations: 168.6 kB / 256.6 MB, free: 12.99 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.2661/0.2661, allocations: 80.24 MB / 393.4 MB, free: 2.164 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.623e-06/1.623e-06, allocations: 0 / 489.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.313e-05, allocations: 2.312 kB / 489.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005071/0.005094, allocations: 6.251 MB / 496.1 MB, free: 5.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.00795, allocations: 1.956 MB / 498 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.008312, allocations: 16.75 kB / 498 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.008869, allocations: 241.8 kB / 498.3 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.01015, allocations: 0.8716 MB / 499.1 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.01094, allocations: 0.6441 MB / 499.8 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.01199, allocations: 1.572 MB / 0.4896 GB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.0123, allocations: 214.9 kB / 0.4898 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007707/0.01307, allocations: 0.9077 MB / 0.4907 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.01364, allocations: 0.6754 MB / 0.4914 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.01378, allocations: 124 kB / 0.4915 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.01423, allocations: 271.8 kB / 0.4917 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.01443, allocations: 334.5 kB / 0.4921 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.01473, allocations: 456.3 kB / 0.4925 GB, free: 13.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.01573, allocations: 1.226 MB / 0.4937 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01573, allocations: 0 / 0.4937 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01573, allocations: 0 / 0.4937 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.01575, allocations: 4 kB / 0.4937 GB, free: 11.82 MB / 426.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.004391/0.02014, allocations: 2.919 MB / 0.4965 GB, free: 8.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.02018, allocations: 9.625 kB / 0.4966 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.02275, allocations: 0.9269 MB / 0.4975 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.02364, allocations: 0.7991 MB / 0.4982 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.02383, allocations: 333.3 kB / 0.4986 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.02394, allocations: 80 kB / 0.4986 GB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.02498, allocations: 0.7539 MB / 0.4994 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.025, allocations: 0 / 0.4994 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.02507, allocations: 35.94 kB / 0.4994 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.02508, allocations: 16 kB / 0.4994 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.02582, allocations: 0.4896 MB / 0.4999 GB, free: 5.316 MB / 426.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.003266/0.02909, allocations: 2.694 MB / 0.5025 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.03161, allocations: 1.25 MB / 0.5037 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.03205, allocations: 343.9 kB / 0.5041 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.03212, allocations: 20.94 kB / 0.5041 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/0.03272, allocations: 0.5221 MB / 0.5046 GB, free: 356 kB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.335e-06/0.03272, allocations: 0 / 0.5046 GB, free: 356 kB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01163/0.04435, allocations: 5.102 MB / 0.5096 GB, free: 11.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.0444, allocations: 111.8 kB / 0.5097 GB, free: 11.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.04522, allocations: 0.9837 MB / 0.5107 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.0453, allocations: 41.7 kB / 0.5107 GB, free: 10.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.04558, allocations: 0.551 MB / 0.5112 GB, free: 9.469 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.04582, allocations: 368.9 kB / 0.5116 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.04613, allocations: 289.1 kB / 0.5119 GB, free: 8.816 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.04624, allocations: 488.7 kB / 0.5123 GB, free: 8.336 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.04692, allocations: 431.2 kB / 0.5127 GB, free: 7.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.04759, allocations: 0.6299 MB / 0.5134 GB, free: 7.207 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.0494, allocations: 1.613 MB / 0.5149 GB, free: 5.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.0494, allocations: 0 / 0.5149 GB, free: 5.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005886/0.05529, allocations: 3.051 MB / 0.5179 GB, free: 2.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.05535, allocations: 63.41 kB / 0.518 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.05537, allocations: 4 kB / 0.518 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/0.05974, allocations: 1.633 MB / 0.5196 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.06055, allocations: 275.6 kB / 0.5198 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/0.06684, allocations: 4.488 MB / 0.5242 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.06765, allocations: 167.2 kB / 0.5244 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.06773, allocations: 59.97 kB / 0.5244 GB, free: 11.59 MB / 458.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.0003601/0.06809, allocations: 266.8 kB / 0.5247 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.06826, allocations: 159.1 kB / 0.5248 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.07302, allocations: 2.588 MB / 0.5274 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.07303, allocations: 12 kB / 0.5274 GB, free: 8.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.07304, allocations: 4 kB / 0.5274 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.07304, allocations: 3.984 kB / 0.5274 GB, free: 8.512 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/0.0787, allocations: 3.648 MB / 0.5309 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.07871, allocations: 4 kB / 0.5309 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.07899, allocations: 91.91 kB / 0.531 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/0.08309, allocations: 1.651 MB / 0.5326 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.08315, allocations: 23.98 kB / 0.5327 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/0.09, allocations: 6.385 MB / 0.5389 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.09, allocations: 8 kB / 0.5389 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/0.09532, allocations: 3.034 MB / 0.5419 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.09548, allocations: 142.9 kB / 0.542 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.09559, allocations: 20 kB / 0.542 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.09604, allocations: 79.92 kB / 0.5421 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.09637, allocations: 192.6 kB / 0.5423 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.09642, allocations: 28 kB / 0.5423 GB, free: 8.828 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005138/0.09693, allocations: 0.6213 MB / 0.5429 GB, free: 8.199 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09693, allocations: 0 / 0.5429 GB, free: 8.199 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009646/0.09789, allocations: 467.6 kB / 0.5434 GB, free: 7.742 MB / 474.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.000264/0.09816, allocations: 143 kB / 0.5435 GB, free: 7.594 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002537/0.1007, allocations: 1.809 MB / 0.5453 GB, free: 5.715 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1007, allocations: 0 / 0.5453 GB, free: 5.715 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.1023, allocations: 1.308 MB / 0.5466 GB, free: 4.348 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1028, allocations: 122.8 kB / 0.5467 GB, free: 4.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.1055, allocations: 2.039 MB / 0.5487 GB, free: 2.145 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.1056, allocations: 245.5 kB / 0.5489 GB, free: 1.879 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.1059, allocations: 107.9 kB / 0.549 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.106, allocations: 88.47 kB / 0.5491 GB, free: 1.684 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/0.106, allocations: 0 / 0.5491 GB, free: 1.684 MB / 474.7 MB Notification: Performance of Templates: time 0.02741/0.1334, allocations: 27.86 MB / 0.5763 GB, free: 5.93 MB / 0.4948 GB " [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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8937921561300755]