Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0008799/0.0008799, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.000906/0.000906, allocations: 168.7 kB / 24.82 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.862/0.862, allocations: 158.6 MB / 186.7 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1907/0.1907, allocations: 36.33 MB / 275.4 MB, free: 14.39 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0.6562 kB / 354.2 MB, free: 62.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.688e-05, allocations: 5.875 kB / 354.3 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002524/0.002541, allocations: 2.255 MB / 356.5 MB, free: 61.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.003423, allocations: 0.6506 MB / 357.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.003539, allocations: 6.906 kB / 357.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.00366, allocations: 32.59 kB / 357.2 MB, free: 61.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.003858, allocations: 88.05 kB / 357.3 MB, free: 61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.004005, allocations: 54.67 kB / 357.3 MB, free: 60.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.004229, allocations: 287.9 kB / 357.6 MB, free: 60.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004345, allocations: 53.19 kB / 357.7 MB, free: 60.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.004528, allocations: 157.5 kB / 357.8 MB, free: 60.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004651, allocations: 84.84 kB / 357.9 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.004678, allocations: 17.31 kB / 357.9 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.004734, allocations: 19.66 kB / 357.9 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.004773, allocations: 48.11 kB / 358 MB, free: 60.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.004828, allocations: 80.22 kB / 358.1 MB, free: 60.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.005018, allocations: 161.9 kB / 358.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.00502, allocations: 4 kB / 358.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005021, allocations: 0 / 358.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.005025, allocations: 0 / 358.2 MB, free: 60.57 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005219/0.005547, allocations: 0.5938 MB / 358.8 MB, free: 60.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.005583, allocations: 11.11 kB / 358.8 MB, free: 60.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.00567, allocations: 37.39 kB / 358.9 MB, free: 60.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.005843, allocations: 213.1 kB / 359.1 MB, free: 59.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.005855, allocations: 10.66 kB / 359.1 MB, free: 59.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.005883, allocations: 16.55 kB / 359.1 MB, free: 59.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.006054, allocations: 153.7 kB / 359.3 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006065, allocations: 2.906 kB / 359.3 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.006079, allocations: 6 kB / 359.3 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.00609, allocations: 8.219 kB / 359.3 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/0.00618, allocations: 60.33 kB / 359.3 MB, free: 59.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.006675, allocations: 0.5657 MB / 359.9 MB, free: 59.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006794, allocations: 105 kB / 360 MB, free: 59.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.006839, allocations: 41.34 kB / 360 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.006857, allocations: 5.953 kB / 360 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.006871, allocations: 42.52 kB / 360.1 MB, free: 59.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.006873, allocations: 0 / 360.1 MB, free: 59.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004499/0.007323, allocations: 354.1 kB / 360.4 MB, free: 58.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.00734, allocations: 58.47 kB / 360.5 MB, free: 58.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.007473, allocations: 269.5 kB / 360.8 MB, free: 58.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.007482, allocations: 26.55 kB / 360.8 MB, free: 58.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.00754, allocations: 195.4 kB / 361 MB, free: 58.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.007569, allocations: 72.59 kB / 361 MB, free: 58.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.007612, allocations: 49.39 kB / 361.1 MB, free: 58.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.007664, allocations: 0.4993 MB / 361.6 MB, free: 57.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.007699, allocations: 20.25 kB / 361.6 MB, free: 57.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.00774, allocations: 48.25 kB / 361.7 MB, free: 57.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.007818, allocations: 89.59 kB / 361.7 MB, free: 57.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007819, allocations: 0 / 361.7 MB, free: 57.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001336/0.007953, allocations: 145.8 kB / 361.9 MB, free: 57.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.007965, allocations: 11.08 kB / 361.9 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007969, allocations: 0 / 361.9 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.007979, allocations: 2 kB / 361.9 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.008189, allocations: 67.39 kB / 362 MB, free: 57.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/0.008719, allocations: 1.836 MB / 363.8 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.008786, allocations: 8.344 kB / 363.8 MB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.008795, allocations: 7.781 kB / 363.8 MB, free: 55.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.008851, allocations: 171.2 kB / 364 MB, free: 55.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.008881, allocations: 30.3 kB / 364 MB, free: 55.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.009005, allocations: 131.6 kB / 364.1 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.009007, allocations: 2.906 kB / 364.1 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.009009, allocations: 5.969 kB / 364.2 MB, free: 55.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.009013, allocations: 2.188 kB / 364.2 MB, free: 55.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.009325, allocations: 419.3 kB / 364.6 MB, free: 55.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009328, allocations: 0.6562 kB / 364.6 MB, free: 55.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.009444, allocations: 42.83 kB / 364.6 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009446, allocations: 5.156 kB / 364.6 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.009455, allocations: 5.812 kB / 364.6 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.009457, allocations: 4.219 kB / 364.6 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009458, allocations: 0 / 364.6 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.009637, allocations: 318.5 kB / 364.9 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.009679, allocations: 29.81 kB / 365 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.009695, allocations: 6.031 kB / 365 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.009757, allocations: 4.438 kB / 365 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.009793, allocations: 14.98 kB / 365 MB, free: 54.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.0098, allocations: 2.797 kB / 365 MB, free: 54.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.009877, allocations: 190.2 kB / 365.2 MB, free: 54.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009877, allocations: 0 / 365.2 MB, free: 54.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01005, allocations: 43.97 kB / 365.2 MB, free: 54.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.456e-05/0.01012, allocations: 103 kB / 365.3 MB, free: 54.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.01036, allocations: 113.4 kB / 365.4 MB, free: 54.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01036, allocations: 0 / 365.4 MB, free: 54.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.01042, allocations: 52.62 kB / 365.5 MB, free: 54.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01065, allocations: 43.94 kB / 365.5 MB, free: 54.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/0.01151, allocations: 0.5867 MB / 366.1 MB, free: 54.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01156, allocations: 86.97 kB / 366.2 MB, free: 54.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.518e-05/0.01164, allocations: 25.23 kB / 366.2 MB, free: 54.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01175, allocations: 108.6 kB / 366.3 MB, free: 54.12 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01175, allocations: 0 / 366.3 MB, free: 54.12 MB / 330.7 MB Notification: Performance of Templates: time 0.00454/0.01629, allocations: 2.601 MB / 368.9 MB, free: 53.42 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8410780816338956]