Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001489/0.001489, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.326/1.326, allocations: 230.6 MB / 253.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] 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.001474/0.001474, allocations: 203.9 kB / 310 MB, free: 3.145 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.5081/0.5081, allocations: 101.3 MB / 467.8 MB, free: 10.31 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [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.002415/0.002415, allocations: 88.16 kB / 0.6257 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3921, allocations: 78.61 MB / 0.7024 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.005174/0.3973, allocations: 6.296 MB / 0.7086 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.4, allocations: 1.925 MB / 0.7105 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.4004, allocations: 9.156 kB / 0.7105 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.4008, allocations: 216.3 kB / 0.7107 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.4022, allocations: 0.8239 MB / 0.7115 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4032, allocations: 0.5875 MB / 0.7121 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.4043, allocations: 1.374 MB / 0.7134 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.4045, allocations: 201.6 kB / 0.7136 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.4051, allocations: 0.6153 MB / 0.7142 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.4058, allocations: 0.7725 MB / 0.7149 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.4059, allocations: 101.3 kB / 0.715 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.4063, allocations: 254 kB / 0.7153 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.4065, allocations: 290.8 kB / 0.7156 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.4068, allocations: 0.6132 MB / 0.7162 GB, free: 472 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.4082, allocations: 1.517 MB / 0.7176 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4083, allocations: 0 / 0.7176 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4083, allocations: 0 / 0.7176 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.4083, allocations: 0 / 0.7176 GB, free: 15.77 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008251/0.4165, allocations: 2.477 MB / 0.7201 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4166, allocations: 10.5 kB / 0.7201 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.4214, allocations: 0.7634 MB / 0.7208 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.4228, allocations: 0.7398 MB / 0.7215 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.4231, allocations: 367 kB / 0.7219 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4233, allocations: 77.39 kB / 0.722 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.4256, allocations: 1.173 MB / 0.7231 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.4256, allocations: 7.938 kB / 0.7231 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.4257, allocations: 31.5 kB / 0.7231 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.4257, allocations: 16.38 kB / 0.7232 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.4278, allocations: 0.9469 MB / 0.7241 GB, free: 12.82 MB / 0.4981 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.006505/0.4343, allocations: 3.515 MB / 0.7275 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007188/0.4414, allocations: 1.932 MB / 0.7294 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.4427, allocations: 0.5928 MB / 0.73 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4428, allocations: 19.11 kB / 0.73 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4429, allocations: 46.77 kB / 0.73 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 2.474e-06/0.4429, allocations: 1.281 kB / 0.73 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.02623/0.4691, allocations: 6.699 MB / 0.7366 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4692, allocations: 97.83 kB / 0.7367 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.4706, allocations: 0.9626 MB / 0.7376 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.4708, allocations: 44.64 kB / 0.7377 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.4711, allocations: 462.8 kB / 0.7381 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.4715, allocations: 330.2 kB / 0.7384 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.4719, allocations: 261 kB / 0.7387 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4721, allocations: 306.2 kB / 0.739 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.4735, allocations: 0.7005 MB / 0.7396 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.4751, allocations: 0.9118 MB / 0.7405 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02236/0.4974, allocations: 5.279 MB / 0.7457 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.4975, allocations: 1.156 kB / 0.7457 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01286/0.5103, allocations: 4.122 MB / 0.7497 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.5104, allocations: 7.156 kB / 0.7497 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.5104, allocations: 9.469 kB / 0.7497 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005494/0.5159, allocations: 1.509 MB / 0.7512 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.5172, allocations: 259.6 kB / 0.7515 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/0.5361, allocations: 8.185 MB / 0.7594 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.5377, allocations: 171.1 kB / 0.7596 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.5378, allocations: 55.97 kB / 0.7597 GB, free: 5.238 MB / 0.5137 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0005848/0.5384, allocations: 263 kB / 0.7599 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009579/0.5394, allocations: 341.5 kB / 0.7602 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.5509, allocations: 3.565 MB / 0.7637 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5509, allocations: 8 kB / 0.7637 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5509, allocations: 15.98 kB / 0.7637 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.5509, allocations: 3.984 kB / 0.7638 GB, free: 1.02 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.01406/0.565, allocations: 5.068 MB / 0.7687 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.565, allocations: 4 kB / 0.7687 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.5656, allocations: 111.8 kB / 0.7688 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/0.5708, allocations: 1.586 MB / 0.7704 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.727e-05/0.5709, allocations: 19.98 kB / 0.7704 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.5904, allocations: 10.55 MB / 0.7807 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5904, allocations: 8.031 kB / 0.7807 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.6044, allocations: 4.59 MB / 0.7852 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/0.6048, allocations: 143 kB / 0.7853 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.605, allocations: 20 kB / 0.7853 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.6059, allocations: 79.91 kB / 0.7854 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/0.6065, allocations: 184.7 kB / 0.7856 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.6066, allocations: 24 kB / 0.7856 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008672/0.6074, allocations: 0.6434 MB / 0.7862 GB, free: 9.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6074, allocations: 0 / 0.7862 GB, free: 9.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001304/0.6087, allocations: 443.7 kB / 0.7867 GB, free: 9.125 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.609, allocations: 139 kB / 0.7868 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005603/0.6146, allocations: 2.167 MB / 0.7889 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6146, allocations: 0 / 0.7889 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003629/0.6182, allocations: 1.266 MB / 0.7901 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6195, allocations: 344.1 kB / 0.7905 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.6234, allocations: 2.126 MB / 0.7925 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.6241, allocations: 1.084 MB / 0.7936 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.6244, allocations: 75.42 kB / 0.7937 GB, free: 1.824 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.6244, allocations: 0 / 0.7937 GB, free: 1.824 MB / 0.545 GB Notification: Performance of Templates: time 0.02641/0.6508, allocations: 21.59 MB / 0.8148 GB, free: 12.18 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.587057038210332] Failed to read output from testmodel.py, exit status != 0: 0.6595194849651307 0.6727902950000001 0.26175394700000004 Calling exit ...