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.00151/0.00151, allocations: 79.34 kB / 19.76 MB, free: 2.031 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.378/1.378, allocations: 177.2 MB / 200.1 MB, free: 8.312 MB / 190.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.001818/0.001818, allocations: 166 kB / 256.6 MB, free: 4.289 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4611/0.4611, allocations: 59.75 MB / 372.7 MB, free: 46.81 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: 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.003077/0.003077, allocations: 84.75 kB / 0.5224 GB, free: 29.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1493, allocations: 73.29 MB / 0.5939 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007553/0.1568, allocations: 5.743 MB / 0.5995 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.1615, allocations: 1.916 MB / 0.6014 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.1628, allocations: 15.94 kB / 0.6014 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000919/0.1637, allocations: 242 kB / 0.6017 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.1666, allocations: 0.8452 MB / 0.6025 GB, free: 6.184 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.1683, allocations: 0.6235 MB / 0.6031 GB, free: 5.566 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.171, allocations: 1.6 MB / 0.6047 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.1715, allocations: 214.9 kB / 0.6049 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.1732, allocations: 0.6847 MB / 0.6055 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.1746, allocations: 0.7698 MB / 0.6063 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.1748, allocations: 120 kB / 0.6064 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008216/0.1756, allocations: 271.9 kB / 0.6067 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004269/0.1761, allocations: 330.6 kB / 0.607 GB, free: 1.566 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.1768, allocations: 0.5477 MB / 0.6075 GB, free: 1.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.1791, allocations: 1.704 MB / 0.6092 GB, free: 15.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1791, allocations: 3.938 kB / 0.6092 GB, free: 15.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1791, allocations: 0 / 0.6092 GB, free: 15.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1792, allocations: 3.938 kB / 0.6092 GB, free: 15.3 MB / 478.1 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.009106/0.1883, allocations: 2.82 MB / 0.6119 GB, free: 12.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1883, allocations: 12.03 kB / 0.6119 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/0.1934, allocations: 0.7913 MB / 0.6127 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.1951, allocations: 0.8268 MB / 0.6135 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/0.1954, allocations: 337.3 kB / 0.6139 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.1956, allocations: 83.95 kB / 0.6139 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.1978, allocations: 1.115 MB / 0.615 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1978, allocations: 0 / 0.615 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.1979, allocations: 32 kB / 0.6151 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.198, allocations: 16 kB / 0.6151 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.2001, allocations: 1.009 MB / 0.6161 GB, free: 8.078 MB / 478.1 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.006284/0.2064, allocations: 2.84 MB / 0.6188 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007585/0.214, allocations: 2.022 MB / 0.6208 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.2155, allocations: 0.6426 MB / 0.6214 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2156, allocations: 16.98 kB / 0.6214 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.2174, allocations: 0.8415 MB / 0.6223 GB, free: 1.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.387e-06/0.2174, allocations: 0 / 0.6223 GB, free: 1.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.03034/0.2478, allocations: 7.06 MB / 0.6292 GB, free: 10.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.2479, allocations: 119.8 kB / 0.6293 GB, free: 10.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.25, allocations: 1.07 MB / 0.6303 GB, free: 9.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.2502, allocations: 45.7 kB / 0.6304 GB, free: 9.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.2507, allocations: 0.4975 MB / 0.6308 GB, free: 8.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/0.2513, allocations: 368.8 kB / 0.6312 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006689/0.2519, allocations: 271.5 kB / 0.6315 GB, free: 8.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2521, allocations: 301.1 kB / 0.6317 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.2538, allocations: 0.7998 MB / 0.6325 GB, free: 6.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.2558, allocations: 0.9688 MB / 0.6335 GB, free: 5.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0251/0.2809, allocations: 5.738 MB / 0.6391 GB, free: 132 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.2809, allocations: 4 kB / 0.6391 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01483/0.2958, allocations: 4.356 MB / 0.6433 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.2959, allocations: 63.39 kB / 0.6434 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.2959, allocations: 7.938 kB / 0.6434 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/0.3019, allocations: 1.58 MB / 0.6449 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.3034, allocations: 267.6 kB / 0.6452 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0214/0.3248, allocations: 8.205 MB / 0.6532 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.3269, allocations: 199 kB / 0.6534 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.3272, allocations: 51.98 kB / 0.6535 GB, free: 1.23 MB / 0.4981 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 (153): * Single equations (assignments): 150 * 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 {(18,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008694/0.3281, allocations: 304.1 kB / 0.6537 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.3285, allocations: 131.2 kB / 0.6539 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.3419, allocations: 3.867 MB / 0.6576 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.3419, allocations: 8 kB / 0.6577 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.3419, allocations: 8 kB / 0.6577 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.3419, allocations: 3.984 kB / 0.6577 GB, free: 12.87 MB / 0.5137 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.01595/0.3579, allocations: 4.896 MB / 0.6624 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3579, allocations: 0 / 0.6624 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.3586, allocations: 95.89 kB / 0.6625 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005862/0.3644, allocations: 1.598 MB / 0.6641 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.3646, allocations: 27.98 kB / 0.6641 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.3868, allocations: 9.193 MB / 0.6731 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3868, allocations: 0 / 0.6731 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/0.4026, allocations: 4.77 MB / 0.6778 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.4031, allocations: 146.9 kB / 0.6779 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/0.4035, allocations: 20 kB / 0.6779 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.4049, allocations: 111.9 kB / 0.678 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007509/0.4057, allocations: 200.7 kB / 0.6782 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.4058, allocations: 31.98 kB / 0.6782 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001448/0.4073, allocations: 0.7112 MB / 0.6789 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4073, allocations: 0 / 0.6789 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001877/0.4091, allocations: 479.6 kB / 0.6794 GB, free: 6.266 MB / 0.5294 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.0003671/0.4095, allocations: 135.1 kB / 0.6795 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006906/0.4164, allocations: 2.445 MB / 0.6819 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4164, allocations: 0 / 0.6819 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00464/0.4211, allocations: 1.55 MB / 0.6834 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4223, allocations: 114.8 kB / 0.6835 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.4271, allocations: 2.27 MB / 0.6858 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.4277, allocations: 0.5276 MB / 0.6863 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004852/0.4282, allocations: 115.9 kB / 0.6864 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.4285, allocations: 80.47 kB / 0.6865 GB, free: 14.85 MB / 0.545 GB Notification: Performance of SimCode: time 1.472e-06/0.4285, allocations: 0 / 0.6865 GB, free: 14.85 MB / 0.545 GB Notification: Performance of Templates: time 0.04473/0.4733, allocations: 25.9 MB / 0.7118 GB, free: 5.035 MB / 0.5606 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=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.755827298969962] Failed to read output from testmodel.py, exit status != 0: 0.48354214802384377 0.7705182349999999 0.588845887 Calling exit ...