Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.000753/0.000753, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.8193/0.8193, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.0009583/0.0009583, allocations: 152.6 kB / 256.7 MB, free: 13.35 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.2668/0.2668, allocations: 80.25 MB / 393.4 MB, free: 2.453 MB / 314.7 MB " [Timeout remaining time 180] 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.556 GB, free: 11.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.781e-05, allocations: 6.219 kB / 0.556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004318/0.004335, allocations: 5.933 MB / 0.5618 GB, free: 5.859 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.006789, allocations: 1.982 MB / 0.5638 GB, free: 3.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.00706, allocations: 11.94 kB / 0.5638 GB, free: 3.863 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.007538, allocations: 241.9 kB / 0.564 GB, free: 3.625 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.008631, allocations: 0.8898 MB / 0.5649 GB, free: 2.734 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.009299, allocations: 0.6531 MB / 0.5655 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009536/0.01025, allocations: 1.674 MB / 0.5671 GB, free: 416 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.01052, allocations: 222.8 kB / 0.5673 GB, free: 180 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1927/0.2032, allocations: 0.9365 MB / 0.5683 GB, free: 16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.2039, allocations: 0.7142 MB / 0.569 GB, free: 16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.204, allocations: 132.8 kB / 0.5691 GB, free: 16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.2045, allocations: 286.6 kB / 0.5694 GB, free: 16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.2047, allocations: 351.1 kB / 0.5697 GB, free: 16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.2051, allocations: 482.6 kB / 0.5702 GB, free: 15.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.2067, allocations: 1.816 MB / 0.5719 GB, free: 15.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2067, allocations: 0 / 0.5719 GB, free: 15.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2067, allocations: 0 / 0.5719 GB, free: 15.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2067, allocations: 2 kB / 0.5719 GB, free: 15.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004955/0.2117, allocations: 2.891 MB / 0.5748 GB, free: 14.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2117, allocations: 9.344 kB / 0.5748 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.2143, allocations: 0.8011 MB / 0.5755 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2153, allocations: 0.8724 MB / 0.5764 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.2154, allocations: 337.2 kB / 0.5767 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.2156, allocations: 83.66 kB / 0.5768 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2171, allocations: 1.138 MB / 0.5779 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2171, allocations: 0 / 0.5779 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.2172, allocations: 31.8 kB / 0.5779 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2172, allocations: 20.5 kB / 0.578 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.2187, allocations: 1.027 MB / 0.579 GB, free: 13.37 MB / 442.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.004024/0.2227, allocations: 2.911 MB / 0.5818 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/0.2267, allocations: 2.064 MB / 0.5838 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.2276, allocations: 0.6643 MB / 0.5845 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.2276, allocations: 12.22 kB / 0.5845 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2287, allocations: 0.8663 MB / 0.5853 GB, free: 10.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.375e-06/0.2287, allocations: 1.125 kB / 0.5853 GB, free: 10.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01416/0.2429, allocations: 6.955 MB / 0.5921 GB, free: 8.344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2429, allocations: 118.5 kB / 0.5922 GB, free: 8.215 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.244, allocations: 1.107 MB / 0.5933 GB, free: 7.594 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.244, allocations: 46.23 kB / 0.5934 GB, free: 7.547 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.2442, allocations: 0.5105 MB / 0.5939 GB, free: 7.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.2445, allocations: 371.8 kB / 0.5942 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.2448, allocations: 295.3 kB / 0.5945 GB, free: 6.602 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.23e-05/0.2448, allocations: 302.6 kB / 0.5948 GB, free: 6.305 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2458, allocations: 0.8395 MB / 0.5956 GB, free: 5.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2469, allocations: 1.01 MB / 0.5966 GB, free: 5.215 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/0.2591, allocations: 6.11 MB / 0.6026 GB, free: 2.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2591, allocations: 0 / 0.6026 GB, free: 2.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007315/0.2664, allocations: 4.514 MB / 0.607 GB, free: 13.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.2665, allocations: 63.41 kB / 0.607 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2665, allocations: 4.875 kB / 0.607 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/0.2696, allocations: 1.646 MB / 0.6086 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.2703, allocations: 293.9 kB / 0.6089 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.2818, allocations: 8.323 MB / 0.617 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.2828, allocations: 203.2 kB / 0.6172 GB, free: 3.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.2829, allocations: 59.97 kB / 0.6173 GB, free: 3.23 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (164): * Single equations (assignments): 161 * 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,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004505/0.2833, allocations: 307 kB / 0.6176 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.2835, allocations: 135.1 kB / 0.6177 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007004/0.2905, allocations: 3.912 MB / 0.6215 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2905, allocations: 17.08 kB / 0.6216 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.2905, allocations: 6.375 kB / 0.6216 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2905, allocations: 3.984 kB / 0.6216 GB, free: 14.86 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.007769/0.2983, allocations: 4.974 MB / 0.6264 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2983, allocations: 4.031 kB / 0.6264 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.2986, allocations: 102.4 kB / 0.6265 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.3017, allocations: 1.595 MB / 0.6281 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.3018, allocations: 31.12 kB / 0.6281 GB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.3131, allocations: 9.178 MB / 0.6371 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3131, allocations: 7.547 kB / 0.6371 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/0.3206, allocations: 4.824 MB / 0.6418 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.3209, allocations: 154.9 kB / 0.6419 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.321, allocations: 23.98 kB / 0.642 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.3218, allocations: 111.8 kB / 0.6421 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/0.3222, allocations: 212 kB / 0.6423 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.3222, allocations: 20 kB / 0.6423 GB, free: 9.445 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007325/0.323, allocations: 0.7627 MB / 0.643 GB, free: 8.676 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.323, allocations: 0 / 0.643 GB, free: 8.676 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001125/0.3241, allocations: 491.6 kB / 0.6435 GB, free: 8.195 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.0002477/0.3243, allocations: 144 kB / 0.6436 GB, free: 8.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.3279, allocations: 2.526 MB / 0.6461 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3279, allocations: 4.125 kB / 0.6461 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.3301, allocations: 1.583 MB / 0.6477 GB, free: 3.871 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.3306, allocations: 123.5 kB / 0.6478 GB, free: 3.762 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.3335, allocations: 2.367 MB / 0.6501 GB, free: 1.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3339, allocations: 0.5401 MB / 0.6506 GB, free: 0.793 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.3341, allocations: 84.47 kB / 0.6507 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3341, allocations: 4 kB / 0.6507 GB, free: 0.707 MB / 490.7 MB Notification: Performance of Templates: time 0.01818/0.3523, allocations: 24.99 MB / 0.6751 GB, free: 7.75 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.704384433105588] Failed to read output from testmodel.py, exit status != 0: 0.3581041283905506 0.36599407899999997 0.157702687 Calling exit ...