Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.0009579/0.0009579, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] 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.001041/0.001041, allocations: 173.9 kB / 24.92 MB, free: 9.191 MB / 18.57 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 0.979/0.979, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09593/0.09593, allocations: 19.74 MB / 281.6 MB, free: 9.16 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 305.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.035e-05, allocations: 2.859 kB / 305.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002999/0.00302, allocations: 2.142 MB / 307.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004149, allocations: 0.5936 MB / 307.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.00425, allocations: 3.938 kB / 307.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.004365, allocations: 29.75 kB / 308 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.004562, allocations: 75.27 kB / 308 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004696, allocations: 36.69 kB / 308.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.005213, allocations: 221.6 kB / 308.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.005324, allocations: 33.31 kB / 308.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.005523, allocations: 121 kB / 308.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.005636, allocations: 60.52 kB / 308.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.005661, allocations: 12 kB / 308.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/0.005722, allocations: 16 kB / 308.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.005754, allocations: 41.84 kB / 308.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.005807, allocations: 59.42 kB / 308.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.005997, allocations: 122.2 kB / 308.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005999, allocations: 0 / 308.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005999, allocations: 0 / 308.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006003, allocations: 0 / 308.7 MB, free: 10.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004781/0.006481, allocations: 400.4 kB / 309.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.006513, allocations: 16.03 kB / 309.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.006594, allocations: 22.23 kB / 309.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.006781, allocations: 172.2 kB / 309.3 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.006791, allocations: 8.375 kB / 309.4 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.006817, allocations: 16.31 kB / 309.4 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.006954, allocations: 117.5 kB / 309.5 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.006964, allocations: 4.172 kB / 309.5 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.006974, allocations: 8.375 kB / 309.5 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00698, allocations: 7.875 kB / 309.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.007048, allocations: 43.48 kB / 309.5 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.007462, allocations: 340.1 kB / 309.9 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.007608, allocations: 67.56 kB / 309.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.007639, allocations: 24.33 kB / 310 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.007646, allocations: 0 / 310 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.007669, allocations: 35.08 kB / 310 MB, free: 9.258 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.00767, allocations: 0 / 310 MB, free: 9.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004227/0.008093, allocations: 280.6 kB / 310.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.008119, allocations: 52.11 kB / 310.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.008238, allocations: 188.9 kB / 310.5 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.008249, allocations: 29.7 kB / 310.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.008299, allocations: 110.8 kB / 310.6 MB, free: 8.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.008325, allocations: 50.91 kB / 310.7 MB, free: 8.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.008362, allocations: 36.14 kB / 310.7 MB, free: 8.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.008439, allocations: 332.3 kB / 311.1 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.008457, allocations: 13.31 kB / 311.1 MB, free: 8.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.00849, allocations: 40.84 kB / 311.1 MB, free: 8.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.008556, allocations: 59.41 kB / 311.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008558, allocations: 0 / 311.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001357/0.008694, allocations: 92.11 kB / 311.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008707, allocations: 4 kB / 311.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.008711, allocations: 0 / 311.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.008725, allocations: 4 kB / 311.3 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.008855, allocations: 44.03 kB / 311.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.008859, allocations: 0 / 311.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.008907, allocations: 19.81 kB / 311.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.008913, allocations: 0 / 311.3 MB, free: 7.906 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.008982, allocations: 113.8 kB / 311.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.009006, allocations: 15.98 kB / 311.5 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.009041, allocations: 21.45 kB / 311.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.009044, allocations: 4 kB / 311.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.009046, allocations: 0 / 311.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.00905, allocations: 4 kB / 311.5 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.009302, allocations: 259.4 kB / 311.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.009305, allocations: 8 kB / 311.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.009418, allocations: 27.98 kB / 311.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009421, allocations: 4 kB / 311.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.00943, allocations: 4 kB / 311.8 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009431, allocations: 0 / 311.8 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.009434, allocations: 3.938 kB / 311.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.009593, allocations: 203.2 kB / 312 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.009626, allocations: 23.84 kB / 312 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009641, allocations: 4 kB / 312 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.009697, allocations: 11.94 kB / 312 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.009724, allocations: 7.984 kB / 312 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.009728, allocations: 0 / 312 MB, free: 7.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.009777, allocations: 65.94 kB / 312.1 MB, free: 7.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009777, allocations: 0 / 312.1 MB, free: 7.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000148/0.009925, allocations: 32 kB / 312.1 MB, free: 7.059 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.639e-05/0.009991, allocations: 72.42 kB / 312.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.01008, allocations: 56.84 kB / 312.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01008, allocations: 0 / 312.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.01011, allocations: 36.72 kB / 312.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01031, allocations: 35.3 kB / 312.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.01112, allocations: 429.3 kB / 312.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.01117, allocations: 71.83 kB / 312.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.01122, allocations: 17.52 kB / 312.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.01131, allocations: 79.3 kB / 312.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01131, allocations: 0 / 312.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of Templates: time 0.003463/0.01477, allocations: 1.747 MB / 314.7 MB, free: 4.516 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.71152351424098]