Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001406/0.001406, allocations: 80.3 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.433/1.433, allocations: 177.1 MB / 199.4 MB, free: 8.426 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.001736/0.001736, allocations: 160 kB / 256 MB, free: 4.32 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.6448/0.6448, allocations: 80.24 MB / 392.6 MB, free: 29.73 MB / 334.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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 1.031 kB / 0.5554 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.2e-05, allocations: 2.281 kB / 0.5554 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.0175/0.01753, allocations: 18.57 MB / 0.5735 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.03318, allocations: 4.869 MB / 0.5783 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00769/0.04087, allocations: 47.88 kB / 0.5783 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.04594, allocations: 0.877 MB / 0.5792 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.05936, allocations: 2.372 MB / 0.5815 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008266/0.06762, allocations: 2.083 MB / 0.5836 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01468/0.0823, allocations: 5.917 MB / 0.5893 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003939/0.08624, allocations: 0.8688 MB / 0.5902 GB, free: 2.508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.09784, allocations: 3.335 MB / 0.5934 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006148/0.104, allocations: 2.293 MB / 0.5957 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002941/0.1069, allocations: 444 kB / 0.5961 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0041/0.111, allocations: 0.6052 MB / 0.5967 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.1141, allocations: 1.182 MB / 0.5978 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005748/0.1199, allocations: 1.736 MB / 0.5995 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.1356, allocations: 6.377 MB / 0.6058 GB, free: 2.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.1356, allocations: 0 / 0.6058 GB, free: 2.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1356, allocations: 0 / 0.6058 GB, free: 2.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003584/0.136, allocations: 0 / 0.6058 GB, free: 2.496 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04442/0.1804, allocations: 9.907 MB / 0.6154 GB, free: 8.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.473e-05/0.1805, allocations: 8.031 kB / 0.6154 GB, free: 8.492 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02993/0.2104, allocations: 4.055 MB / 0.6194 GB, free: 4.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009059/0.2195, allocations: 2.594 MB / 0.6219 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001799/0.2213, allocations: 1.036 MB / 0.623 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.2237, allocations: 352 kB / 0.6233 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.2434, allocations: 4.764 MB / 0.6279 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.2435, allocations: 3.938 kB / 0.6279 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/0.2449, allocations: 144 kB / 0.6281 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.245, allocations: 87.94 kB / 0.6282 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.2586, allocations: 4.253 MB / 0.6323 GB, free: 6.918 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.04582/0.3044, allocations: 13.05 MB / 0.6451 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/0.3198, allocations: 4.37 MB / 0.6493 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007855/0.3277, allocations: 2.519 MB / 0.6518 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000912/0.3286, allocations: 54.97 kB / 0.6518 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01001/0.3386, allocations: 3.21 MB / 0.655 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=384): time 1.245e-05/0.3386, allocations: 0 / 0.655 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=384): time 0.6669/1.005, allocations: 67.55 MB / 0.7209 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.006, allocations: 150.3 kB / 0.7211 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006364/1.012, allocations: 3.247 MB / 0.7243 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.013, allocations: 96.39 kB / 0.7243 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/1.014, allocations: 2.008 MB / 0.7263 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/1.016, allocations: 1.364 MB / 0.7276 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/1.018, allocations: 0.6673 MB / 0.7283 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.018, allocations: 310.4 kB / 0.7286 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006598/1.024, allocations: 2.643 MB / 0.7312 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007799/1.032, allocations: 3.267 MB / 0.7344 GB, free: 132 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07758/1.11, allocations: 19.19 MB / 0.7531 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.75e-05/1.11, allocations: 3.344 kB / 0.7531 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.06265/1.173, allocations: 17.21 MB / 0.7699 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/1.173, allocations: 67.39 kB / 0.77 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/1.173, allocations: 16 kB / 0.77 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02658/1.199, allocations: 7.148 MB / 0.777 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/1.203, allocations: 0.6755 MB / 0.7776 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09531/1.299, allocations: 32.31 MB / 0.8092 GB, free: 72.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007167/1.306, allocations: 0.6302 MB / 0.8098 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/1.307, allocations: 148 kB / 0.8099 GB, free: 71.32 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (400): * Single equations (assignments): 397 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003816/1.311, allocations: 0.6701 MB / 0.8106 GB, free: 70.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002245/1.313, allocations: 484.9 kB / 0.8111 GB, free: 70.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05863/1.372, allocations: 16.76 MB / 0.8274 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/1.372, allocations: 36 kB / 0.8275 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001233/1.372, allocations: 31.89 kB / 0.8275 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/1.372, allocations: 23.92 kB / 0.8275 GB, free: 53.24 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.06865/1.441, allocations: 20.05 MB / 0.8471 GB, free: 33.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/1.441, allocations: 3.984 kB / 0.8471 GB, free: 33.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.443, allocations: 391.5 kB / 0.8475 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02689/1.47, allocations: 7.363 MB / 0.8547 GB, free: 25.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001389/1.472, allocations: 79.98 kB / 0.8547 GB, free: 25.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09275/1.565, allocations: 30.66 MB / 0.8847 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.565, allocations: 0 / 0.8847 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07872/1.643, allocations: 20.2 MB / 0.9044 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.645, allocations: 0.4984 MB / 0.9049 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002764/1.648, allocations: 71.98 kB / 0.905 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007249/1.655, allocations: 382.6 kB / 0.9053 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005453/1.661, allocations: 0.8169 MB / 0.9061 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001647/1.662, allocations: 95.97 kB / 0.9062 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006556/1.669, allocations: 2.125 MB / 0.9083 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.41e-07/1.669, allocations: 4 kB / 0.9083 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009566/1.679, allocations: 1.808 MB / 0.9101 GB, free: 0.5508 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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.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.001615/1.68, allocations: 201.4 kB / 0.9103 GB, free: 360 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03244/1.713, allocations: 8.843 MB / 0.9189 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.713, allocations: 0 / 0.9189 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02442/1.737, allocations: 5.904 MB / 0.9247 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007023/1.744, allocations: 394.6 kB / 0.925 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.767, allocations: 7.972 MB / 0.9328 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/1.771, allocations: 1.935 MB / 0.9347 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002636/1.773, allocations: 383.1 kB / 0.9351 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.775, allocations: 252.4 kB / 0.9353 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.164e-06/1.775, allocations: 0 / 0.9353 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.4475/2.222, allocations: 97.23 MB / 1.03 GB, free: 162.8 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.512383382767439] Failed to read output from testmodel.py, exit status != 0: 2.233466297388077 2.244815272 2.1063814 Calling exit ...