Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001323/0.001323, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.408/1.408, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001497/0.001497, allocations: 209.2 kB / 310 MB, free: 3.094 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.6151/0.6151, allocations: 107.3 MB / 473.7 MB, free: 29.71 MB / 350.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.002389/0.002389, allocations: 94.17 kB / 0.6345 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1278, allocations: 80.17 MB / 0.7128 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007151/0.135, allocations: 5.942 MB / 0.7186 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1385, allocations: 1.982 MB / 0.7205 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003319/0.1388, allocations: 11.94 kB / 0.7205 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.1394, allocations: 245.9 kB / 0.7207 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.1412, allocations: 0.8587 MB / 0.7216 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1424, allocations: 0.6338 MB / 0.7222 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.1441, allocations: 1.69 MB / 0.7238 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.1444, allocations: 222.9 kB / 0.7241 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007966/0.1452, allocations: 0.7159 MB / 0.7248 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009553/0.1462, allocations: 0.8165 MB / 0.7256 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.1464, allocations: 132 kB / 0.7257 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.1468, allocations: 279.9 kB / 0.7259 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.1472, allocations: 354.6 kB / 0.7263 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.1477, allocations: 0.5711 MB / 0.7268 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.1495, allocations: 1.778 MB / 0.7286 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1495, allocations: 0 / 0.7286 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1495, allocations: 0 / 0.7286 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.1495, allocations: 0 / 0.7286 GB, free: 6.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00922/0.1587, allocations: 2.917 MB / 0.7314 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1587, allocations: 8.031 kB / 0.7314 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.1636, allocations: 0.7952 MB / 0.7322 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1652, allocations: 0.8779 MB / 0.7331 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.1655, allocations: 341.2 kB / 0.7334 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1657, allocations: 87.95 kB / 0.7335 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.1679, allocations: 1.139 MB / 0.7346 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1679, allocations: 3.938 kB / 0.7346 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.168, allocations: 32 kB / 0.7346 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.168, allocations: 20 kB / 0.7346 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.1701, allocations: 1.025 MB / 0.7356 GB, free: 15.32 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 preOpt removeSimpleEquations (simulation): time 0.006201/0.1763, allocations: 2.917 MB / 0.7385 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007484/0.1838, allocations: 2.047 MB / 0.7405 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.1853, allocations: 0.666 MB / 0.7411 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.644e-05/0.1853, allocations: 20.98 kB / 0.7412 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.1871, allocations: 0.8605 MB / 0.742 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 2.885e-06/0.1871, allocations: 0 / 0.742 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02782/0.2149, allocations: 6.959 MB / 0.7488 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.215, allocations: 119.7 kB / 0.7489 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.2167, allocations: 1.114 MB / 0.75 GB, free: 440 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.217, allocations: 45.7 kB / 0.75 GB, free: 388 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.2174, allocations: 0.5095 MB / 0.7505 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.2178, allocations: 380.7 kB / 0.7509 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/0.2183, allocations: 291.5 kB / 0.7512 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2185, allocations: 308.9 kB / 0.7515 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.2202, allocations: 0.8389 MB / 0.7523 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.222, allocations: 1.008 MB / 0.7533 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02596/0.248, allocations: 6.11 MB / 0.7592 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.248, allocations: 0 / 0.7592 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01407/0.262, allocations: 4.504 MB / 0.7636 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.2621, allocations: 71.33 kB / 0.7637 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2621, allocations: 0 / 0.7637 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006197/0.2683, allocations: 1.647 MB / 0.7653 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.2698, allocations: 287.6 kB / 0.7656 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/0.2906, allocations: 8.338 MB / 0.7737 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.2926, allocations: 207.2 kB / 0.7739 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.2928, allocations: 55.97 kB / 0.774 GB, free: 7.523 MB / 0.545 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 order2.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (164): * Single equations (assignments): 161 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007884/0.2936, allocations: 300.1 kB / 0.7743 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.294, allocations: 135.2 kB / 0.7744 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.3071, allocations: 3.925 MB / 0.7782 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3071, allocations: 8 kB / 0.7782 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/0.3071, allocations: 12 kB / 0.7783 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.3071, allocations: 7.969 kB / 0.7783 GB, free: 3.09 MB / 0.545 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.01525/0.3224, allocations: 4.955 MB / 0.7831 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.3224, allocations: 4 kB / 0.7831 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.3231, allocations: 115.9 kB / 0.7832 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005615/0.3287, allocations: 1.587 MB / 0.7848 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.3289, allocations: 20 kB / 0.7848 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.3506, allocations: 9.184 MB / 0.7938 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.3506, allocations: 3.938 kB / 0.7938 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.366, allocations: 4.833 MB / 0.7985 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.3665, allocations: 162.8 kB / 0.7986 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.3669, allocations: 23.94 kB / 0.7987 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.3683, allocations: 115.9 kB / 0.7988 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006498/0.369, allocations: 200.6 kB / 0.799 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.3691, allocations: 31.94 kB / 0.799 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001422/0.3705, allocations: 0.7549 MB / 0.7997 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3705, allocations: 0 / 0.7997 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001689/0.3722, allocations: 495.6 kB / 0.8002 GB, free: 12.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003308/0.3725, allocations: 151.5 kB / 0.8003 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00696/0.3795, allocations: 2.522 MB / 0.8028 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3795, allocations: 0 / 0.8028 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.384, allocations: 1.585 MB / 0.8044 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3851, allocations: 119.8 kB / 0.8045 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.3902, allocations: 2.529 MB / 0.8069 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.3908, allocations: 0.5401 MB / 0.8075 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.3912, allocations: 91.41 kB / 0.8076 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.3912, allocations: 0 / 0.8076 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.3119/0.7032, allocations: 24.95 MB / 0.8319 GB, free: 86.39 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.378161665052176] Failed to read output from testmodel.py, exit status != 0: 0.7110513802617788 0.7201812620000001 0.568749371 Calling exit ...