Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.000835/0.000835, 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.8538/0.8538, allocations: 177.1 MB / 200.2 MB, free: 5.941 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.00102/0.00102, allocations: 160.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.2493/0.2493, allocations: 80.25 MB / 393.4 MB, free: 2.434 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5561 GB, free: 11.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.276e-05, allocations: 6.281 kB / 0.5561 GB, free: 11.69 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.2118/0.2118, allocations: 18.61 MB / 0.5743 GB, free: 14.31 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008098/0.2199, allocations: 4.884 MB / 0.5791 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.2218, allocations: 47.69 kB / 0.5791 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.2232, allocations: 0.882 MB / 0.58 GB, free: 10.91 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.227, allocations: 2.376 MB / 0.5823 GB, free: 9.211 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.2304, allocations: 2.093 MB / 0.5843 GB, free: 8.148 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.2354, allocations: 5.951 MB / 0.5902 GB, free: 5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.2364, allocations: 0.8678 MB / 0.591 GB, free: 4.527 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.2398, allocations: 3.355 MB / 0.5943 GB, free: 2.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.2417, allocations: 2.31 MB / 0.5965 GB, free: 2.168 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004627/0.2421, allocations: 446.4 kB / 0.597 GB, free: 2.168 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.243, allocations: 0.599 MB / 0.5975 GB, free: 2.105 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005249/0.2436, allocations: 1.193 MB / 0.5987 GB, free: 1.074 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2447, allocations: 1.74 MB / 0.6004 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.2497, allocations: 6.408 MB / 0.6067 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2497, allocations: 3.938 kB / 0.6067 GB, free: 11.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2497, allocations: 3.938 kB / 0.6067 GB, free: 11.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.734e-05/0.2497, allocations: 0 / 0.6067 GB, free: 11.29 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0161/0.2658, allocations: 9.937 MB / 0.6164 GB, free: 4.875 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2659, allocations: 8.031 kB / 0.6164 GB, free: 4.867 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.2782, allocations: 4.059 MB / 0.6204 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.2818, allocations: 2.602 MB / 0.6229 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/0.2824, allocations: 1.033 MB / 0.6239 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.2828, allocations: 355.9 kB / 0.6242 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005733/0.2885, allocations: 4.772 MB / 0.6289 GB, free: 7.773 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.2885, allocations: 0 / 0.6289 GB, free: 7.773 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/0.2888, allocations: 140 kB / 0.629 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.2889, allocations: 87.94 kB / 0.6291 GB, free: 7.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005503/0.2944, allocations: 4.265 MB / 0.6333 GB, free: 3.273 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 preOpt removeSimpleEquations (simulation): time 0.01694/0.3113, allocations: 13.1 MB / 0.6461 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/0.3178, allocations: 4.391 MB / 0.6504 GB, free: 1.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.3209, allocations: 2.522 MB / 0.6528 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.3212, allocations: 54.97 kB / 0.6529 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003648/0.3248, allocations: 3.222 MB / 0.656 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 4.989e-06/0.3248, allocations: 0 / 0.656 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.1529/0.4777, allocations: 66.59 MB / 0.7211 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.4778, allocations: 149.8 kB / 0.7212 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.4813, allocations: 3.265 MB / 0.7244 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007792/0.482, allocations: 93.7 kB / 0.7245 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.483, allocations: 2.009 MB / 0.7264 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/0.4843, allocations: 1.371 MB / 0.7278 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.4855, allocations: 0.6706 MB / 0.7284 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.167e-05/0.4856, allocations: 301.1 kB / 0.7287 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/0.4892, allocations: 2.663 MB / 0.7313 GB, free: 14.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.4929, allocations: 3.287 MB / 0.7345 GB, free: 10.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03756/0.5305, allocations: 19.31 MB / 0.7534 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.5305, allocations: 7.938 kB / 0.7534 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.03125/0.5618, allocations: 17.15 MB / 0.7701 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.5618, allocations: 67.39 kB / 0.7702 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.5619, allocations: 14.19 kB / 0.7702 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01436/0.5762, allocations: 7.296 MB / 0.7774 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.5785, allocations: 0.6704 MB / 0.778 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2687/0.8473, allocations: 32.86 MB / 0.8101 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.8512, allocations: 0.6267 MB / 0.8107 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.8515, allocations: 157.1 kB / 0.8109 GB, free: 196.5 MB / 0.6355 GB 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 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 (402): * Single equations (assignments): 399 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001376/0.8529, allocations: 0.6681 MB / 0.8115 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005232/0.8534, allocations: 478.7 kB / 0.812 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03055/0.8839, allocations: 16.78 MB / 0.8284 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/0.884, allocations: 45.72 kB / 0.8284 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.108e-05/0.884, allocations: 27.69 kB / 0.8284 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/0.8841, allocations: 19.36 kB / 0.8284 GB, free: 195 MB / 0.6355 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.03111/0.9152, allocations: 20.06 MB / 0.848 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.9152, allocations: 1.062 kB / 0.848 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.9164, allocations: 395.7 kB / 0.8484 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/0.9285, allocations: 7.342 MB / 0.8556 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/0.9289, allocations: 71.56 kB / 0.8557 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03921/0.9681, allocations: 30.73 MB / 0.8857 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9681, allocations: 0 / 0.8857 GB, free: 161 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03064/0.9987, allocations: 20.23 MB / 0.9054 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1, allocations: 0.5012 MB / 0.9059 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/1, allocations: 72 kB / 0.906 GB, free: 140.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.002, allocations: 387.4 kB / 0.9063 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/1.004, allocations: 0.8152 MB / 0.9071 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.005, allocations: 95.98 kB / 0.9072 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001717/1.006, allocations: 2.129 MB / 0.9093 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/1.006, allocations: 4 kB / 0.9093 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003247/1.01, allocations: 1.826 MB / 0.9111 GB, free: 134.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003961/1.01, allocations: 209.1 kB / 0.9113 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.023, allocations: 9.009 MB / 0.9201 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.023, allocations: 0 / 0.9201 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00852/1.031, allocations: 5.911 MB / 0.9259 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.033, allocations: 379 kB / 0.9262 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008112/1.041, allocations: 8.104 MB / 0.9341 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/1.042, allocations: 1.94 MB / 0.936 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/1.043, allocations: 280.4 kB / 0.9363 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/1.043, allocations: 0 / 0.9363 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.05212/1.095, allocations: 91.88 MB / 1.026 GB, free: 16.81 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.514100717380643] Failed to read output from testmodel.py, exit status != 0: 1.1004433846101165 1.106098083 0.855023009 Calling exit ...