Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009144/0.0009144, allocations: 80.8 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.001101/0.001101, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9159/0.9159, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.09786/0.09786, allocations: 19.73 MB / 281.5 MB, free: 12.32 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 305.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.261e-05, allocations: 2.312 kB / 305.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002926/0.002949, allocations: 2.696 MB / 307.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.004237, allocations: 0.7514 MB / 308.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.004393, allocations: 11.94 kB / 308.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004526, allocations: 39.52 kB / 308.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.005025, allocations: 134.9 kB / 308.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.005201, allocations: 83.81 kB / 308.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.005546, allocations: 417.9 kB / 309.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.005682, allocations: 59.67 kB / 309.4 MB, free: 452 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.005992, allocations: 235.3 kB / 309.6 MB, free: 216 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.006142, allocations: 119.6 kB / 309.7 MB, free: 96 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.006174, allocations: 24 kB / 309.7 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.006241, allocations: 32 kB / 309.8 MB, free: 40 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.006293, allocations: 75.67 kB / 309.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.00637, allocations: 111.6 kB / 310 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.006614, allocations: 235 kB / 310.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.006617, allocations: 0 / 310.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006618, allocations: 0 / 310.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.006622, allocations: 0 / 310.2 MB, free: 15.62 MB / 298.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.0006187/0.007241, allocations: 0.5694 MB / 310.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.007271, allocations: 12.03 kB / 310.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.007369, allocations: 44.89 kB / 310.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.007615, allocations: 221.8 kB / 311 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.007631, allocations: 16.88 kB / 311 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.007674, allocations: 32.31 kB / 311.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.007884, allocations: 208.8 kB / 311.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007895, allocations: 192 / 311.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.00791, allocations: 16.31 kB / 311.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.007917, allocations: 7.938 kB / 311.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.008018, allocations: 73.44 kB / 311.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.008614, allocations: 0.5611 MB / 311.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.008749, allocations: 118.3 kB / 312.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.008801, allocations: 53.5 kB / 312.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.008818, allocations: 4 kB / 312.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.008839, allocations: 30.56 kB / 312.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.253e-06/0.00884, allocations: 4 kB / 312.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005922/0.009432, allocations: 425.8 kB / 312.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.00946, allocations: 59.39 kB / 312.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.009622, allocations: 279 kB / 312.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.009636, allocations: 29.7 kB / 312.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.009701, allocations: 157.3 kB / 313.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.00975, allocations: 107.1 kB / 313.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.009804, allocations: 49.67 kB / 313.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.009883, allocations: 350.7 kB / 313.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.009916, allocations: 24 kB / 313.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.00997, allocations: 68 kB / 313.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.972e-05/0.01007, allocations: 108.6 kB / 313.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01007, allocations: 8 kB / 313.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002343/0.01031, allocations: 184.2 kB / 313.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01032, allocations: 8 kB / 314 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01032, allocations: 0 / 314 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.01052, allocations: 64.84 kB / 314 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.01078, allocations: 91.12 kB / 314.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.0123, allocations: 2.513 MB / 316.6 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.01238, allocations: 16.11 kB / 316.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.01239, allocations: 8 kB / 316.6 MB, free: 8.773 MB / 298.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.992e-05/0.01247, allocations: 125.8 kB / 316.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01251, allocations: 27.97 kB / 316.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.01266, allocations: 157.7 kB / 316.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01266, allocations: 4 kB / 317 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.01266, allocations: 3.938 kB / 317 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01267, allocations: 3.938 kB / 317 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01302, allocations: 363.1 kB / 317.3 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01302, allocations: 4 kB / 317.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.01323, allocations: 83.89 kB / 317.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01323, allocations: 3.984 kB / 317.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01324, allocations: 7.938 kB / 317.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01325, allocations: 4 kB / 317.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01325, allocations: 192 / 317.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.01345, allocations: 284.8 kB / 317.7 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.0135, allocations: 31.81 kB / 317.7 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.01352, allocations: 15.94 kB / 317.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.0136, allocations: 11.92 kB / 317.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.01364, allocations: 15.97 kB / 317.8 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01365, allocations: 8 kB / 317.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.01373, allocations: 104.6 kB / 317.9 MB, free: 7.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01373, allocations: 0 / 317.9 MB, free: 7.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.01393, allocations: 72 kB / 317.9 MB, free: 7.41 MB / 298.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.935e-05/0.014, allocations: 80.36 kB / 318 MB, free: 7.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.01438, allocations: 291.6 kB / 318.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.01438, allocations: 4 kB / 318.3 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.01445, allocations: 68.69 kB / 318.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01471, allocations: 67.23 kB / 318.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.01576, allocations: 0.6878 MB / 319.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.01582, allocations: 96.94 kB / 319.2 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.01591, allocations: 42.94 kB / 319.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.01604, allocations: 99.36 kB / 319.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01604, allocations: 0 / 319.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006276/0.02231, allocations: 3.927 MB / 323.3 MB, free: 2.051 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6099936910904944]