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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 108.7 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 242.7 MB, free: 15.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 193 kB / 295 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5348/0.5348, allocations: 98.2 MB / 445.4 MB, free: 11 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 80.14 kB / 0.591 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1488, allocations: 72.79 MB / 0.6621 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007277/0.1561, allocations: 6.21 MB / 0.6681 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.16, allocations: 1.861 MB / 0.67 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.1605, allocations: 12 kB / 0.67 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.1611, allocations: 210.1 kB / 0.6702 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1628, allocations: 0.7574 MB / 0.6709 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1641, allocations: 0.5863 MB / 0.6715 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.1658, allocations: 1.374 MB / 0.6728 GB, free: 160 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.1663, allocations: 287.9 kB / 0.6731 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007733/0.1671, allocations: 0.5835 MB / 0.6737 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008555/0.1679, allocations: 0.7544 MB / 0.6744 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.1681, allocations: 108 kB / 0.6745 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.1686, allocations: 243.9 kB / 0.6747 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.1689, allocations: 286.8 kB / 0.675 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.1695, allocations: 0.6097 MB / 0.6756 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.1711, allocations: 1.494 MB / 0.6771 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1711, allocations: 4 kB / 0.6771 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1711, allocations: 0 / 0.6771 GB, free: 11.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.1712, allocations: 0 / 0.6771 GB, free: 11.77 MB / 494.1 MB 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.008028/0.1792, allocations: 2.523 MB / 0.6795 GB, free: 9.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1793, allocations: 16.03 kB / 0.6795 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.1842, allocations: 0.7718 MB / 0.6803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1857, allocations: 0.8016 MB / 0.6811 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.1861, allocations: 252.2 kB / 0.6813 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.1863, allocations: 76 kB / 0.6814 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.1888, allocations: 1.181 MB / 0.6825 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1889, allocations: 7.938 kB / 0.6826 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.73e-05/0.189, allocations: 24 kB / 0.6826 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.189, allocations: 23.94 kB / 0.6826 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1911, allocations: 0.9459 MB / 0.6835 GB, free: 4.988 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.006572/0.1977, allocations: 3.566 MB / 0.687 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3131/0.5108, allocations: 2.297 MB / 0.6893 GB, free: 25.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.5123, allocations: 0.6533 MB / 0.6899 GB, free: 25.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.5124, allocations: 21.31 kB / 0.6899 GB, free: 25.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.5124, allocations: 41.91 kB / 0.6899 GB, free: 25.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.5125, allocations: 0 / 0.6899 GB, free: 25.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.02857/0.541, allocations: 6.876 MB / 0.6967 GB, free: 24.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5412, allocations: 95.83 kB / 0.6968 GB, free: 24.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.5427, allocations: 0.9694 MB / 0.6977 GB, free: 24.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.543, allocations: 44.45 kB / 0.6977 GB, free: 24.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.5433, allocations: 464.6 kB / 0.6982 GB, free: 24.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.5436, allocations: 326.8 kB / 0.6985 GB, free: 24.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004726/0.5441, allocations: 262.2 kB / 0.6987 GB, free: 24.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.5442, allocations: 306.1 kB / 0.699 GB, free: 23.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.5458, allocations: 0.6958 MB / 0.6997 GB, free: 23.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.5475, allocations: 0.9155 MB / 0.7006 GB, free: 23.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0224/0.5699, allocations: 5.063 MB / 0.7056 GB, free: 23.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/0.57, allocations: 2.781 kB / 0.7056 GB, free: 23.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01301/0.583, allocations: 4.141 MB / 0.7096 GB, free: 22.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.5831, allocations: 11.28 kB / 0.7096 GB, free: 22.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.5831, allocations: 5 kB / 0.7096 GB, free: 22.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005392/0.5885, allocations: 1.509 MB / 0.7111 GB, free: 22.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5898, allocations: 263.1 kB / 0.7113 GB, free: 22.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.6083, allocations: 8.283 MB / 0.7194 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.61, allocations: 172.9 kB / 0.7196 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.6102, allocations: 54.77 kB / 0.7197 GB, free: 17.3 MB / 494.1 MB 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.0005338/0.6107, allocations: 264.6 kB / 0.7199 GB, free: 17.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009311/0.6117, allocations: 346.7 kB / 0.7202 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.6227, allocations: 3.585 MB / 0.7237 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.6228, allocations: 14 kB / 0.7237 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.6228, allocations: 7.906 kB / 0.7238 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.6228, allocations: 4.734 kB / 0.7238 GB, free: 15.06 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 postOpt removeSimpleEquations (simulation): time 0.01309/0.6359, allocations: 5.135 MB / 0.7288 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.636, allocations: 0 / 0.7288 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.6365, allocations: 117.6 kB / 0.7289 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004941/0.6415, allocations: 1.578 MB / 0.7304 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.6417, allocations: 20 kB / 0.7304 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.6591, allocations: 10.77 MB / 0.741 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6591, allocations: 3.938 kB / 0.741 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.6743, allocations: 4.607 MB / 0.7455 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/0.6749, allocations: 220.4 kB / 0.7457 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.6752, allocations: 20 kB / 0.7457 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6762, allocations: 79.91 kB / 0.7458 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000585/0.6768, allocations: 179.9 kB / 0.7459 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.6769, allocations: 27.98 kB / 0.746 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000928/0.6778, allocations: 0.6473 MB / 0.7466 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6778, allocations: 0 / 0.7466 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001562/0.6794, allocations: 436 kB / 0.747 GB, free: 8.605 MB / 0.4981 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.000308/0.6797, allocations: 139.3 kB / 0.7472 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006461/0.6862, allocations: 2.291 MB / 0.7494 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6862, allocations: 0 / 0.7494 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.6904, allocations: 1.322 MB / 0.7507 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.692, allocations: 349.9 kB / 0.751 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.6961, allocations: 2.117 MB / 0.7531 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.6969, allocations: 1.081 MB / 0.7541 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.6972, allocations: 79.41 kB / 0.7542 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.6972, allocations: 0 / 0.7542 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.02966/0.7269, allocations: 21.43 MB / 0.7751 GB, free: 11.72 MB / 0.5294 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: 9.317536159185693] Failed to read output from testmodel.py, exit status != 0: 0.7348641320131719 0.747778984 0.574006393 Calling exit ...