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.001732/0.001732, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.508/1.508, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.00163/0.00163, allocations: 214.1 kB / 306.7 MB, free: 4.301 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.5884/0.5884, allocations: 107.3 MB / 470 MB, free: 6.238 MB / 334.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.002598/0.002598, allocations: 87.88 kB / 0.6293 GB, free: 7.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4477, allocations: 80.13 MB / 0.7076 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006383/0.4541, allocations: 6.651 MB / 0.7141 GB, free: 192 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.459, allocations: 2.016 MB / 0.7161 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.4601, allocations: 7.938 kB / 0.7161 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.461, allocations: 241.4 kB / 0.7163 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.4639, allocations: 0.8713 MB / 0.7172 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.4657, allocations: 0.6231 MB / 0.7178 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.468, allocations: 1.586 MB / 0.7193 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.4685, allocations: 230.7 kB / 0.7195 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.4697, allocations: 0.6769 MB / 0.7202 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.4708, allocations: 0.8484 MB / 0.721 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.4709, allocations: 121.2 kB / 0.7211 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.4715, allocations: 279.6 kB / 0.7214 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.4719, allocations: 330.6 kB / 0.7217 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007005/0.4726, allocations: 0.6714 MB / 0.7224 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.475, allocations: 1.689 MB / 0.724 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.475, allocations: 0 / 0.724 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.475, allocations: 3.938 kB / 0.724 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.302e-05/0.475, allocations: 7.844 kB / 0.724 GB, free: 10.6 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.01073/0.4857, allocations: 2.737 MB / 0.7267 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4858, allocations: 10.55 kB / 0.7267 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00647/0.4923, allocations: 0.7974 MB / 0.7275 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.4945, allocations: 0.8971 MB / 0.7284 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.4949, allocations: 254.5 kB / 0.7286 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.4951, allocations: 91.02 kB / 0.7287 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.4977, allocations: 1.09 MB / 0.7298 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4977, allocations: 0 / 0.7298 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.4978, allocations: 35.64 kB / 0.7298 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4978, allocations: 18.44 kB / 0.7298 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.5003, allocations: 0.9903 MB / 0.7308 GB, free: 7.48 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.00867/0.5089, allocations: 3.847 MB / 0.7345 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008104/0.517, allocations: 2.298 MB / 0.7368 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.5189, allocations: 0.6131 MB / 0.7374 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.519, allocations: 15.3 kB / 0.7374 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/0.5209, allocations: 0.8204 MB / 0.7382 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.5209, allocations: 1.781 kB / 0.7382 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03132/0.5522, allocations: 7.045 MB / 0.7451 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5523, allocations: 125.5 kB / 0.7452 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.5543, allocations: 1.083 MB / 0.7463 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.5545, allocations: 41.36 kB / 0.7463 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.555, allocations: 0.4964 MB / 0.7468 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.5555, allocations: 375.5 kB / 0.7471 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005989/0.5561, allocations: 296.9 kB / 0.7474 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5563, allocations: 302.4 kB / 0.7477 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.5581, allocations: 0.7597 MB / 0.7485 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.56, allocations: 0.9409 MB / 0.7494 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02661/0.5866, allocations: 5.786 MB / 0.755 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.5866, allocations: 4 kB / 0.755 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01508/0.6017, allocations: 4.313 MB / 0.7592 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.6018, allocations: 66 kB / 0.7593 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6018, allocations: 4 kB / 0.7593 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/0.6079, allocations: 1.513 MB / 0.7608 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.6096, allocations: 299.6 kB / 0.7611 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.6317, allocations: 8.273 MB / 0.7692 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.634, allocations: 203.1 kB / 0.7693 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.6342, allocations: 55.97 kB / 0.7694 GB, free: 8.523 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 (166): * Single equations (assignments): 163 * 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.0007596/0.6349, allocations: 310.7 kB / 0.7697 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.6353, allocations: 135.1 kB / 0.7698 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/0.6494, allocations: 3.849 MB / 0.7736 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6494, allocations: 8 kB / 0.7736 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.6494, allocations: 8 kB / 0.7736 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.6494, allocations: 3.984 kB / 0.7736 GB, free: 4.172 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.01677/0.6662, allocations: 5.432 MB / 0.7789 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.6662, allocations: 8.031 kB / 0.7789 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/0.667, allocations: 103.8 kB / 0.779 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006234/0.6732, allocations: 1.586 MB / 0.7806 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/0.6734, allocations: 20 kB / 0.7806 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/0.6966, allocations: 9.643 MB / 0.79 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6966, allocations: 4 kB / 0.79 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.7129, allocations: 4.724 MB / 0.7946 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.7135, allocations: 228 kB / 0.7948 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.7138, allocations: 16 kB / 0.7948 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.715, allocations: 115.9 kB / 0.795 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/0.7157, allocations: 196.7 kB / 0.7951 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.7158, allocations: 20 kB / 0.7952 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001232/0.717, allocations: 0.7313 MB / 0.7959 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.717, allocations: 0 / 0.7959 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001557/0.7185, allocations: 483.5 kB / 0.7963 GB, free: 12.42 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.0003101/0.7189, allocations: 143.2 kB / 0.7965 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006679/0.7255, allocations: 2.364 MB / 0.7988 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.7255, allocations: 0.75 kB / 0.7988 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004655/0.7302, allocations: 1.527 MB / 0.8003 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.7314, allocations: 112.6 kB / 0.8004 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.7359, allocations: 2.329 MB / 0.8027 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/0.7367, allocations: 1.12 MB / 0.8038 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.7372, allocations: 87.61 kB / 0.8038 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7372, allocations: 0 / 0.8038 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of Templates: time 0.03468/0.7719, allocations: 23.77 MB / 0.827 GB, free: 12.8 MB / 0.5919 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: 10.170839611906558] Failed to read output from testmodel.py, exit status != 0: 0.7807910561095923 0.793552681 0.31564996 Calling exit ...