Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001515/0.001515, allocations: 80.06 kB / 19.18 MB, free: 2.516 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.359/1.359, allocations: 177.1 MB / 199.4 MB, free: 8.441 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.001553/0.001553, allocations: 160.8 kB / 256 MB, free: 4.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6009/0.6009, allocations: 80.35 MB / 392.7 MB, free: 29.64 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5556 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.162e-05, allocations: 6.219 kB / 0.5556 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01533/0.01536, allocations: 18.63 MB / 0.5738 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.02885, allocations: 4.889 MB / 0.5785 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005784/0.03463, allocations: 47.16 kB / 0.5786 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.03836, allocations: 0.8817 MB / 0.5794 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.04856, allocations: 2.376 MB / 0.5818 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006682/0.05524, allocations: 2.096 MB / 0.5838 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.06713, allocations: 5.94 MB / 0.5896 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.07046, allocations: 0.8805 MB / 0.5905 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008439/0.0789, allocations: 3.346 MB / 0.5937 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/0.08334, allocations: 2.309 MB / 0.596 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.08466, allocations: 448 kB / 0.5964 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.08671, allocations: 0.6013 MB / 0.597 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.08779, allocations: 1.19 MB / 0.5982 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003253/0.09104, allocations: 1.744 MB / 0.5999 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.1012, allocations: 6.4 MB / 0.6061 GB, free: 2.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1012, allocations: 3.938 kB / 0.6061 GB, free: 2.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1012, allocations: 0 / 0.6061 GB, free: 2.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002378/0.1014, allocations: 4 kB / 0.6061 GB, free: 2.176 MB / 462.1 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.03444/0.1358, allocations: 9.942 MB / 0.6158 GB, free: 8.145 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1359, allocations: 8.031 kB / 0.6158 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02779/0.1637, allocations: 4.055 MB / 0.6198 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/0.1698, allocations: 2.606 MB / 0.6224 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/0.171, allocations: 1.029 MB / 0.6234 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.1721, allocations: 352 kB / 0.6237 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.1831, allocations: 4.78 MB / 0.6284 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.1831, allocations: 0 / 0.6284 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.1835, allocations: 140 kB / 0.6285 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-05/0.1836, allocations: 91.94 kB / 0.6286 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.1937, allocations: 4.269 MB / 0.6327 GB, free: 6.531 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.03505/0.2287, allocations: 13.09 MB / 0.6455 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.2422, allocations: 4.395 MB / 0.6498 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006128/0.2483, allocations: 2.515 MB / 0.6523 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/0.2487, allocations: 54.97 kB / 0.6523 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007303/0.256, allocations: 3.218 MB / 0.6555 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 7.013e-06/0.256, allocations: 7.938 kB / 0.6555 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of matching and sorting (n=385): time 0.5991/0.8551, allocations: 66.59 MB / 0.7205 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.8552, allocations: 144.1 kB / 0.7207 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/0.861, allocations: 3.267 MB / 0.7238 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/0.862, allocations: 88.86 kB / 0.7239 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.8633, allocations: 2.014 MB / 0.7259 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/0.8649, allocations: 1.373 MB / 0.7272 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.8663, allocations: 0.6643 MB / 0.7279 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.8663, allocations: 306.2 kB / 0.7282 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005741/0.8721, allocations: 2.659 MB / 0.7308 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006547/0.8786, allocations: 3.285 MB / 0.734 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07491/0.9535, allocations: 19.32 MB / 0.7528 GB, free: 126 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.987e-05/0.9536, allocations: 7.812 kB / 0.7529 GB, free: 126 MB / 0.5606 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.0554/1.009, allocations: 17.15 MB / 0.7696 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/1.009, allocations: 63.41 kB / 0.7697 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/1.009, allocations: 12 kB / 0.7697 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02475/1.034, allocations: 7.297 MB / 0.7768 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/1.037, allocations: 0.6709 MB / 0.7775 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08036/1.118, allocations: 32.85 MB / 0.8095 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.124, allocations: 0.6302 MB / 0.8102 GB, free: 71.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/1.124, allocations: 148.9 kB / 0.8103 GB, free: 70.91 MB / 0.5606 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.001677/1.126, allocations: 0.6763 MB / 0.811 GB, free: 70.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008958/1.127, allocations: 480.7 kB / 0.8114 GB, free: 69.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.052/1.179, allocations: 16.79 MB / 0.8278 GB, free: 52.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/1.179, allocations: 36 kB / 0.8278 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/1.179, allocations: 32 kB / 0.8279 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.493e-05/1.179, allocations: 27.8 kB / 0.8279 GB, free: 52.8 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 postOpt removeSimpleEquations (simulation): time 0.0571/1.236, allocations: 20.07 MB / 0.8475 GB, free: 32.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.236, allocations: 0 / 0.8475 GB, free: 32.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.238, allocations: 395.5 kB / 0.8479 GB, free: 32.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02447/1.263, allocations: 7.341 MB / 0.855 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/1.264, allocations: 67.98 kB / 0.8551 GB, free: 24.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07462/1.339, allocations: 30.74 MB / 0.8851 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.339, allocations: 0 / 0.8851 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06801/1.407, allocations: 20.23 MB / 0.9049 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.408, allocations: 0.5033 MB / 0.9054 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/1.41, allocations: 67.98 kB / 0.9054 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005055/1.415, allocations: 387.6 kB / 0.9058 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003639/1.418, allocations: 0.8191 MB / 0.9066 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005489/1.419, allocations: 91.98 kB / 0.9067 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003716/1.423, allocations: 2.133 MB / 0.9088 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.423, allocations: 4 kB / 0.9088 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00685/1.43, allocations: 1.824 MB / 0.9106 GB, free: 80 kB / 0.5919 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.0009415/1.431, allocations: 206.8 kB / 0.9108 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02987/1.46, allocations: 9.011 MB / 0.9196 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.46, allocations: 0 / 0.9196 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02233/1.483, allocations: 5.918 MB / 0.9253 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.487, allocations: 386.9 kB / 0.9257 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.504, allocations: 8.017 MB / 0.9335 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.506, allocations: 1.948 MB / 0.9354 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001657/1.508, allocations: 371.1 kB / 0.9358 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009991/1.509, allocations: 256.4 kB / 0.936 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of SimCode: time 1.041e-06/1.509, allocations: 0 / 0.936 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of Templates: time 0.3732/1.882, allocations: 98.96 MB / 1.033 GB, free: 160.1 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.562181416898966] Failed to read output from testmodel.py, exit status != 0: 1.8911197260022163 1.901319847 1.797782578 Calling exit ...