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.001719/0.001719, allocations: 83.19 kB / 21.28 MB, free: 0.5195 MB / 14.72 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.002107/0.002107, allocations: 159.7 kB / 24.53 MB, free: 3.84 MB / 14.72 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 2.28/2.28, allocations: 177.2 MB / 204.9 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] 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.2167/0.2167, allocations: 19.71 MB / 281 MB, free: 13.05 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 67.89 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3546, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.005158/0.3598, allocations: 2.492 MB / 480.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3615, allocations: 0.7011 MB / 481.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.3617, allocations: 7.656 kB / 481.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3619, allocations: 54.58 kB / 481.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.3623, allocations: 120.8 kB / 481.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3626, allocations: 80.81 kB / 481.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.3632, allocations: 403.8 kB / 481.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.3634, allocations: 55.88 kB / 482 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.3639, allocations: 241.5 kB / 482.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3642, allocations: 156.6 kB / 482.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.3642, allocations: 24.78 kB / 482.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.3643, allocations: 31.25 kB / 482.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.3644, allocations: 64.64 kB / 482.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.3646, allocations: 140.8 kB / 482.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.3652, allocations: 332 kB / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3652, allocations: 3.984 kB / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3652, allocations: 0 / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3652, allocations: 0 / 482.9 MB, free: 11.95 MB / 382.1 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.001483/0.3667, allocations: 0.5965 MB / 483.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3667, allocations: 9.875 kB / 483.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.3669, allocations: 44.72 kB / 483.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.3674, allocations: 267 kB / 483.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.3675, allocations: 17.78 kB / 483.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.3675, allocations: 37.36 kB / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.3682, allocations: 246.1 kB / 484.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3682, allocations: 1.094 kB / 484.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.3682, allocations: 6.188 kB / 484.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3682, allocations: 5.219 kB / 484.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.3688, allocations: 181.1 kB / 484.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.3704, allocations: 0.7018 MB / 485 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.3709, allocations: 173.3 kB / 485.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.3712, allocations: 99.66 kB / 485.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3712, allocations: 3.875 kB / 485.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.3713, allocations: 39.83 kB / 485.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.3713, allocations: 0 / 485.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.002036/0.3733, allocations: 0.6649 MB / 486 MB, free: 9.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.3734, allocations: 65.61 kB / 486.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.3739, allocations: 298.6 kB / 486.4 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3739, allocations: 31.08 kB / 486.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3741, allocations: 180.4 kB / 486.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3742, allocations: 102.9 kB / 486.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3744, allocations: 53.48 kB / 486.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.3746, allocations: 342.6 kB / 487 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.3749, allocations: 76.8 kB / 487.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.3752, allocations: 114.2 kB / 487.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.3758, allocations: 197.6 kB / 487.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3758, allocations: 1.156 kB / 487.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009988/0.3768, allocations: 319.6 kB / 487.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3768, allocations: 4 kB / 487.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3768, allocations: 7.984 kB / 487.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.3772, allocations: 56.81 kB / 487.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.3778, allocations: 79.88 kB / 487.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.3814, allocations: 2.775 MB / 490.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.3817, allocations: 20.2 kB / 490.7 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3818, allocations: 8 kB / 490.7 MB, free: 5.191 MB / 382.1 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 0.0002184/0.382, allocations: 145.7 kB / 490.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.3821, allocations: 31.81 kB / 490.9 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/0.3828, allocations: 261.4 kB / 491.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3828, allocations: 192 / 491.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3828, allocations: 8 kB / 491.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3828, allocations: 4 kB / 491.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3842, allocations: 0.5648 MB / 491.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3842, allocations: 0 / 491.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.3847, allocations: 63.91 kB / 491.8 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3847, allocations: 3.938 kB / 491.8 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3848, allocations: 8 kB / 491.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3848, allocations: 0 / 491.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3848, allocations: 0 / 491.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3858, allocations: 460.7 kB / 492.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.386, allocations: 43.84 kB / 492.3 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.386, allocations: 8 kB / 492.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3863, allocations: 11.98 kB / 492.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.3864, allocations: 19.97 kB / 492.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3864, allocations: 4 kB / 492.3 MB, free: 3.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.3868, allocations: 215.1 kB / 492.5 MB, free: 3.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3868, allocations: 4 kB / 492.5 MB, free: 3.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005812/0.3874, allocations: 75.94 kB / 492.6 MB, free: 3.219 MB / 382.1 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 0.0001317/0.3875, allocations: 99.19 kB / 492.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3887, allocations: 365.3 kB / 493 MB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3887, allocations: 0 / 493 MB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.389, allocations: 103.8 kB / 493.1 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.3897, allocations: 60.11 kB / 493.2 MB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.392, allocations: 0.9112 MB / 494.1 MB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3923, allocations: 190.7 kB / 494.3 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.3925, allocations: 42.88 kB / 494.3 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3926, allocations: 32.48 kB / 494.4 MB, free: 1.367 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3926, allocations: 0 / 494.4 MB, free: 1.367 MB / 382.1 MB Notification: Performance of Templates: time 0.01217/0.4048, allocations: 3.61 MB / 498 MB, free: 13.79 MB / 398.1 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=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.762521610013209] Failed to read output from testmodel.py, exit status != 0: 0.4157779320375994 0.43721922 0.067537048 Calling exit ...