Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.0009555/0.0009555, allocations: 80.8 kB / 21.49 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.001099/0.001099, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.9033/0.9033, allocations: 158.6 MB / 186.8 MB, free: 2.773 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.175/0.175, allocations: 36.34 MB / 275.4 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 1.094 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.472e-05, allocations: 3.188 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003421/0.003445, allocations: 2.67 MB / 307.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.004994, allocations: 0.759 MB / 308.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.00523, allocations: 11.28 kB / 308.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.005389, allocations: 46.56 kB / 308.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.005748, allocations: 121.9 kB / 308.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.005993, allocations: 85.23 kB / 308.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.006477, allocations: 414.1 kB / 309.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.006637, allocations: 70.98 kB / 309.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.007011, allocations: 222.2 kB / 309.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.007223, allocations: 121.6 kB / 309.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.007266, allocations: 25.41 kB / 309.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.007359, allocations: 31.78 kB / 309.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.007421, allocations: 69.22 kB / 309.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.007527, allocations: 113.8 kB / 310 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.007831, allocations: 236.8 kB / 310.2 MB, free: 11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.007834, allocations: 0 / 310.2 MB, free: 11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.007836, allocations: 4.516 kB / 310.2 MB, free: 11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.007841, allocations: 0 / 310.2 MB, free: 11 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007361/0.008577, allocations: 0.5683 MB / 310.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.008612, allocations: 9.312 kB / 310.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.008761, allocations: 49.69 kB / 310.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.009067, allocations: 229 kB / 311 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.009087, allocations: 19.28 kB / 311.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.009127, allocations: 28.78 kB / 311.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.009406, allocations: 198.4 kB / 311.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.009421, allocations: 6.047 kB / 311.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.009435, allocations: 6.625 kB / 311.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.009445, allocations: 9.5 kB / 311.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.009586, allocations: 86.34 kB / 311.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.01026, allocations: 0.541 MB / 311.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.01042, allocations: 114.4 kB / 312 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.01048, allocations: 55.25 kB / 312.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.0105, allocations: 12.8 kB / 312.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.01052, allocations: 35.94 kB / 312.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.645e-06/0.01052, allocations: 1.375 kB / 312.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007232/0.01124, allocations: 432.2 kB / 312.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.01127, allocations: 54.31 kB / 312.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.01147, allocations: 275.5 kB / 312.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.01149, allocations: 31.14 kB / 312.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.01155, allocations: 150.1 kB / 313.1 MB, free: 9.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.0116, allocations: 107 kB / 313.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.01167, allocations: 53.67 kB / 313.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.01172, allocations: 353.8 kB / 313.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.01177, allocations: 27.42 kB / 313.6 MB, free: 8.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.01183, allocations: 63.88 kB / 313.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.01198, allocations: 105.2 kB / 313.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01198, allocations: 0.6562 kB / 313.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003164/0.0123, allocations: 193.1 kB / 313.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01231, allocations: 9.312 kB / 314 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.01232, allocations: 1.375 kB / 314 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.01256, allocations: 59.56 kB / 314 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.01287, allocations: 86.83 kB / 314.1 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.01409, allocations: 2.52 MB / 316.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01421, allocations: 14.81 kB / 316.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.01422, allocations: 4.781 kB / 316.6 MB, free: 6.043 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.01429, allocations: 122.6 kB / 316.8 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.01434, allocations: 31.53 kB / 316.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.01453, allocations: 161.6 kB / 316.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01453, allocations: 2.938 kB / 316.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01453, allocations: 1.375 kB / 316.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01454, allocations: 5.25 kB / 317 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.01498, allocations: 375.9 kB / 317.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01499, allocations: 1.312 kB / 317.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.01526, allocations: 81.7 kB / 317.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01527, allocations: 4.797 kB / 317.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01528, allocations: 9.438 kB / 317.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01528, allocations: 6.156 kB / 317.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01528, allocations: 1.062 kB / 317.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.01552, allocations: 281.5 kB / 317.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.01558, allocations: 38.44 kB / 317.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01561, allocations: 10.78 kB / 317.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.01573, allocations: 10.61 kB / 317.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.01577, allocations: 19.53 kB / 317.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.01578, allocations: 6.688 kB / 317.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.01588, allocations: 107.7 kB / 317.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01588, allocations: 0 / 317.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000314/0.0162, allocations: 71 kB / 318 MB, free: 5.336 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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 7.955e-05/0.01628, allocations: 85.7 kB / 318 MB, free: 5.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004226/0.0167, allocations: 280 kB / 318.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.01671, allocations: 3.094 kB / 318.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.0168, allocations: 64.34 kB / 318.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.01713, allocations: 66.75 kB / 318.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.0184, allocations: 0.6894 MB / 319.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.01848, allocations: 98.42 kB / 319.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.01861, allocations: 33.53 kB / 319.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.01877, allocations: 108.1 kB / 319.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01877, allocations: 0 / 319.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of Templates: time 0.006674/0.02544, allocations: 3.948 MB / 323.3 MB, free: 1.508 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8405919522047043]