Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 97.69 kB / 19.59 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 225.6 MB / 248.2 MB, free: 3.113 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 187 kB / 303.6 MB, free: 3.48 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.3145/0.3145, allocations: 79.72 MB / 438.6 MB, free: 7.051 MB / 366.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 83.86 kB / 0.5844 GB, free: 7.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2618, allocations: 72.11 MB / 0.6548 GB, free: 18.4 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.008898/0.2707, allocations: 13.61 MB / 0.6681 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.2764, allocations: 3.489 MB / 0.6715 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009738/0.2774, allocations: 31.03 kB / 0.6715 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.2784, allocations: 0.5613 MB / 0.6721 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.2811, allocations: 1.574 MB / 0.6736 GB, free: 4.465 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.2836, allocations: 1.532 MB / 0.6751 GB, free: 3.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002925/0.2865, allocations: 3.784 MB / 0.6788 GB, free: 1.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/0.2872, allocations: 0.6095 MB / 0.6794 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.2888, allocations: 1.576 MB / 0.6809 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.2909, allocations: 1.985 MB / 0.6829 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.2913, allocations: 285.1 kB / 0.6831 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007448/0.292, allocations: 428.5 kB / 0.6836 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006356/0.2926, allocations: 0.7647 MB / 0.6843 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.294, allocations: 1.634 MB / 0.6859 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.2978, allocations: 4.002 MB / 0.6898 GB, free: 9.324 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2978, allocations: 0 / 0.6898 GB, free: 9.324 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2978, allocations: 0 / 0.6898 GB, free: 9.324 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.2978, allocations: 1.281 kB / 0.6898 GB, free: 9.324 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02186/0.3197, allocations: 7.346 MB / 0.697 GB, free: 4.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3197, allocations: 20.56 kB / 0.697 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/0.3336, allocations: 2.288 MB / 0.6992 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.3368, allocations: 1.805 MB / 0.701 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007372/0.3376, allocations: 0.7329 MB / 0.7017 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.338, allocations: 216 kB / 0.7019 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005954/0.3439, allocations: 3.035 MB / 0.7049 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.3439, allocations: 0 / 0.7049 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.3442, allocations: 87.94 kB / 0.705 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.3442, allocations: 48 kB / 0.705 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005771/0.35, allocations: 2.784 MB / 0.7077 GB, free: 9.379 MB / 494.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.01681/0.3668, allocations: 9.678 MB / 0.7172 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.3773, allocations: 3.513 MB / 0.7206 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/0.3812, allocations: 1.776 MB / 0.7223 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.3814, allocations: 41.95 kB / 0.7224 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004436/0.3858, allocations: 2.233 MB / 0.7246 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=247): time 4.538e-06/0.3858, allocations: 0 / 0.7246 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=247): time 0.1278/0.5136, allocations: 29.15 MB / 0.753 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5137, allocations: 184.2 kB / 0.7532 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003402/0.5171, allocations: 2.285 MB / 0.7554 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004366/0.5175, allocations: 69.7 kB / 0.7555 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009541/0.5185, allocations: 1.193 MB / 0.7567 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009656/0.5195, allocations: 0.9102 MB / 0.7576 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.5205, allocations: 0.5541 MB / 0.7581 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5207, allocations: 301.1 kB / 0.7584 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/0.525, allocations: 1.947 MB / 0.7603 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004643/0.5297, allocations: 2.322 MB / 0.7626 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05347/0.5831, allocations: 13.98 MB / 0.7762 GB, free: 2.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.5831, allocations: 0 / 0.7762 GB, free: 2.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.0405/0.6236, allocations: 12.22 MB / 0.7881 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6237, allocations: 126.7 kB / 0.7883 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.6238, allocations: 7.938 kB / 0.7883 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/0.642, allocations: 5.313 MB / 0.7935 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.6448, allocations: 0.5617 MB / 0.794 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06064/0.7055, allocations: 23.41 MB / 0.8169 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/0.7095, allocations: 493.8 kB / 0.8173 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.7098, allocations: 116 kB / 0.8174 GB, free: 7.828 MB / 0.5919 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001145/0.711, allocations: 0.5334 MB / 0.818 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/0.7115, allocations: 314 kB / 0.8183 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03992/0.7514, allocations: 11.82 MB / 0.8298 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.7514, allocations: 28 kB / 0.8298 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.7514, allocations: 16 kB / 0.8298 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.7515, allocations: 15.95 kB / 0.8299 GB, free: 11.04 MB / 0.6075 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.2603/1.012, allocations: 15.37 MB / 0.8449 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.012, allocations: 0 / 0.8449 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.013, allocations: 241.8 kB / 0.8451 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/1.03, allocations: 5.274 MB / 0.8503 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003538/1.03, allocations: 55.3 kB / 0.8503 GB, free: 151.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05182/1.082, allocations: 24.67 MB / 0.8744 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.082, allocations: 1.094 kB / 0.8744 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03868/1.12, allocations: 14.2 MB / 0.8883 GB, free: 137.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/1.121, allocations: 349.4 kB / 0.8886 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/1.122, allocations: 46.31 kB / 0.8886 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.124, allocations: 300.7 kB / 0.8889 GB, free: 137.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/1.126, allocations: 0.6 MB / 0.8895 GB, free: 137.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/1.126, allocations: 67 kB / 0.8896 GB, free: 137.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001635/1.128, allocations: 1.509 MB / 0.8911 GB, free: 136.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.128, allocations: 0 / 0.8911 GB, free: 136.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002359/1.13, allocations: 1.18 MB / 0.8922 GB, free: 136 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/1.131, allocations: 176.8 kB / 0.8924 GB, free: 135.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01495/1.145, allocations: 6.407 MB / 0.8986 GB, free: 129.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.145, allocations: 1.75 kB / 0.8986 GB, free: 129.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/1.157, allocations: 4.215 MB / 0.9028 GB, free: 125.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.158, allocations: 281.1 kB / 0.903 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/1.165, allocations: 5.424 MB / 0.9083 GB, free: 119.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/1.166, allocations: 1.802 MB / 0.9101 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/1.166, allocations: 191.4 kB / 0.9103 GB, free: 117.6 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/1.166, allocations: 0 / 0.9103 GB, free: 117.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.04484/1.211, allocations: 64.59 MB / 0.9733 GB, free: 52.98 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.684557025000686] Failed to read output from testmodel.py, exit status != 0: 1.218252847000258 1.225548136 0.92585537 Calling exit ...