Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001512/0.001512, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.364/1.364, allocations: 230.6 MB / 253.4 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 178] 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.001569/0.001569, allocations: 210.7 kB / 310 MB, free: 3.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5121/0.5121, allocations: 101.4 MB / 467.8 MB, free: 10.25 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 95.84 kB / 0.6257 GB, free: 12.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4151, allocations: 78.6 MB / 0.7024 GB, free: 9.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006384/0.4215, allocations: 6.609 MB / 0.7089 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.4253, allocations: 2.027 MB / 0.7109 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.4263, allocations: 10.06 kB / 0.7109 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008504/0.4271, allocations: 240.2 kB / 0.7111 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.4295, allocations: 0.8726 MB / 0.7119 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4308, allocations: 0.628 MB / 0.7126 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.4322, allocations: 1.605 MB / 0.7141 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.4325, allocations: 227.7 kB / 0.7143 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.4331, allocations: 0.6797 MB / 0.715 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.4339, allocations: 0.844 MB / 0.7158 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.4341, allocations: 124.3 kB / 0.716 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.4345, allocations: 285.5 kB / 0.7162 GB, free: 500 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.4347, allocations: 322.5 kB / 0.7165 GB, free: 288 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.4352, allocations: 0.6724 MB / 0.7172 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.437, allocations: 1.692 MB / 0.7188 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.437, allocations: 0 / 0.7188 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.437, allocations: 0 / 0.7188 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.437, allocations: 0 / 0.7188 GB, free: 15.06 MB / 0.4981 GB 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.008552/0.4456, allocations: 2.817 MB / 0.7216 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.4456, allocations: 10.5 kB / 0.7216 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.4503, allocations: 0.7971 MB / 0.7224 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.4518, allocations: 0.8276 MB / 0.7232 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.4522, allocations: 335.4 kB / 0.7235 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.4524, allocations: 90.67 kB / 0.7236 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.4546, allocations: 1.089 MB / 0.7247 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4546, allocations: 0.8125 kB / 0.7247 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.4547, allocations: 27.41 kB / 0.7247 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.4547, allocations: 17.66 kB / 0.7247 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.4569, allocations: 0.9907 MB / 0.7257 GB, free: 11.93 MB / 0.4981 GB 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.007101/0.464, allocations: 3.758 MB / 0.7293 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.471, allocations: 1.998 MB / 0.7313 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.4723, allocations: 0.6167 MB / 0.7319 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4724, allocations: 22.81 kB / 0.7319 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.474, allocations: 0.8122 MB / 0.7327 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=95): time 2.654e-06/0.474, allocations: 0 / 0.7327 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95): time 0.02764/0.5016, allocations: 7.012 MB / 0.7396 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.5017, allocations: 116.8 kB / 0.7397 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.5035, allocations: 1.091 MB / 0.7407 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.5036, allocations: 45.89 kB / 0.7408 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.504, allocations: 0.4924 MB / 0.7413 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.5044, allocations: 373.7 kB / 0.7416 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004867/0.5049, allocations: 284 kB / 0.7419 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5051, allocations: 301.1 kB / 0.7422 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.5066, allocations: 0.7564 MB / 0.7429 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.5083, allocations: 0.9337 MB / 0.7438 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02368/0.532, allocations: 5.774 MB / 0.7495 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.532, allocations: 1.562 kB / 0.7495 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01426/0.5462, allocations: 4.341 MB / 0.7537 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.5463, allocations: 63.34 kB / 0.7538 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5463, allocations: 8 kB / 0.7538 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00581/0.5521, allocations: 1.584 MB / 0.7553 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.5537, allocations: 279.6 kB / 0.7556 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.5741, allocations: 8.407 MB / 0.7638 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.5761, allocations: 203.2 kB / 0.764 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.5764, allocations: 63.91 kB / 0.764 GB, free: 0.6992 MB / 0.5137 GB 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 (160): * Single equations (assignments): 157 * 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.0008438/0.5772, allocations: 311.9 kB / 0.7643 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.5776, allocations: 131.2 kB / 0.7645 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.5906, allocations: 3.842 MB / 0.7682 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5906, allocations: 16 kB / 0.7682 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.5907, allocations: 4 kB / 0.7682 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/0.5907, allocations: 3.984 kB / 0.7682 GB, free: 12.36 MB / 0.5294 GB 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 postOpt removeSimpleEquations (simulation): time 0.01589/0.6066, allocations: 5.4 MB / 0.7735 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.6066, allocations: 0 / 0.7735 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.6072, allocations: 99.83 kB / 0.7736 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005543/0.6127, allocations: 1.595 MB / 0.7752 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.6129, allocations: 27.98 kB / 0.7752 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/0.6338, allocations: 9.444 MB / 0.7844 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6338, allocations: 4.062 kB / 0.7844 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.6485, allocations: 4.708 MB / 0.789 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.6491, allocations: 155 kB / 0.7892 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/0.6494, allocations: 23.92 kB / 0.7892 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.6508, allocations: 115.8 kB / 0.7893 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/0.6514, allocations: 204.6 kB / 0.7895 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.6515, allocations: 24 kB / 0.7895 GB, free: 6.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001334/0.6528, allocations: 0.7354 MB / 0.7902 GB, free: 5.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6528, allocations: 0 / 0.7902 GB, free: 5.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00164/0.6545, allocations: 475.7 kB / 0.7907 GB, free: 4.98 MB / 0.545 GB 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.0002955/0.6548, allocations: 143.1 kB / 0.7908 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006553/0.6613, allocations: 2.387 MB / 0.7932 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6613, allocations: 0 / 0.7932 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004356/0.6657, allocations: 1.522 MB / 0.7946 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.667, allocations: 126.1 kB / 0.7948 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.6715, allocations: 2.269 MB / 0.797 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000887/0.6724, allocations: 1.12 MB / 0.7981 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.6728, allocations: 87.41 kB / 0.7982 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.6728, allocations: 3.938 kB / 0.7982 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.03329/0.7061, allocations: 23.75 MB / 0.8214 GB, free: 5.395 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.994481363100931] Failed to read output from testmodel.py, exit status != 0: 0.7154281369876117 0.730058178 0.29000152999999995 Calling exit ...