Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001913/0.001913, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002357/0.002357, allocations: 211 kB / 23.73 MB, free: 4.387 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 1.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.1392/0.1392, allocations: 26.84 MB / 340.7 MB, free: 8.004 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.00201/0.00201, allocations: 70.55 kB / 477.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2662, allocations: 60.48 MB / 0.5251 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00343/0.2696, allocations: 2.897 MB / 0.528 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2708, allocations: 0.8068 MB / 0.5288 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.271, allocations: 10.72 kB / 0.5288 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2712, allocations: 60.39 kB / 0.5288 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.2715, allocations: 149.3 kB / 0.529 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.2717, allocations: 125.4 kB / 0.5291 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.2721, allocations: 0.5229 MB / 0.5296 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2723, allocations: 104.6 kB / 0.5297 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.2726, allocations: 216.8 kB / 0.5299 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.2729, allocations: 200 kB / 0.5301 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.273, allocations: 35.12 kB / 0.5301 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2731, allocations: 41.91 kB / 0.5302 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.2732, allocations: 97.72 kB / 0.5303 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.2734, allocations: 187.7 kB / 0.5304 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.2738, allocations: 449.4 kB / 0.5309 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2738, allocations: 0.6094 kB / 0.5309 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2738, allocations: 1.094 kB / 0.5309 GB, free: 6.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2739, allocations: 0 / 0.5309 GB, free: 6.145 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001181/0.275, allocations: 0.738 MB / 0.5316 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.2751, allocations: 9.344 kB / 0.5316 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.2752, allocations: 56.11 kB / 0.5317 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.2756, allocations: 307.3 kB / 0.532 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2756, allocations: 30.75 kB / 0.532 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.2757, allocations: 40.12 kB / 0.532 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.2761, allocations: 316.4 kB / 0.5323 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2762, allocations: 2.062 kB / 0.5323 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.2762, allocations: 10.81 kB / 0.5323 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2762, allocations: 6.562 kB / 0.5323 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.2766, allocations: 213.6 kB / 0.5325 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.278, allocations: 0.9692 MB / 0.5335 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.2784, allocations: 257.8 kB / 0.5337 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.2786, allocations: 118.4 kB / 0.5339 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2787, allocations: 4.156 kB / 0.5339 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2787, allocations: 33.95 kB / 0.5339 GB, free: 4.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.2787, allocations: 4 kB / 0.5339 GB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001802/0.2805, allocations: 0.877 MB / 0.5347 GB, free: 3.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.2805, allocations: 54.88 kB / 0.5348 GB, free: 3.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2808, allocations: 370.6 kB / 0.5352 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2809, allocations: 36.02 kB / 0.5352 GB, free: 3.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.281, allocations: 219.4 kB / 0.5354 GB, free: 3.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.281, allocations: 137.6 kB / 0.5355 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.2811, allocations: 77.22 kB / 0.5356 GB, free: 3.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.2812, allocations: 357.1 kB / 0.5359 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2813, allocations: 94.09 kB / 0.536 GB, free: 2.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.2815, allocations: 145.4 kB / 0.5362 GB, free: 2.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.2819, allocations: 254.5 kB / 0.5364 GB, free: 2.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2819, allocations: 4 kB / 0.5364 GB, free: 2.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004793/0.2823, allocations: 345.8 kB / 0.5367 GB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2824, allocations: 5.938 kB / 0.5368 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2824, allocations: 2.312 kB / 0.5368 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2824, allocations: 2.25 kB / 0.5368 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.2831, allocations: 149.7 kB / 0.5369 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006654/0.2837, allocations: 1.321 MB / 0.5382 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.284, allocations: 10.47 kB / 0.5382 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.284, allocations: 13.31 kB / 0.5382 GB, free: 1.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * 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 0.0001158/0.2841, allocations: 156 kB / 0.5384 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.2842, allocations: 43.31 kB / 0.5384 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.2846, allocations: 323.6 kB / 0.5387 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2846, allocations: 7.719 kB / 0.5387 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.2846, allocations: 1.719 kB / 0.5387 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2846, allocations: 2.016 kB / 0.5387 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008527/0.2855, allocations: 0.658 MB / 0.5394 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2855, allocations: 5.047 kB / 0.5394 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.2859, allocations: 78.27 kB / 0.5394 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2859, allocations: 2.297 kB / 0.5394 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.2859, allocations: 7.188 kB / 0.5395 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2859, allocations: 5.812 kB / 0.5395 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2859, allocations: 0 / 0.5395 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.2865, allocations: 0.5191 MB / 0.54 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.2867, allocations: 57.33 kB / 0.54 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.2867, allocations: 11.08 kB / 0.54 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.287, allocations: 13.41 kB / 0.54 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.287, allocations: 22.61 kB / 0.5401 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.287, allocations: 10.77 kB / 0.5401 GB, free: 15.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.2873, allocations: 261.8 kB / 0.5403 GB, free: 15.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2873, allocations: 3.938 kB / 0.5403 GB, free: 15.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.2877, allocations: 86.25 kB / 0.5404 GB, free: 15.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0001151/0.2878, allocations: 104.5 kB / 0.5405 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000608/0.2884, allocations: 267.4 kB / 0.5408 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2884, allocations: 1.375 kB / 0.5408 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2886, allocations: 124.5 kB / 0.5409 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2891, allocations: 85.78 kB / 0.541 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.291, allocations: 1.143 MB / 0.5421 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2912, allocations: 223.9 kB / 0.5423 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.2914, allocations: 49.98 kB / 0.5423 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2915, allocations: 36.77 kB / 0.5424 GB, free: 14.67 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2915, allocations: 0 / 0.5424 GB, free: 14.67 MB / 398.1 MB Notification: Performance of Templates: time 0.009284/0.3008, allocations: 4.893 MB / 0.5472 GB, free: 12.21 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6850812043994665] Failed to read output from testmodel.py, exit status != 0: 0.30875798873603344 0.322710449 0.045866439 Calling exit ...