Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001872/0.001872, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.523/1.523, allocations: 230.6 MB / 252.7 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.0017/0.0017, allocations: 218.9 kB / 309.2 MB, free: 3.164 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.6576/0.6576, allocations: 107.3 MB / 472.9 MB, free: 29.93 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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [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.002614/0.002614, allocations: 83.66 kB / 0.6337 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1574, allocations: 80.17 MB / 0.712 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007647/0.165, allocations: 5.835 MB / 0.7177 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.1696, allocations: 1.924 MB / 0.7196 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009884/0.1706, allocations: 12 kB / 0.7196 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007788/0.1714, allocations: 237.9 kB / 0.7198 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.1737, allocations: 0.8546 MB / 0.7207 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.1752, allocations: 0.6372 MB / 0.7213 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.1773, allocations: 1.604 MB / 0.7228 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.1777, allocations: 226.8 kB / 0.7231 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009971/0.1787, allocations: 0.6769 MB / 0.7237 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1797, allocations: 0.7581 MB / 0.7245 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.1799, allocations: 124 kB / 0.7246 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.1805, allocations: 271.8 kB / 0.7248 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.1809, allocations: 326.6 kB / 0.7251 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005762/0.1815, allocations: 0.5517 MB / 0.7257 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.1835, allocations: 1.704 MB / 0.7274 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1835, allocations: 0 / 0.7274 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1835, allocations: 0 / 0.7274 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.1835, allocations: 0 / 0.7274 GB, free: 7.262 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009543/0.1931, allocations: 2.816 MB / 0.7301 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1931, allocations: 8.031 kB / 0.7301 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.1984, allocations: 0.803 MB / 0.7309 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.2005, allocations: 0.8268 MB / 0.7317 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.201, allocations: 341.2 kB / 0.732 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.2012, allocations: 83.95 kB / 0.7321 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.2037, allocations: 1.119 MB / 0.7332 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2037, allocations: 3.938 kB / 0.7332 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.2038, allocations: 28 kB / 0.7332 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.2038, allocations: 20 kB / 0.7332 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.206, allocations: 1.009 MB / 0.7342 GB, free: 32 kB / 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.007112/0.2131, allocations: 2.882 MB / 0.737 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007542/0.2206, allocations: 2.025 MB / 0.739 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.2222, allocations: 0.6387 MB / 0.7397 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2223, allocations: 17 kB / 0.7397 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/0.2241, allocations: 0.839 MB / 0.7405 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.587e-06/0.2241, allocations: 0 / 0.7405 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.0297/0.2538, allocations: 6.955 MB / 0.7473 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.2539, allocations: 115.8 kB / 0.7474 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.2557, allocations: 1.058 MB / 0.7484 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.2559, allocations: 45.7 kB / 0.7485 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.2563, allocations: 0.5014 MB / 0.749 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.2568, allocations: 368.9 kB / 0.7493 GB, free: 388 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/0.2573, allocations: 275.5 kB / 0.7496 GB, free: 108 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2574, allocations: 301.1 kB / 0.7499 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.2592, allocations: 0.8076 MB / 0.7506 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.2612, allocations: 0.9767 MB / 0.7516 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02585/0.287, allocations: 5.755 MB / 0.7572 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.2871, allocations: 4 kB / 0.7572 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01468/0.3017, allocations: 4.34 MB / 0.7615 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.3018, allocations: 63.39 kB / 0.7615 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3018, allocations: 0 / 0.7615 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00596/0.3078, allocations: 1.511 MB / 0.763 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.3094, allocations: 283.6 kB / 0.7633 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/0.3301, allocations: 7.976 MB / 0.7711 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.3321, allocations: 195.1 kB / 0.7712 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.3323, allocations: 55.97 kB / 0.7713 GB, free: 9.531 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: 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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007334/0.333, allocations: 292.4 kB / 0.7716 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.3333, allocations: 135.2 kB / 0.7717 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.3467, allocations: 3.867 MB / 0.7755 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.3467, allocations: 12 kB / 0.7755 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.3467, allocations: 7.938 kB / 0.7755 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.3468, allocations: 7.984 kB / 0.7755 GB, free: 5.164 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.01588/0.3626, allocations: 4.892 MB / 0.7803 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.3627, allocations: 3.938 kB / 0.7803 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.3635, allocations: 103.9 kB / 0.7804 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006003/0.3695, allocations: 1.59 MB / 0.7819 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.3697, allocations: 31.98 kB / 0.782 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/0.3915, allocations: 9.181 MB / 0.7909 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3915, allocations: 4 kB / 0.7909 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.407, allocations: 4.762 MB / 0.7956 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.4076, allocations: 146.9 kB / 0.7957 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.4078, allocations: 23.94 kB / 0.7958 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.409, allocations: 107.9 kB / 0.7959 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006389/0.4096, allocations: 208.7 kB / 0.7961 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/0.4097, allocations: 27.98 kB / 0.7961 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001213/0.4109, allocations: 0.7071 MB / 0.7968 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4109, allocations: 4 kB / 0.7968 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001516/0.4125, allocations: 479.6 kB / 0.7972 GB, free: 14.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.4128, allocations: 144.2 kB / 0.7974 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006756/0.4195, allocations: 2.428 MB / 0.7997 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4195, allocations: 4 kB / 0.7997 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004575/0.4241, allocations: 1.552 MB / 0.8013 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4252, allocations: 118.1 kB / 0.8014 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.4296, allocations: 2.317 MB / 0.8036 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.4302, allocations: 0.5317 MB / 0.8042 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004546/0.4306, allocations: 115.9 kB / 0.8043 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4309, allocations: 83.34 kB / 0.8043 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.4309, allocations: 4 kB / 0.8043 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of Templates: time 0.3548/0.7857, allocations: 26.98 MB / 0.8307 GB, free: 88.41 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.247244652360678] Failed to read output from testmodel.py, exit status != 0: 0.794177383184433 0.804504433 0.618573813 Calling exit ...