Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001967/0.001967, 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.524/1.524, allocations: 230.6 MB / 250.5 MB, free: 9.25 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.001716/0.001716, allocations: 216.4 kB / 306.7 MB, free: 4.309 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.6098/0.6098, allocations: 107.3 MB / 470 MB, free: 6.254 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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002631/0.002631, allocations: 87.88 kB / 0.6293 GB, free: 7.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5053, allocations: 80.13 MB / 0.7076 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.00646/0.5118, allocations: 7.078 MB / 0.7145 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005207/0.517, allocations: 2.174 MB / 0.7166 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.5184, allocations: 17.34 kB / 0.7166 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.5194, allocations: 255.6 kB / 0.7169 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.5228, allocations: 0.8493 MB / 0.7177 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.5254, allocations: 0.7477 MB / 0.7184 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003356/0.5287, allocations: 1.725 MB / 0.7201 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006444/0.5294, allocations: 287.4 kB / 0.7204 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.5308, allocations: 0.7181 MB / 0.7211 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.5321, allocations: 0.8583 MB / 0.7219 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.5323, allocations: 134.1 kB / 0.7221 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.533, allocations: 295.8 kB / 0.7224 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.5334, allocations: 348 kB / 0.7227 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.5341, allocations: 0.7128 MB / 0.7234 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.5369, allocations: 1.848 MB / 0.7252 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5369, allocations: 1.25 kB / 0.7252 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5369, allocations: 0 / 0.7252 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.091e-05/0.5369, allocations: 0 / 0.7252 GB, free: 9.82 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.01188/0.5488, allocations: 2.907 MB / 0.728 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5489, allocations: 8.812 kB / 0.728 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006048/0.5549, allocations: 0.8259 MB / 0.7288 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.5574, allocations: 0.9334 MB / 0.7298 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/0.5579, allocations: 332.8 kB / 0.7301 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.5582, allocations: 97.02 kB / 0.7302 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/0.5619, allocations: 1.292 MB / 0.7314 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.562, allocations: 0 / 0.7314 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.5621, allocations: 36.34 kB / 0.7315 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.5621, allocations: 20.91 kB / 0.7315 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.5654, allocations: 1.202 MB / 0.7327 GB, free: 6.156 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.009167/0.5746, allocations: 4.19 MB / 0.7367 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.5788, allocations: 1.675 MB / 0.7384 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.5812, allocations: 0.7863 MB / 0.7391 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.5814, allocations: 16.8 kB / 0.7392 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/0.5838, allocations: 0.959 MB / 0.7401 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=108): time 3.507e-06/0.5838, allocations: 0 / 0.7401 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=108): time 0.03676/0.6206, allocations: 7.721 MB / 0.7476 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6207, allocations: 118.3 kB / 0.7478 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.6229, allocations: 1.04 MB / 0.7488 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004347/0.6233, allocations: 50.58 kB / 0.7488 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.6238, allocations: 0.5285 MB / 0.7493 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.6244, allocations: 405.2 kB / 0.7497 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.625, allocations: 244.6 kB / 0.75 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.6252, allocations: 361.2 kB / 0.7503 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.6272, allocations: 0.7887 MB / 0.7511 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.6294, allocations: 0.9393 MB / 0.752 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02592/0.6553, allocations: 5.586 MB / 0.7574 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.6553, allocations: 11.94 kB / 0.7575 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01675/0.6721, allocations: 4.417 MB / 0.7618 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.6721, allocations: 63.39 kB / 0.7618 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6722, allocations: 320 / 0.7618 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007077/0.6792, allocations: 1.741 MB / 0.7635 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.6811, allocations: 283.6 kB / 0.7638 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0254/0.7065, allocations: 9.052 MB / 0.7726 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.7089, allocations: 215.1 kB / 0.7728 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/0.7092, allocations: 43.98 kB / 0.7729 GB, free: 4.945 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 (141): * Single equations (assignments): 138 * 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.001094/0.7103, allocations: 311.2 kB / 0.7732 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006351/0.7109, allocations: 143.1 kB / 0.7733 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/0.7283, allocations: 4.362 MB / 0.7776 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.7283, allocations: 12 kB / 0.7776 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7283, allocations: 0 / 0.7776 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/0.7283, allocations: 7.984 kB / 0.7776 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.7499, allocations: 6.232 MB / 0.7837 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.7499, allocations: 0 / 0.7837 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009212/0.7509, allocations: 131.8 kB / 0.7838 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007975/0.7588, allocations: 1.899 MB / 0.7857 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/0.7592, allocations: 19.98 kB / 0.7857 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02863/0.7878, allocations: 10.73 MB / 0.7962 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7878, allocations: 0 / 0.7962 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/0.808, allocations: 5.406 MB / 0.8014 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/0.8087, allocations: 232.1 kB / 0.8017 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/0.8094, allocations: 20 kB / 0.8017 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.8114, allocations: 143.8 kB / 0.8018 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/0.8124, allocations: 236.6 kB / 0.802 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/0.8126, allocations: 31.98 kB / 0.8021 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001653/0.8143, allocations: 0.7045 MB / 0.8028 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8143, allocations: 0 / 0.8028 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002328/0.8166, allocations: 491.6 kB / 0.8032 GB, free: 5.332 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.0004534/0.8171, allocations: 147.6 kB / 0.8034 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008674/0.8257, allocations: 2.611 MB / 0.8059 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8257, allocations: 0 / 0.8059 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006208/0.832, allocations: 1.813 MB / 0.8077 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.8338, allocations: 127 kB / 0.8078 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.8412, allocations: 2.446 MB / 0.8102 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.8424, allocations: 1.163 MB / 0.8113 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/0.843, allocations: 87.41 kB / 0.8114 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.283e-06/0.843, allocations: 0 / 0.8114 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04561/0.8886, allocations: 25.69 MB / 0.8365 GB, free: 3.094 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.606314078904688] Failed to read output from testmodel.py, exit status != 0: 0.8986560869961977 0.914574105 0.37437348 Calling exit ...