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.001014/0.001014, 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.9712/0.9712, allocations: 177.2 MB / 200.5 MB, free: 5.523 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.00199/0.00199, allocations: 167.4 kB / 257 MB, free: 13.05 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.2872/0.2872, allocations: 80.24 MB / 393.7 MB, free: 2.227 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 2.525e-06/2.525e-06, allocations: 0 / 489.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.159e-05, allocations: 3.312 kB / 489.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005818/0.00585, allocations: 6.229 MB / 496.1 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.01002, allocations: 1.959 MB / 498 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.01096, allocations: 15.94 kB / 498 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.01177, allocations: 242.6 kB / 498.3 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.0136, allocations: 0.8515 MB / 499.1 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/0.01456, allocations: 0.6529 MB / 499.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.01598, allocations: 1.572 MB / 0.4896 GB, free: 400 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.01631, allocations: 210.9 kB / 0.4898 GB, free: 176 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008244/0.01714, allocations: 0.9044 MB / 0.4907 GB, free: 15.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.01774, allocations: 0.6712 MB / 0.4913 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.01787, allocations: 124 kB / 0.4915 GB, free: 14.47 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.01826, allocations: 271.8 kB / 0.4917 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.01849, allocations: 335.2 kB / 0.492 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.01881, allocations: 454.5 kB / 0.4925 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.01995, allocations: 1.231 MB / 0.4937 GB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01995, allocations: 0 / 0.4937 GB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01996, allocations: 0 / 0.4937 GB, free: 12.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.01997, allocations: 0 / 0.4937 GB, free: 12.2 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.005031/0.02501, allocations: 2.915 MB / 0.4965 GB, free: 9.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.02505, allocations: 8.031 kB / 0.4965 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.02822, allocations: 0.9365 MB / 0.4974 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.02925, allocations: 0.8029 MB / 0.4982 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.02945, allocations: 341.2 kB / 0.4985 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.02958, allocations: 80 kB / 0.4986 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.03062, allocations: 0.7501 MB / 0.4994 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.03063, allocations: 0 / 0.4994 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.0307, allocations: 35.94 kB / 0.4994 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.03071, allocations: 19.98 kB / 0.4994 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.03155, allocations: 0.4895 MB / 0.4999 GB, free: 5.68 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.003901/0.03545, allocations: 2.682 MB / 0.5025 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.03816, allocations: 1.255 MB / 0.5037 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.03863, allocations: 331.9 kB / 0.504 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.03871, allocations: 25 kB / 0.5041 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006855/0.0394, allocations: 0.5221 MB / 0.5046 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 4.449e-06/0.0394, allocations: 3.938 kB / 0.5046 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01303/0.05243, allocations: 5.094 MB / 0.5096 GB, free: 11.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.05251, allocations: 115.8 kB / 0.5097 GB, free: 11.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.05385, allocations: 0.9798 MB / 0.5106 GB, free: 10.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.05401, allocations: 45.7 kB / 0.5107 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.05443, allocations: 0.551 MB / 0.5112 GB, free: 9.844 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.05482, allocations: 368.9 kB / 0.5116 GB, free: 9.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.0552, allocations: 285.1 kB / 0.5118 GB, free: 9.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.05536, allocations: 480.7 kB / 0.5123 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.05605, allocations: 431.2 kB / 0.5127 GB, free: 8.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.05684, allocations: 0.6416 MB / 0.5133 GB, free: 7.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.05902, allocations: 1.609 MB / 0.5149 GB, free: 5.891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.05903, allocations: 0 / 0.5149 GB, free: 5.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006363/0.06539, allocations: 3.055 MB / 0.5179 GB, free: 2.793 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.06546, allocations: 59.41 kB / 0.5179 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.06547, allocations: 0 / 0.5179 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/0.07013, allocations: 1.637 MB / 0.5195 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.07098, allocations: 275.6 kB / 0.5198 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/0.07808, allocations: 4.496 MB / 0.5242 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.07909, allocations: 163.2 kB / 0.5243 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.07917, allocations: 51.98 kB / 0.5244 GB, free: 11.97 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.0004632/0.07964, allocations: 263 kB / 0.5246 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.07984, allocations: 159.1 kB / 0.5248 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.08482, allocations: 2.588 MB / 0.5273 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.08483, allocations: 8 kB / 0.5273 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.08484, allocations: 8 kB / 0.5273 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.08485, allocations: 3.984 kB / 0.5273 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/0.09106, allocations: 3.648 MB / 0.5309 GB, free: 5.184 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.09106, allocations: 4 kB / 0.5309 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.09137, allocations: 99.92 kB / 0.531 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004329/0.0957, allocations: 1.651 MB / 0.5326 GB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/0.09576, allocations: 23.98 kB / 0.5326 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007637/0.1034, allocations: 6.386 MB / 0.5389 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1034, allocations: 7.938 kB / 0.5389 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005841/0.1092, allocations: 3.038 MB / 0.5419 GB, free: 9.648 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.1095, allocations: 142.9 kB / 0.542 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.1097, allocations: 20 kB / 0.542 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.1102, allocations: 71.92 kB / 0.5421 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003965/0.1106, allocations: 192.6 kB / 0.5423 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.1106, allocations: 31.98 kB / 0.5423 GB, free: 9.199 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005685/0.1112, allocations: 0.6213 MB / 0.5429 GB, free: 8.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1112, allocations: 0 / 0.5429 GB, free: 8.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001347/0.1125, allocations: 467.6 kB / 0.5433 GB, free: 8.113 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.000329/0.1129, allocations: 143 kB / 0.5435 GB, free: 7.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.1159, allocations: 1.802 MB / 0.5452 GB, free: 6.094 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1159, allocations: 4.062 kB / 0.5452 GB, free: 6.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.1179, allocations: 1.311 MB / 0.5465 GB, free: 4.719 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.1186, allocations: 126.8 kB / 0.5466 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.122, allocations: 2.035 MB / 0.5486 GB, free: 2.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1222, allocations: 245.5 kB / 0.5489 GB, free: 2.254 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.1225, allocations: 111.9 kB / 0.549 GB, free: 2.141 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.1227, allocations: 80.47 kB / 0.549 GB, free: 2.062 MB / 474.7 MB Notification: Performance of SimCode: time 2.574e-06/0.1227, allocations: 0 / 0.549 GB, free: 2.062 MB / 474.7 MB Notification: Performance of Templates: time 0.02923/0.1519, allocations: 27.05 MB / 0.5755 GB, free: 7.121 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: 4.2033285279758275]