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.001348/0.001348, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001447/0.001447, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.1451/0.1451, allocations: 26.82 MB / 340.7 MB, free: 8.191 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.002037/0.002037, allocations: 67.84 kB / 477.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2677, allocations: 60.48 MB / 0.5252 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003421/0.2712, allocations: 3.179 MB / 0.5283 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2723, allocations: 0.8474 MB / 0.5291 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2725, allocations: 9.812 kB / 0.5291 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.2726, allocations: 61.8 kB / 0.5292 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2729, allocations: 153.1 kB / 0.5293 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.2732, allocations: 116.7 kB / 0.5295 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.2736, allocations: 0.5269 MB / 0.53 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2738, allocations: 111.7 kB / 0.5301 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.2741, allocations: 220 kB / 0.5303 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.2744, allocations: 219.6 kB / 0.5305 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.2744, allocations: 39.16 kB / 0.5305 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.2745, allocations: 42.12 kB / 0.5306 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.2746, allocations: 94.19 kB / 0.5307 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2748, allocations: 234.9 kB / 0.5309 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.2753, allocations: 433 kB / 0.5313 GB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2753, allocations: 0.5312 kB / 0.5313 GB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2753, allocations: 0 / 0.5313 GB, free: 5.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.2753, allocations: 0.5312 kB / 0.5313 GB, free: 5.719 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.001247/0.2766, allocations: 0.7413 MB / 0.532 GB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2766, allocations: 9.438 kB / 0.532 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.2767, allocations: 60.48 kB / 0.5321 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.2772, allocations: 313.6 kB / 0.5324 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.2772, allocations: 26.84 kB / 0.5324 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.2772, allocations: 41.38 kB / 0.5325 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.2777, allocations: 318.9 kB / 0.5328 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2777, allocations: 4 kB / 0.5328 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2777, allocations: 11.28 kB / 0.5328 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2778, allocations: 7.719 kB / 0.5328 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.2781, allocations: 212.8 kB / 0.533 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.2797, allocations: 1.1 MB / 0.5341 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.2801, allocations: 243.7 kB / 0.5343 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.2803, allocations: 122.4 kB / 0.5344 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.2804, allocations: 3.531 kB / 0.5344 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.2804, allocations: 32.48 kB / 0.5344 GB, free: 3.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.2804, allocations: 1.281 kB / 0.5344 GB, free: 3.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001851/0.2822, allocations: 0.8719 MB / 0.5353 GB, free: 3.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.2823, allocations: 60.56 kB / 0.5353 GB, free: 3.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.2826, allocations: 374.4 kB / 0.5357 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2826, allocations: 35.67 kB / 0.5357 GB, free: 2.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.2827, allocations: 228.3 kB / 0.536 GB, free: 2.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.2828, allocations: 128.2 kB / 0.5361 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.2829, allocations: 79.7 kB / 0.5362 GB, free: 2.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.2829, allocations: 357.6 kB / 0.5365 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.2831, allocations: 93.23 kB / 0.5366 GB, free: 2.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2833, allocations: 154.5 kB / 0.5367 GB, free: 2.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2836, allocations: 255.4 kB / 0.537 GB, free: 2.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2836, allocations: 1.5 kB / 0.537 GB, free: 2.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000467/0.2841, allocations: 345.8 kB / 0.5373 GB, free: 1.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2841, allocations: 9.672 kB / 0.5373 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2841, allocations: 5.172 kB / 0.5373 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2841, allocations: 3.078 kB / 0.5373 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.2848, allocations: 149.3 kB / 0.5375 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007182/0.2855, allocations: 1.335 MB / 0.5388 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.2858, allocations: 14.16 kB / 0.5388 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2858, allocations: 13.84 kB / 0.5388 GB, free: 0.4922 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.0001179/0.2859, allocations: 155 kB / 0.5389 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.286, allocations: 47.56 kB / 0.539 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.2865, allocations: 321.1 kB / 0.5393 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2865, allocations: 4.594 kB / 0.5393 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.2865, allocations: 0.6094 kB / 0.5393 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2865, allocations: 1.875 kB / 0.5393 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.2875, allocations: 0.7621 MB / 0.54 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2875, allocations: 0 / 0.54 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.2879, allocations: 83.95 kB / 0.5401 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2879, allocations: 6.438 kB / 0.5401 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.288, allocations: 6.359 kB / 0.5401 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.288, allocations: 2.656 kB / 0.5401 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.288, allocations: 0.7031 kB / 0.5401 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.2887, allocations: 0.5133 MB / 0.5406 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.2888, allocations: 65.64 kB / 0.5407 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.2889, allocations: 7.797 kB / 0.5407 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2891, allocations: 13.09 kB / 0.5407 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.2892, allocations: 22.14 kB / 0.5407 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2892, allocations: 13 kB / 0.5408 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.2895, allocations: 268.2 kB / 0.541 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2895, allocations: 3.938 kB / 0.541 GB, free: 15.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000335/0.2898, allocations: 82.41 kB / 0.5411 GB, free: 15.18 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.0001137/0.2899, allocations: 108.8 kB / 0.5412 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.2905, allocations: 269.9 kB / 0.5415 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2905, allocations: 0 / 0.5415 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.2907, allocations: 119.9 kB / 0.5416 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.2912, allocations: 81.28 kB / 0.5417 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2932, allocations: 1.142 MB / 0.5428 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.2936, allocations: 0.8255 MB / 0.5436 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2938, allocations: 51.59 kB / 0.5436 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.2939, allocations: 35.17 kB / 0.5437 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2939, allocations: 1.438 kB / 0.5437 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.009164/0.3031, allocations: 4.6 MB / 0.5482 GB, free: 11.18 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.557490693405271] Failed to read output from testmodel.py, exit status != 0: 0.31152754090726376 0.32544045999999993 0.04709776799999994 Calling exit ...