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.001475/0.001475, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.326/1.326, allocations: 230.6 MB / 253.4 MB, free: 8.281 MB / 206.1 MB " [Timeout remaining time 179] 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.001473/0.001473, allocations: 219.5 kB / 310 MB, free: 3.125 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.5161/0.5161, allocations: 101.4 MB / 467.8 MB, free: 10.27 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.002401/0.002401, allocations: 85.89 kB / 0.6257 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3774, allocations: 78.6 MB / 0.7024 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005466/0.3829, allocations: 6.681 MB / 0.7089 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.3859, allocations: 2.013 MB / 0.7109 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.3863, allocations: 14.56 kB / 0.7109 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.3869, allocations: 247.6 kB / 0.7112 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.3883, allocations: 0.8698 MB / 0.712 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3894, allocations: 0.643 MB / 0.7126 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3906, allocations: 1.611 MB / 0.7142 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.3909, allocations: 233.6 kB / 0.7144 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.3915, allocations: 0.6733 MB / 0.7151 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/0.3923, allocations: 0.845 MB / 0.7159 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3924, allocations: 125.8 kB / 0.716 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.3928, allocations: 277.2 kB / 0.7163 GB, free: 460 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3931, allocations: 336.5 kB / 0.7166 GB, free: 236 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.3936, allocations: 0.6694 MB / 0.7173 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.3953, allocations: 1.688 MB / 0.7189 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.3953, allocations: 0 / 0.7189 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3953, allocations: 0 / 0.7189 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.3953, allocations: 1.156 kB / 0.7189 GB, free: 15.01 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.008389/0.4037, allocations: 2.816 MB / 0.7217 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.4037, allocations: 7.906 kB / 0.7217 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/0.4085, allocations: 0.8008 MB / 0.7225 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.41, allocations: 0.8242 MB / 0.7233 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.4103, allocations: 335.3 kB / 0.7236 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.4105, allocations: 83.86 kB / 0.7237 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.4127, allocations: 1.09 MB / 0.7247 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4127, allocations: 4.516 kB / 0.7247 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/0.4128, allocations: 30.92 kB / 0.7248 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.4128, allocations: 18.97 kB / 0.7248 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.4149, allocations: 0.9899 MB / 0.7258 GB, free: 11.89 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.007302/0.4222, allocations: 3.797 MB / 0.7295 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/0.4292, allocations: 1.995 MB / 0.7314 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.4305, allocations: 0.6128 MB / 0.732 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.4306, allocations: 18.89 kB / 0.732 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.4322, allocations: 0.8283 MB / 0.7328 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.364e-06/0.4322, allocations: 1.156 kB / 0.7328 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02693/0.4591, allocations: 6.896 MB / 0.7396 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.4592, allocations: 116.8 kB / 0.7397 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.461, allocations: 1.083 MB / 0.7407 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.4612, allocations: 49.64 kB / 0.7408 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.4616, allocations: 0.4923 MB / 0.7413 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.462, allocations: 375.5 kB / 0.7416 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/0.4625, allocations: 288.9 kB / 0.7419 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4627, allocations: 302.4 kB / 0.7422 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.4642, allocations: 0.7632 MB / 0.7429 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.466, allocations: 0.9304 MB / 0.7438 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/0.4895, allocations: 5.789 MB / 0.7495 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4895, allocations: 5.312 kB / 0.7495 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01312/0.5026, allocations: 4.317 MB / 0.7537 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.5027, allocations: 63.39 kB / 0.7538 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5027, allocations: 0 / 0.7538 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005348/0.508, allocations: 1.512 MB / 0.7553 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.5096, allocations: 299.5 kB / 0.7555 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.5287, allocations: 8.173 MB / 0.7635 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.5306, allocations: 199.1 kB / 0.7637 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5307, allocations: 59.97 kB / 0.7638 GB, free: 1.039 MB / 0.5137 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.000596/0.5313, allocations: 300.3 kB / 0.7641 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.5316, allocations: 135.1 kB / 0.7642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.5442, allocations: 3.85 MB / 0.7679 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5442, allocations: 8 kB / 0.768 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5442, allocations: 8 kB / 0.768 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.5443, allocations: 7.969 kB / 0.768 GB, free: 12.69 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.01488/0.5591, allocations: 5.404 MB / 0.7732 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.5591, allocations: 4 kB / 0.7733 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.5597, allocations: 107.8 kB / 0.7734 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/0.5651, allocations: 1.578 MB / 0.7749 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5652, allocations: 28 kB / 0.7749 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/0.5858, allocations: 9.437 MB / 0.7841 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5858, allocations: 0 / 0.7841 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.6004, allocations: 4.716 MB / 0.7887 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.6009, allocations: 158.8 kB / 0.7889 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.6011, allocations: 16 kB / 0.7889 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6022, allocations: 111.9 kB / 0.789 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/0.6027, allocations: 204.6 kB / 0.7892 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.6028, allocations: 27.98 kB / 0.7892 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001117/0.6039, allocations: 0.7235 MB / 0.7899 GB, free: 5.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6039, allocations: 4 kB / 0.79 GB, free: 5.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001345/0.6053, allocations: 479.6 kB / 0.7904 GB, free: 5.328 MB / 0.545 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.0002729/0.6056, allocations: 139.2 kB / 0.7905 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005958/0.6115, allocations: 2.376 MB / 0.7929 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6115, allocations: 0 / 0.7929 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.6156, allocations: 1.519 MB / 0.7943 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009552/0.6166, allocations: 115.2 kB / 0.7945 GB, free: 1.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.6206, allocations: 2.335 MB / 0.7967 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.6213, allocations: 1.116 MB / 0.7978 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.6217, allocations: 87.41 kB / 0.7979 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.6217, allocations: 0 / 0.7979 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.02998/0.6516, allocations: 23.75 MB / 0.8211 GB, free: 5.727 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: 8.950085192918777] Failed to read output from testmodel.py, exit status != 0: 0.6601791649591178 0.673793165 0.27565965000000003 Calling exit ...