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.001743/0.001743, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.463/1.463, allocations: 177.2 MB / 200.1 MB, free: 9 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.001648/0.001648, allocations: 157.5 kB / 256.6 MB, free: 0.7227 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.4609/0.4609, allocations: 80.3 MB / 393.3 MB, free: 9.398 MB / 366.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.002495/0.002495, allocations: 84.66 kB / 0.5558 GB, free: 31.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 80.13 MB / 0.6341 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007666/0.1439, allocations: 5.511 MB / 0.6395 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1484, allocations: 1.826 MB / 0.6413 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.1491, allocations: 12 kB / 0.6413 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006499/0.1498, allocations: 210.1 kB / 0.6415 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.1519, allocations: 0.7981 MB / 0.6422 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1532, allocations: 0.575 MB / 0.6428 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.1548, allocations: 1.382 MB / 0.6442 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.1551, allocations: 180.4 kB / 0.6443 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.1559, allocations: 0.6146 MB / 0.6449 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/0.1568, allocations: 0.6997 MB / 0.6456 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.157, allocations: 104 kB / 0.6457 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.1575, allocations: 251.9 kB / 0.646 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.1578, allocations: 290.7 kB / 0.6462 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.1583, allocations: 0.501 MB / 0.6467 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.16, allocations: 1.529 MB / 0.6482 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.16, allocations: 4 kB / 0.6482 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.16, allocations: 4 kB / 0.6482 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.16, allocations: 0 / 0.6482 GB, free: 1.027 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.008526/0.1686, allocations: 2.467 MB / 0.6506 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1686, allocations: 11.97 kB / 0.6506 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.1736, allocations: 0.7641 MB / 0.6514 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.175, allocations: 0.7411 MB / 0.6521 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/0.1754, allocations: 363 kB / 0.6525 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.1756, allocations: 76 kB / 0.6525 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.1781, allocations: 1.174 MB / 0.6537 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1781, allocations: 3.938 kB / 0.6537 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.1782, allocations: 28 kB / 0.6537 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.1782, allocations: 16 kB / 0.6537 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.1803, allocations: 0.9459 MB / 0.6546 GB, free: 10.28 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.0058/0.1861, allocations: 2.648 MB / 0.6572 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/0.1936, allocations: 1.927 MB / 0.6591 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.1951, allocations: 0.5965 MB / 0.6597 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.1951, allocations: 12.64 kB / 0.6597 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1952, allocations: 47.22 kB / 0.6598 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 3.817e-06/0.1952, allocations: 3.938 kB / 0.6598 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.3782/0.5734, allocations: 6.679 MB / 0.6663 GB, free: 31.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5735, allocations: 98.98 kB / 0.6664 GB, free: 31.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.575, allocations: 0.9375 MB / 0.6673 GB, free: 30.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.5752, allocations: 42.7 kB / 0.6673 GB, free: 30.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.5755, allocations: 471.8 kB / 0.6678 GB, free: 30.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.5759, allocations: 326.4 kB / 0.6681 GB, free: 30.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.5763, allocations: 249.4 kB / 0.6683 GB, free: 30.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5764, allocations: 356 kB / 0.6687 GB, free: 30.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.5779, allocations: 0.6886 MB / 0.6693 GB, free: 30.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.5795, allocations: 0.9017 MB / 0.6702 GB, free: 30 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02357/0.6031, allocations: 5.251 MB / 0.6753 GB, free: 28.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/0.6031, allocations: 1.156 kB / 0.6753 GB, free: 28.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01436/0.6175, allocations: 4.092 MB / 0.6793 GB, free: 27.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.6175, allocations: 6.938 kB / 0.6794 GB, free: 27.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/0.6175, allocations: 5.812 kB / 0.6794 GB, free: 27.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005976/0.6235, allocations: 1.516 MB / 0.6808 GB, free: 27.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.6248, allocations: 256.2 kB / 0.6811 GB, free: 27.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.6444, allocations: 7.961 MB / 0.6889 GB, free: 23.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.6461, allocations: 163.8 kB / 0.689 GB, free: 23.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6462, allocations: 52.23 kB / 0.6891 GB, free: 23.11 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 (144): * Single equations (assignments): 143 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005265/0.6467, allocations: 260.2 kB / 0.6893 GB, free: 22.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009376/0.6477, allocations: 344.7 kB / 0.6896 GB, free: 22.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6597, allocations: 3.553 MB / 0.6931 GB, free: 20.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.6597, allocations: 9.625 kB / 0.6931 GB, free: 20.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.6597, allocations: 6.875 kB / 0.6931 GB, free: 20.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.6597, allocations: 9.953 kB / 0.6931 GB, free: 20.9 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.0141/0.6738, allocations: 4.584 MB / 0.6976 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.6739, allocations: 0 / 0.6976 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.6745, allocations: 106.4 kB / 0.6977 GB, free: 18.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/0.6798, allocations: 1.568 MB / 0.6992 GB, free: 17.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.68, allocations: 22.23 kB / 0.6993 GB, free: 17.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.6974, allocations: 10.35 MB / 0.7094 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6974, allocations: 0.5469 kB / 0.7094 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/0.7113, allocations: 4.576 MB / 0.7138 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.7116, allocations: 135 kB / 0.714 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.7118, allocations: 23.28 kB / 0.714 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.7127, allocations: 87.91 kB / 0.7141 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005039/0.7133, allocations: 184.5 kB / 0.7142 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/0.7133, allocations: 27.92 kB / 0.7143 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006673/0.714, allocations: 0.6269 MB / 0.7149 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.714, allocations: 0.875 kB / 0.7149 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001251/0.7152, allocations: 439.6 kB / 0.7153 GB, free: 0.9375 MB / 0.5137 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.0002254/0.7155, allocations: 136.7 kB / 0.7154 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006531/0.722, allocations: 2.154 MB / 0.7175 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.722, allocations: 0 / 0.7175 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004487/0.7265, allocations: 1.256 MB / 0.7188 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.7281, allocations: 354.5 kB / 0.7191 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.7326, allocations: 2.088 MB / 0.7211 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.7331, allocations: 489.8 kB / 0.7216 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003509/0.7335, allocations: 103.2 kB / 0.7217 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.7337, allocations: 76.48 kB / 0.7218 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.7337, allocations: 0 / 0.7218 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of Templates: time 0.04056/0.7743, allocations: 23.52 MB / 0.7448 GB, free: 2.805 MB / 0.545 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 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.387038665940054] Failed to read output from testmodel.py, exit status != 0: 0.7842227750224993 0.815441969 0.65006138 Calling exit ...