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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 247.7 MB, free: 13.43 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 204 kB / 303.1 MB, free: 8.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4672/0.4672, allocations: 79.72 MB / 438.1 MB, free: 5.305 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 87.86 kB / 0.584 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1486, allocations: 72.13 MB / 0.6544 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008607/0.1572, allocations: 7.043 MB / 0.6613 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.1619, allocations: 2.137 MB / 0.6634 GB, free: 6.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008743/0.1628, allocations: 15.94 kB / 0.6634 GB, free: 6.527 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.1636, allocations: 265.8 kB / 0.6636 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.1657, allocations: 0.8221 MB / 0.6644 GB, free: 5.441 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.1675, allocations: 0.7728 MB / 0.6652 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.1697, allocations: 1.752 MB / 0.6669 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.1702, allocations: 288 kB / 0.6672 GB, free: 2.605 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.1713, allocations: 0.7314 MB / 0.6679 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1724, allocations: 0.8478 MB / 0.6687 GB, free: 1.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.1726, allocations: 136 kB / 0.6689 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005628/0.1732, allocations: 275.8 kB / 0.6691 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.1735, allocations: 338.6 kB / 0.6694 GB, free: 292 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.1742, allocations: 0.7264 MB / 0.6702 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.1766, allocations: 1.828 MB / 0.6719 GB, free: 13.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1766, allocations: 0 / 0.6719 GB, free: 13.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1766, allocations: 0 / 0.6719 GB, free: 13.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.1766, allocations: 4 kB / 0.6719 GB, free: 13.71 MB / 478.1 MB 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.009056/0.1856, allocations: 2.968 MB / 0.6748 GB, free: 10.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1857, allocations: 12.03 kB / 0.6749 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.1906, allocations: 0.8107 MB / 0.6756 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.1925, allocations: 0.866 MB / 0.6765 GB, free: 8.965 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004182/0.1929, allocations: 335.6 kB / 0.6768 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.1931, allocations: 91.94 kB / 0.6769 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.1958, allocations: 1.295 MB / 0.6782 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1959, allocations: 0 / 0.6782 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.196, allocations: 36 kB / 0.6782 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.196, allocations: 20 kB / 0.6782 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.1987, allocations: 1.202 MB / 0.6794 GB, free: 5.926 MB / 478.1 MB 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.007487/0.2062, allocations: 4.103 MB / 0.6834 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.2094, allocations: 1.225 MB / 0.6846 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.2112, allocations: 0.7783 MB / 0.6854 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.2113, allocations: 20.92 kB / 0.6854 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00204/0.2133, allocations: 0.9661 MB / 0.6863 GB, free: 14.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 2.835e-06/0.2133, allocations: 0 / 0.6863 GB, free: 14.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.03394/0.2473, allocations: 7.699 MB / 0.6938 GB, free: 6.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.2474, allocations: 119.8 kB / 0.6939 GB, free: 6.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.2494, allocations: 1.041 MB / 0.695 GB, free: 5.715 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000395/0.2498, allocations: 49.69 kB / 0.695 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005244/0.2504, allocations: 0.5214 MB / 0.6955 GB, free: 5.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.2509, allocations: 412.5 kB / 0.6959 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005337/0.2514, allocations: 255.5 kB / 0.6962 GB, free: 4.473 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.2517, allocations: 349.9 kB / 0.6965 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.2535, allocations: 0.7847 MB / 0.6973 GB, free: 3.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.2553, allocations: 0.9522 MB / 0.6982 GB, free: 2.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3627/0.618, allocations: 5.47 MB / 0.7035 GB, free: 41.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.618, allocations: 8.594 kB / 0.7035 GB, free: 41.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0148/0.6328, allocations: 4.425 MB / 0.7079 GB, free: 41.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.6329, allocations: 60.19 kB / 0.7079 GB, free: 41.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.6329, allocations: 2.562 kB / 0.7079 GB, free: 41.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006534/0.6394, allocations: 1.742 MB / 0.7096 GB, free: 40.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.641, allocations: 283.4 kB / 0.7099 GB, free: 40.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.6616, allocations: 8.952 MB / 0.7186 GB, free: 36.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.6637, allocations: 213.3 kB / 0.7188 GB, free: 36.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.6639, allocations: 45.16 kB / 0.7189 GB, free: 36.69 MB / 494.1 MB 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.000628/0.6645, allocations: 302.4 kB / 0.7192 GB, free: 36.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.6647, allocations: 141.9 kB / 0.7193 GB, free: 36.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.6787, allocations: 4.358 MB / 0.7236 GB, free: 35.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.6787, allocations: 14.94 kB / 0.7236 GB, free: 35.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6787, allocations: 1.375 kB / 0.7236 GB, free: 35.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.6787, allocations: 13.09 kB / 0.7236 GB, free: 35.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.6944, allocations: 6.195 MB / 0.7296 GB, free: 31.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.6944, allocations: 0 / 0.7296 GB, free: 31.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008237/0.6952, allocations: 128 kB / 0.7298 GB, free: 31.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005767/0.701, allocations: 1.896 MB / 0.7316 GB, free: 30.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/0.7013, allocations: 33.83 kB / 0.7316 GB, free: 30.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/0.7221, allocations: 10.52 MB / 0.7419 GB, free: 21.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7221, allocations: 0 / 0.7419 GB, free: 21.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.7381, allocations: 5.387 MB / 0.7472 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.7386, allocations: 153.8 kB / 0.7473 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/0.7391, allocations: 27.92 kB / 0.7473 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.7407, allocations: 131.9 kB / 0.7475 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009984/0.7417, allocations: 256.8 kB / 0.7477 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/0.7419, allocations: 28 kB / 0.7477 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.7432, allocations: 0.7045 MB / 0.7484 GB, free: 14.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7432, allocations: 0 / 0.7484 GB, free: 14.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001948/0.7451, allocations: 491.1 kB / 0.7489 GB, free: 14.42 MB / 494.1 MB 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.0003559/0.7455, allocations: 133.7 kB / 0.749 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006699/0.7522, allocations: 2.618 MB / 0.7516 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.7522, allocations: 0 / 0.7516 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/0.7568, allocations: 1.809 MB / 0.7534 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.758, allocations: 128.7 kB / 0.7535 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.7628, allocations: 2.522 MB / 0.7559 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.7633, allocations: 1.155 MB / 0.7571 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.7638, allocations: 112.3 kB / 0.7572 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.764, allocations: 79.41 kB / 0.7573 GB, free: 5.754 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/0.764, allocations: 0 / 0.7573 GB, free: 5.754 MB / 494.1 MB Notification: Performance of Templates: time 0.05056/0.8146, allocations: 29.03 MB / 0.7856 GB, free: 8.777 MB / 0.5137 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: 7.076608343049884] Failed to read output from testmodel.py, exit status != 0: 0.8229625783860683 0.838003407 0.658361165 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0aec8bd7b0>