Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.00137/0.00137, 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.445/1.445, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.001822/0.001822, allocations: 209.9 kB / 309.2 MB, free: 2.93 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.5842/0.5842, allocations: 107.2 MB / 472.8 MB, free: 4.496 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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") [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.002627/0.002627, allocations: 91.84 kB / 0.6335 GB, free: 4.512 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4181, allocations: 80.13 MB / 0.7118 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006037/0.4241, allocations: 6.196 MB / 0.7178 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.4287, allocations: 2.089 MB / 0.7199 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.4297, allocations: 15.84 kB / 0.7199 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.4305, allocations: 255.7 kB / 0.7201 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.4332, allocations: 0.8258 MB / 0.7209 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.4353, allocations: 0.7502 MB / 0.7217 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002542/0.4379, allocations: 1.753 MB / 0.7234 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.4384, allocations: 274.5 kB / 0.7236 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.4397, allocations: 0.7261 MB / 0.7244 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.4409, allocations: 0.7754 MB / 0.7251 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.441, allocations: 131.6 kB / 0.7252 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.4416, allocations: 285 kB / 0.7255 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.442, allocations: 349.6 kB / 0.7258 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006171/0.4426, allocations: 0.5773 MB / 0.7264 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.4449, allocations: 1.865 MB / 0.7282 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4449, allocations: 0 / 0.7282 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4449, allocations: 1.094 kB / 0.7282 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.4449, allocations: 0 / 0.7282 GB, free: 10.79 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009971/0.4549, allocations: 2.991 MB / 0.7312 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4549, allocations: 8.812 kB / 0.7312 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.4604, allocations: 0.824 MB / 0.732 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.4624, allocations: 0.8705 MB / 0.7328 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005203/0.463, allocations: 489 kB / 0.7333 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.4632, allocations: 92.36 kB / 0.7334 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.4662, allocations: 1.316 MB / 0.7347 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.4662, allocations: 1.375 kB / 0.7347 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4663, allocations: 38.88 kB / 0.7347 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.4663, allocations: 20.62 kB / 0.7347 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.4692, allocations: 1.222 MB / 0.7359 GB, free: 6.578 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.007849/0.4771, allocations: 3.177 MB / 0.739 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.4804, allocations: 1.25 MB / 0.7402 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.4823, allocations: 0.7901 MB / 0.741 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.4824, allocations: 19.81 kB / 0.741 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/0.4846, allocations: 0.9867 MB / 0.742 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=108): time 3.226e-06/0.4846, allocations: 0 / 0.742 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=108): time 0.03404/0.5186, allocations: 7.622 MB / 0.7494 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.5187, allocations: 123 kB / 0.7495 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.5207, allocations: 1.025 MB / 0.7505 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.521, allocations: 46.2 kB / 0.7506 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.5215, allocations: 0.5348 MB / 0.7511 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/0.5221, allocations: 408.5 kB / 0.7515 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/0.5226, allocations: 237.5 kB / 0.7517 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.5228, allocations: 359 kB / 0.7521 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.5248, allocations: 0.8355 MB / 0.7529 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.5269, allocations: 0.9916 MB / 0.7539 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02463/0.5515, allocations: 5.577 MB / 0.7593 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.5515, allocations: 0 / 0.7593 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.01573/0.5672, allocations: 4.475 MB / 0.7637 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.5673, allocations: 63.41 kB / 0.7637 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5673, allocations: 0 / 0.7637 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006679/0.574, allocations: 1.722 MB / 0.7654 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.5758, allocations: 279.6 kB / 0.7657 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.5994, allocations: 8.73 MB / 0.7742 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.6015, allocations: 207.1 kB / 0.7744 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.6016, allocations: 47.98 kB / 0.7744 GB, free: 6.625 MB / 0.5294 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real generator.e1q:VARIABLE(start = generator.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: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006718/0.6023, allocations: 295.7 kB / 0.7747 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.6026, allocations: 139.1 kB / 0.7749 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/0.6188, allocations: 4.387 MB / 0.7791 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.6188, allocations: 12 kB / 0.7792 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6188, allocations: 0 / 0.7792 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/0.6189, allocations: 3.984 kB / 0.7792 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/0.6388, allocations: 5.556 MB / 0.7846 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.6388, allocations: 0 / 0.7846 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.6397, allocations: 127.9 kB / 0.7847 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007453/0.6472, allocations: 1.899 MB / 0.7866 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003524/0.6475, allocations: 24 kB / 0.7866 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0271/0.6746, allocations: 10.24 MB / 0.7966 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6746, allocations: 0 / 0.7966 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/0.6941, allocations: 5.456 MB / 0.8019 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.6947, allocations: 146.9 kB / 0.8021 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004764/0.6952, allocations: 20 kB / 0.8021 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.6968, allocations: 139.8 kB / 0.8022 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009461/0.6978, allocations: 244.6 kB / 0.8024 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.698, allocations: 31.98 kB / 0.8025 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001409/0.6994, allocations: 0.6884 MB / 0.8031 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6994, allocations: 3.938 kB / 0.8031 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002126/0.7015, allocations: 499.4 kB / 0.8036 GB, free: 8.352 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004385/0.7019, allocations: 147.7 kB / 0.8038 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008353/0.7103, allocations: 2.672 MB / 0.8064 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7103, allocations: 0 / 0.8064 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005984/0.7163, allocations: 1.842 MB / 0.8082 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.7179, allocations: 129.2 kB / 0.8083 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.7237, allocations: 2.447 MB / 0.8107 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/0.7246, allocations: 0.5647 MB / 0.8112 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007387/0.7253, allocations: 116.1 kB / 0.8113 GB, free: 260 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7257, allocations: 83.41 kB / 0.8114 GB, free: 176 kB / 0.5606 GB Notification: Performance of SimCode: time 9.31e-07/0.7257, allocations: 4 kB / 0.8114 GB, free: 172 kB / 0.5606 GB Notification: Performance of Templates: time 0.05437/0.78, allocations: 30.15 MB / 0.8409 GB, free: 2.055 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.986594224348664] Failed to read output from testmodel.py, exit status != 0: 0.7906083110719919 0.807319203 0.35885511400000003 Calling exit ...