Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001866/0.001866, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.51/1.51, allocations: 230.6 MB / 253.4 MB, free: 14.48 MB / 206.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.001642/0.001642, allocations: 217.2 kB / 310 MB, free: 3.102 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.5005/0.5005, allocations: 79.73 MB / 446.2 MB, free: 38.78 MB / 350.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.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003975/0.003975, allocations: 83.91 kB / 0.5942 GB, free: 38.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1464, allocations: 73.3 MB / 0.6657 GB, free: 336 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008514/0.1549, allocations: 6.626 MB / 0.6722 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.16, allocations: 2.021 MB / 0.6742 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.1614, allocations: 12 kB / 0.6742 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000925/0.1623, allocations: 242 kB / 0.6744 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.1651, allocations: 0.8841 MB / 0.6753 GB, free: 7.816 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1667, allocations: 0.6226 MB / 0.6759 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.1694, allocations: 1.627 MB / 0.6775 GB, free: 5.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.1699, allocations: 226.9 kB / 0.6777 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1713, allocations: 0.6808 MB / 0.6784 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.1727, allocations: 0.8401 MB / 0.6792 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.1729, allocations: 120 kB / 0.6793 GB, free: 3.688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.1735, allocations: 275.8 kB / 0.6796 GB, free: 3.418 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.1739, allocations: 330.6 kB / 0.6799 GB, free: 3.094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.1746, allocations: 0.668 MB / 0.6805 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.177, allocations: 1.7 MB / 0.6822 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.177, allocations: 0 / 0.6822 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.177, allocations: 4 kB / 0.6822 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.177, allocations: 0 / 0.6822 GB, free: 0.7109 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01024/0.1873, allocations: 2.804 MB / 0.6849 GB, free: 13.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1873, allocations: 20.02 kB / 0.685 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00559/0.1929, allocations: 0.7952 MB / 0.6857 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.195, allocations: 0.8152 MB / 0.6865 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.1953, allocations: 349.2 kB / 0.6869 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.1955, allocations: 84 kB / 0.6869 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.1979, allocations: 1.086 MB / 0.688 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1979, allocations: 3.938 kB / 0.688 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.198, allocations: 32 kB / 0.688 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.1981, allocations: 16 kB / 0.6881 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.2003, allocations: 0.9877 MB / 0.689 GB, free: 9.555 MB / 478.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.008555/0.2088, allocations: 3.758 MB / 0.6927 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007761/0.2166, allocations: 2.002 MB / 0.6946 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.2182, allocations: 0.6214 MB / 0.6953 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.2184, allocations: 20.97 kB / 0.6953 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/0.2203, allocations: 0.8189 MB / 0.6961 GB, free: 2.125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.2203, allocations: 0 / 0.6961 GB, free: 2.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.03017/0.2505, allocations: 6.904 MB / 0.7028 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.2506, allocations: 119.8 kB / 0.7029 GB, free: 11.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.2526, allocations: 1.079 MB / 0.704 GB, free: 9.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.2529, allocations: 45.73 kB / 0.704 GB, free: 9.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/0.2534, allocations: 0.4975 MB / 0.7045 GB, free: 9.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/0.254, allocations: 372.8 kB / 0.7049 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000777/0.2548, allocations: 295.4 kB / 0.7052 GB, free: 8.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2549, allocations: 301.1 kB / 0.7054 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.2567, allocations: 0.7652 MB / 0.7062 GB, free: 7.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.2587, allocations: 0.942 MB / 0.7071 GB, free: 6.695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02667/0.2854, allocations: 5.786 MB / 0.7128 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.2854, allocations: 0 / 0.7128 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01517/0.3006, allocations: 4.313 MB / 0.717 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.3007, allocations: 59.41 kB / 0.717 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.3007, allocations: 7.984 kB / 0.717 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005961/0.3066, allocations: 1.511 MB / 0.7185 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3084, allocations: 295.6 kB / 0.7188 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/0.3299, allocations: 8.187 MB / 0.7268 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.332, allocations: 199 kB / 0.727 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.3323, allocations: 59.97 kB / 0.727 GB, free: 2.035 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009209/0.3332, allocations: 300.3 kB / 0.7273 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.3336, allocations: 139.1 kB / 0.7275 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.3474, allocations: 3.842 MB / 0.7312 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.3474, allocations: 12 kB / 0.7312 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.3475, allocations: 4 kB / 0.7312 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.3475, allocations: 11.98 kB / 0.7312 GB, free: 13.69 MB / 0.5137 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.01696/0.3645, allocations: 5.404 MB / 0.7365 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.3645, allocations: 3.938 kB / 0.7365 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.3652, allocations: 99.89 kB / 0.7366 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006113/0.3713, allocations: 1.614 MB / 0.7382 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/0.3716, allocations: 19.98 kB / 0.7382 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/0.3946, allocations: 9.421 MB / 0.7474 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3946, allocations: 0 / 0.7474 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.4108, allocations: 4.712 MB / 0.752 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.4114, allocations: 154.9 kB / 0.7522 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/0.412, allocations: 20 kB / 0.7522 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.4137, allocations: 107.9 kB / 0.7523 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007989/0.4145, allocations: 212.6 kB / 0.7525 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.4147, allocations: 27.98 kB / 0.7525 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001481/0.4162, allocations: 0.7274 MB / 0.7532 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4162, allocations: 0 / 0.7532 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001936/0.4181, allocations: 479.6 kB / 0.7537 GB, free: 6.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003832/0.4185, allocations: 134 kB / 0.7538 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006815/0.4253, allocations: 2.369 MB / 0.7561 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4253, allocations: 0 / 0.7561 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004772/0.4301, allocations: 1.555 MB / 0.7576 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.4315, allocations: 118.8 kB / 0.7577 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.4368, allocations: 2.321 MB / 0.76 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/0.4378, allocations: 1.128 MB / 0.7611 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.4383, allocations: 83.42 kB / 0.7612 GB, free: 14.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.4383, allocations: 3.938 kB / 0.7612 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Templates: time 0.03793/0.4762, allocations: 23.8 MB / 0.7844 GB, free: 6.648 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.984217355027795] Failed to read output from testmodel.py, exit status != 0: 0.4877006399910897 0.5029413979999999 0.322491609 Calling exit ...