Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001635/0.001635, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.486/1.486, allocations: 230.6 MB / 252.7 MB, free: 8.105 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.001641/0.001641, allocations: 216.2 kB / 309.2 MB, free: 2.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6033/0.6033, allocations: 107.2 MB / 472.8 MB, free: 4.539 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_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.002737/0.002737, allocations: 79.88 kB / 0.6335 GB, free: 4.508 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4333, allocations: 80.14 MB / 0.7118 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00564/0.439, allocations: 5.85 MB / 0.7175 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.4432, allocations: 1.921 MB / 0.7194 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009549/0.4441, allocations: 10.5 kB / 0.7194 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.445, allocations: 244.9 kB / 0.7196 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.4476, allocations: 0.8374 MB / 0.7204 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4492, allocations: 0.6261 MB / 0.7211 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002364/0.4516, allocations: 1.611 MB / 0.7226 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.4521, allocations: 207 kB / 0.7228 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000989/0.453, allocations: 0.684 MB / 0.7235 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.4541, allocations: 0.7686 MB / 0.7242 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.4543, allocations: 123.2 kB / 0.7244 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.4548, allocations: 272.5 kB / 0.7246 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003408/0.4552, allocations: 332 kB / 0.7249 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.4557, allocations: 0.5443 MB / 0.7255 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.4578, allocations: 1.704 MB / 0.7271 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4578, allocations: 0 / 0.7271 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4578, allocations: 0 / 0.7271 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.4578, allocations: 3.281 kB / 0.7271 GB, free: 11.3 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.01009/0.4679, allocations: 2.814 MB / 0.7299 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4679, allocations: 10 kB / 0.7299 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005317/0.4732, allocations: 0.8057 MB / 0.7307 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.4751, allocations: 0.8179 MB / 0.7315 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.4755, allocations: 336.6 kB / 0.7318 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.4757, allocations: 86.41 kB / 0.7319 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.478, allocations: 1.114 MB / 0.733 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.478, allocations: 0 / 0.733 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.4781, allocations: 34.88 kB / 0.733 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4782, allocations: 25.75 kB / 0.733 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.4803, allocations: 1.015 MB / 0.734 GB, free: 7.77 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.00707/0.4874, allocations: 2.871 MB / 0.7368 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007329/0.4947, allocations: 2.025 MB / 0.7388 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.4962, allocations: 0.6387 MB / 0.7394 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-05/0.4963, allocations: 11.44 kB / 0.7394 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/0.498, allocations: 0.8457 MB / 0.7403 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/0.498, allocations: 0 / 0.7403 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02953/0.5275, allocations: 6.954 MB / 0.747 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.5276, allocations: 113.5 kB / 0.7472 GB, free: 388 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.5297, allocations: 1.065 MB / 0.7482 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.5299, allocations: 46.33 kB / 0.7482 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.5304, allocations: 0.5086 MB / 0.7487 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004465/0.5308, allocations: 370.2 kB / 0.7491 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005292/0.5313, allocations: 279.8 kB / 0.7494 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5315, allocations: 302.1 kB / 0.7496 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.5332, allocations: 0.809 MB / 0.7504 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.5351, allocations: 0.9767 MB / 0.7514 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02545/0.5606, allocations: 5.754 MB / 0.757 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.5606, allocations: 0 / 0.757 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01442/0.575, allocations: 4.34 MB / 0.7612 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.5751, allocations: 67.39 kB / 0.7613 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5751, allocations: 0 / 0.7613 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005805/0.5809, allocations: 1.5 MB / 0.7628 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5825, allocations: 291.6 kB / 0.7631 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/0.6037, allocations: 7.968 MB / 0.7708 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.6057, allocations: 199.1 kB / 0.771 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.6059, allocations: 51.97 kB / 0.7711 GB, free: 9.906 MB / 0.5294 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.0007116/0.6066, allocations: 300.1 kB / 0.7714 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.6069, allocations: 127.2 kB / 0.7715 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.6207, allocations: 3.867 MB / 0.7753 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.6207, allocations: 12 kB / 0.7753 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.6207, allocations: 7.938 kB / 0.7753 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.6208, allocations: 7.984 kB / 0.7753 GB, free: 5.543 MB / 0.5294 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.01639/0.6371, allocations: 4.9 MB / 0.7801 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6372, allocations: 4 kB / 0.7801 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.6378, allocations: 95.91 kB / 0.7802 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005931/0.6437, allocations: 1.598 MB / 0.7817 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.6439, allocations: 23.98 kB / 0.7817 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02227/0.6661, allocations: 9.188 MB / 0.7907 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6661, allocations: 4 kB / 0.7907 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/0.6824, allocations: 4.762 MB / 0.7954 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/0.683, allocations: 146.9 kB / 0.7955 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005082/0.6835, allocations: 23.94 kB / 0.7955 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.6851, allocations: 111.9 kB / 0.7956 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008173/0.686, allocations: 208.7 kB / 0.7958 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.6861, allocations: 24 kB / 0.7959 GB, free: 140 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001445/0.6876, allocations: 0.7072 MB / 0.7966 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6876, allocations: 4 kB / 0.7966 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001746/0.6893, allocations: 471.6 kB / 0.797 GB, free: 14.95 MB / 0.5606 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.0003048/0.6896, allocations: 151.1 kB / 0.7972 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006784/0.6964, allocations: 2.436 MB / 0.7995 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6964, allocations: 0 / 0.7995 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004574/0.701, allocations: 1.544 MB / 0.801 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.7021, allocations: 115.8 kB / 0.8012 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.7069, allocations: 2.326 MB / 0.8034 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.7075, allocations: 0.5315 MB / 0.8039 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004975/0.708, allocations: 119.9 kB / 0.8041 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.7083, allocations: 83.59 kB / 0.8041 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.7083, allocations: 0 / 0.8041 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of Templates: time 0.04486/0.7532, allocations: 26.99 MB / 0.8305 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.195059495046735] Failed to read output from testmodel.py, exit status != 0: 0.7629473749548197 0.77801553 0.31700304500000004 Calling exit ...