Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.00138/0.00138, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001463/0.001463, allocations: 170.6 kB / 24.91 MB, free: 9.148 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.8702/0.8702, allocations: 158.6 MB / 186.8 MB, free: 2.742 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.1646/0.1646, allocations: 36.34 MB / 275.5 MB, free: 10.54 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0.7031 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.332e-05, allocations: 2.312 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002441/0.002454, allocations: 2.129 MB / 307.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.003301, allocations: 0.6021 MB / 307.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.003392, allocations: 1.094 kB / 307.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.003501, allocations: 23.94 kB / 308 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.00368, allocations: 72.05 kB / 308 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.003791, allocations: 38.45 kB / 308.1 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.003982, allocations: 228.1 kB / 308.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.00408, allocations: 30.16 kB / 308.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.00423, allocations: 124.4 kB / 308.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004338, allocations: 57.89 kB / 308.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.004361, allocations: 12.94 kB / 308.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.004416, allocations: 13.91 kB / 308.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.004442, allocations: 39.36 kB / 308.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.004486, allocations: 57.09 kB / 308.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.004662, allocations: 124 kB / 308.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004664, allocations: 0 / 308.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.004665, allocations: 5.891 kB / 308.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004669, allocations: 0 / 308.8 MB, free: 11.83 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.0003962/0.005065, allocations: 396.5 kB / 309.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.005092, allocations: 9.859 kB / 309.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.00517, allocations: 21.58 kB / 309.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.005319, allocations: 179.3 kB / 309.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.005329, allocations: 9.125 kB / 309.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.00535, allocations: 12.84 kB / 309.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.005479, allocations: 121.1 kB / 309.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005488, allocations: 192 / 309.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.005498, allocations: 5.812 kB / 309.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.005503, allocations: 6.75 kB / 309.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.739e-05/0.005571, allocations: 46.2 kB / 309.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.005915, allocations: 345.5 kB / 309.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.006042, allocations: 72.53 kB / 310 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.006071, allocations: 28.94 kB / 310 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.006079, allocations: 2.281 kB / 310 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.006092, allocations: 36.39 kB / 310 MB, free: 10.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.006093, allocations: 0 / 310 MB, free: 10.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003739/0.006467, allocations: 264.2 kB / 310.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.006485, allocations: 52.81 kB / 310.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006585, allocations: 203.2 kB / 310.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.006591, allocations: 26.86 kB / 310.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.006627, allocations: 121 kB / 310.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.006647, allocations: 43.59 kB / 310.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.006679, allocations: 33.45 kB / 310.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.293e-05/0.006712, allocations: 334 kB / 311.1 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.006729, allocations: 9.953 kB / 311.1 MB, free: 9.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.006759, allocations: 43.83 kB / 311.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.006815, allocations: 60.22 kB / 311.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006816, allocations: 4 kB / 311.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.238e-05/0.006909, allocations: 85.72 kB / 311.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.006921, allocations: 5.266 kB / 311.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006925, allocations: 5.094 kB / 311.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006936, allocations: 2.312 kB / 311.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.007053, allocations: 41.81 kB / 311.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.007057, allocations: 2.766 kB / 311.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.007104, allocations: 10.69 kB / 311.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.007109, allocations: 6.562 kB / 311.3 MB, free: 9.832 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 4.075e-05/0.00715, allocations: 118 kB / 311.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.007175, allocations: 11.84 kB / 311.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.007204, allocations: 20.72 kB / 311.5 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007205, allocations: 1.281 kB / 311.5 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.007207, allocations: 0 / 311.5 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.00721, allocations: 2.219 kB / 311.5 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.007432, allocations: 266 kB / 311.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007434, allocations: 2.016 kB / 311.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.007545, allocations: 36.53 kB / 311.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007547, allocations: 1.094 kB / 311.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007553, allocations: 1.375 kB / 311.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.007555, allocations: 5.344 kB / 311.8 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.007557, allocations: 5.062 kB / 311.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.007676, allocations: 195.5 kB / 312 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.007704, allocations: 15.16 kB / 312 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.00772, allocations: 6.203 kB / 312 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.007773, allocations: 6.062 kB / 312 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.007797, allocations: 12.22 kB / 312 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.007801, allocations: 5 kB / 312 MB, free: 9.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.00785, allocations: 56.78 kB / 312.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00785, allocations: 0 / 312.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.007992, allocations: 31.59 kB / 312.1 MB, free: 9.289 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 5.448e-05/0.008047, allocations: 80.16 kB / 312.2 MB, free: 9.215 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.00813, allocations: 53.98 kB / 312.3 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.008133, allocations: 2.469 kB / 312.3 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.008163, allocations: 30.86 kB / 312.3 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.008354, allocations: 37.03 kB / 312.3 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.009037, allocations: 433 kB / 312.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.009072, allocations: 73.25 kB / 312.8 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.009121, allocations: 17.73 kB / 312.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.0092, allocations: 74.55 kB / 312.9 MB, free: 8.766 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009201, allocations: 0 / 312.9 MB, free: 8.766 MB / 282.7 MB Notification: Performance of Templates: time 0.003472/0.01267, allocations: 1.733 MB / 314.6 MB, free: 8.492 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7212671590968966]