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.001462/0.001462, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.384/1.384, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001446/0.001446, allocations: 215.4 kB / 310 MB, free: 3.098 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.5751/0.5751, 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.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.002477/0.002477, allocations: 86.58 kB / 0.6345 GB, free: 29.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1352, allocations: 80.18 MB / 0.7128 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007596/0.1428, allocations: 5.509 MB / 0.7182 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.1468, allocations: 1.822 MB / 0.7199 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007128/0.1475, allocations: 12 kB / 0.7199 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.1482, allocations: 214.1 kB / 0.7202 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.1504, allocations: 0.793 MB / 0.7209 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1518, allocations: 0.5747 MB / 0.7215 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.1537, allocations: 1.378 MB / 0.7228 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005235/0.1543, allocations: 188.4 kB / 0.723 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1554, allocations: 0.6146 MB / 0.7236 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.1566, allocations: 0.7037 MB / 0.7243 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/0.1569, allocations: 104 kB / 0.7244 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.1574, allocations: 247.9 kB / 0.7246 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.1577, allocations: 294.7 kB / 0.7249 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.1582, allocations: 0.501 MB / 0.7254 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.1599, allocations: 1.529 MB / 0.7269 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1599, allocations: 0 / 0.7269 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1599, allocations: 0 / 0.7269 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.16, allocations: 0 / 0.7269 GB, free: 8.453 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.008109/0.1681, allocations: 2.471 MB / 0.7293 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1681, allocations: 8.031 kB / 0.7293 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.1731, allocations: 0.768 MB / 0.7301 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.1747, allocations: 0.7372 MB / 0.7308 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.1751, allocations: 367 kB / 0.7311 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.1753, allocations: 76 kB / 0.7312 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.1777, allocations: 1.173 MB / 0.7324 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1777, allocations: 3.938 kB / 0.7324 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.1778, allocations: 32 kB / 0.7324 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.1779, allocations: 20 kB / 0.7324 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1799, allocations: 0.942 MB / 0.7333 GB, free: 1.699 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.005893/0.1858, allocations: 2.648 MB / 0.7359 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007035/0.1928, allocations: 1.92 MB / 0.7378 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.1942, allocations: 0.6009 MB / 0.7384 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.1943, allocations: 16.66 kB / 0.7384 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1943, allocations: 43.16 kB / 0.7384 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 2.906e-06/0.1943, allocations: 3.938 kB / 0.7384 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.0273/0.2216, allocations: 6.689 MB / 0.745 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.2217, allocations: 105.7 kB / 0.7451 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.2231, allocations: 0.9328 MB / 0.746 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.2233, allocations: 37.7 kB / 0.746 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.2237, allocations: 477.3 kB / 0.7465 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.2242, allocations: 325.2 kB / 0.7468 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/0.2247, allocations: 243.5 kB / 0.747 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2248, allocations: 353.9 kB / 0.7474 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.2264, allocations: 0.6987 MB / 0.748 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.2281, allocations: 0.903 MB / 0.7489 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/0.251, allocations: 5.252 MB / 0.754 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.251, allocations: 4 kB / 0.7541 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01351/0.2645, allocations: 4.087 MB / 0.758 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.2645, allocations: 4 kB / 0.758 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.2646, allocations: 8 kB / 0.7581 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005507/0.2701, allocations: 1.523 MB / 0.7595 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.2712, allocations: 243.6 kB / 0.7598 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.2911, allocations: 7.965 MB / 0.7676 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.2926, allocations: 167.3 kB / 0.7677 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.2928, allocations: 55.98 kB / 0.7678 GB, free: 13.96 MB / 0.545 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.0006179/0.2934, allocations: 254.9 kB / 0.768 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.2945, allocations: 345.4 kB / 0.7683 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.3064, allocations: 3.553 MB / 0.7718 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.3064, allocations: 11.94 kB / 0.7718 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.3065, allocations: 8 kB / 0.7718 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3065, allocations: 3.984 kB / 0.7718 GB, free: 9.766 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.01429/0.3208, allocations: 4.574 MB / 0.7763 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3208, allocations: 4 kB / 0.7763 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.3213, allocations: 103.9 kB / 0.7764 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005611/0.3269, allocations: 1.582 MB / 0.7779 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.327, allocations: 24 kB / 0.778 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.3476, allocations: 10.33 MB / 0.7881 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3476, allocations: 8.031 kB / 0.7881 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.362, allocations: 4.579 MB / 0.7925 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.3623, allocations: 135 kB / 0.7927 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.3625, allocations: 20 kB / 0.7927 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.3635, allocations: 87.84 kB / 0.7928 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/0.364, allocations: 180.9 kB / 0.7929 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.3641, allocations: 27.92 kB / 0.793 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008906/0.365, allocations: 0.6269 MB / 0.7936 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 3.938 kB / 0.7936 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00133/0.3663, allocations: 435.7 kB / 0.794 GB, free: 2.707 MB / 0.5606 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.0002709/0.3666, allocations: 139.1 kB / 0.7941 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005924/0.3725, allocations: 2.155 MB / 0.7962 GB, free: 404 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3725, allocations: 3.938 kB / 0.7962 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003866/0.3764, allocations: 1.262 MB / 0.7975 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3777, allocations: 343.7 kB / 0.7978 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.3816, allocations: 2.134 MB / 0.7999 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.3821, allocations: 489.8 kB / 0.8003 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.3824, allocations: 83.34 kB / 0.8004 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.3824, allocations: 4 kB / 0.8004 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.2803/0.6627, allocations: 21.96 MB / 0.8219 GB, free: 93.07 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.753409262746572] Failed to read output from testmodel.py, exit status != 0: 0.670619853772223 0.681809856 0.5194905289999999 Calling exit ...