Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.001779/0.001779, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.695/1.695, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001785/0.001785, allocations: 214.3 kB / 309.2 MB, free: 3.137 MB / 238.1 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.6638/0.6638, allocations: 107.2 MB / 472.8 MB, free: 29.89 MB / 350.1 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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.002642/0.002642, allocations: 82.78 kB / 0.6336 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1807, allocations: 80.15 MB / 0.7119 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02153/0.2022, allocations: 18.4 MB / 0.7299 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.2159, allocations: 4.822 MB / 0.7346 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004842/0.2207, allocations: 47.94 kB / 0.7346 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00392/0.2246, allocations: 0.875 MB / 0.7355 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009743/0.2344, allocations: 2.276 MB / 0.7377 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007335/0.2417, allocations: 2.053 MB / 0.7397 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.254, allocations: 5.736 MB / 0.7453 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002928/0.257, allocations: 0.8571 MB / 0.7462 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/0.2623, allocations: 2.404 MB / 0.7485 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.2675, allocations: 2.67 MB / 0.7511 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002033/0.2695, allocations: 436 kB / 0.7515 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.2724, allocations: 0.5974 MB / 0.7521 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.2747, allocations: 1.147 MB / 0.7532 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004724/0.2794, allocations: 2.121 MB / 0.7553 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.2906, allocations: 6.321 MB / 0.7615 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.2906, allocations: 0 / 0.7615 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2906, allocations: 0 / 0.7615 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002783/0.2909, allocations: 0 / 0.7615 GB, free: 4.078 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.0378/0.3287, allocations: 9.907 MB / 0.7711 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3287, allocations: 12.03 kB / 0.7712 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02791/0.3566, allocations: 4.047 MB / 0.7751 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006588/0.3632, allocations: 2.574 MB / 0.7776 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.3644, allocations: 1.025 MB / 0.7786 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.3656, allocations: 352 kB / 0.779 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.3782, allocations: 4.752 MB / 0.7836 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/0.3783, allocations: 11.88 kB / 0.7836 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004283/0.3787, allocations: 140 kB / 0.7837 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.699e-05/0.3788, allocations: 91.88 kB / 0.7838 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.3912, allocations: 4.242 MB / 0.788 GB, free: 8.539 MB / 0.5606 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.03687/0.4281, allocations: 13 MB / 0.8007 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.4412, allocations: 4.353 MB / 0.8049 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006749/0.4479, allocations: 2.499 MB / 0.8074 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007006/0.4486, allocations: 58.95 kB / 0.8074 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008676/0.4573, allocations: 3.199 MB / 0.8105 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 9.898e-06/0.4573, allocations: 0 / 0.8105 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.7174/1.175, allocations: 67.98 MB / 0.8769 GB, free: 44.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.175, allocations: 145.8 kB / 0.8771 GB, free: 43.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004732/1.18, allocations: 3.214 MB / 0.8802 GB, free: 40.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001504/1.181, allocations: 93.7 kB / 0.8803 GB, free: 40.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.182, allocations: 2.009 MB / 0.8823 GB, free: 38.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002035/1.184, allocations: 1.369 MB / 0.8836 GB, free: 37.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/1.186, allocations: 0.6586 MB / 0.8842 GB, free: 37.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/1.186, allocations: 305.1 kB / 0.8845 GB, free: 36.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004863/1.191, allocations: 2.619 MB / 0.8871 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/1.196, allocations: 3.247 MB / 0.8903 GB, free: 30.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06714/1.263, allocations: 18.94 MB / 0.9088 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/1.263, allocations: 4 kB / 0.9088 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.055/1.318, allocations: 16.84 MB / 0.9252 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.318, allocations: 67.41 kB / 0.9253 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/1.318, allocations: 16 kB / 0.9253 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02829/1.347, allocations: 7.225 MB / 0.9323 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/1.35, allocations: 0.6558 MB / 0.933 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09448/1.445, allocations: 32.72 MB / 0.9649 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006994/1.452, allocations: 0.6202 MB / 0.9655 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008248/1.453, allocations: 148 kB / 0.9657 GB, free: 1.18 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (391): * Single equations (assignments): 388 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002239/1.455, allocations: 0.6726 MB / 0.9663 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/1.456, allocations: 480.9 kB / 0.9668 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0591/1.515, allocations: 16.73 MB / 0.9831 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.014e-05/1.515, allocations: 36 kB / 0.9832 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-05/1.516, allocations: 28 kB / 0.9832 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001261/1.516, allocations: 19.92 kB / 0.9832 GB, free: 15.14 MB / 0.6544 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.06794/1.584, allocations: 20 MB / 1.003 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.584, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/1.586, allocations: 391.4 kB / 1.003 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02756/1.614, allocations: 7.376 MB / 1.01 GB, free: 3.402 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.615, allocations: 71.98 kB / 1.01 GB, free: 3.332 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08758/1.703, allocations: 30.69 MB / 1.04 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.703, allocations: 0 / 1.04 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06797/1.771, allocations: 20.14 MB / 1.06 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.772, allocations: 0.4925 MB / 1.061 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001294/1.774, allocations: 75.73 kB / 1.061 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004341/1.778, allocations: 379.6 kB / 1.061 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003457/1.781, allocations: 0.8114 MB / 1.062 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004094/1.782, allocations: 95.92 kB / 1.062 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00377/1.786, allocations: 2.101 MB / 1.064 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.786, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006908/1.792, allocations: 1.803 MB / 1.066 GB, free: 10.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006779/1.793, allocations: 205.3 kB / 1.066 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02792/1.821, allocations: 8.948 MB / 1.075 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.821, allocations: 0 / 1.075 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0214/1.842, allocations: 5.926 MB / 1.08 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/1.846, allocations: 378.8 kB / 1.081 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.863, allocations: 7.987 MB / 1.089 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/1.865, allocations: 1.927 MB / 1.09 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001989/1.867, allocations: 375.1 kB / 1.091 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.868, allocations: 251.4 kB / 1.091 GB, free: 384 kB / 0.7481 GB Notification: Performance of SimCode: time 2.124e-06/1.868, allocations: 0 / 1.091 GB, free: 384 kB / 0.7481 GB Notification: Performance of Templates: time 0.5122/2.38, allocations: 103.6 MB / 1.192 GB, free: 205.7 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.972510397434235] Failed to read output from testmodel.py, exit status != 0: 2.3902928065508604 2.404437196 2.110576488 Calling exit ...