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.001637/0.001637, allocations: 74.81 kB / 21.28 MB, free: 384 kB / 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.001513/0.001513, allocations: 163 kB / 24.53 MB, free: 3.586 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.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 9.254 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.1373/0.1373, allocations: 19.71 MB / 281 MB, free: 13.04 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.002057/0.002057, allocations: 67.91 kB / 417.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2657, allocations: 60.45 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004342/0.27, allocations: 2.925 MB / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2716, allocations: 0.7862 MB / 481.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2718, allocations: 14.94 kB / 481.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2719, allocations: 54.08 kB / 481.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.2723, allocations: 155.3 kB / 482 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.2726, allocations: 121.7 kB / 482.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.2731, allocations: 0.5199 MB / 482.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.2734, allocations: 103.5 kB / 482.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.2738, allocations: 327.9 kB / 483 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.2741, allocations: 198.8 kB / 483.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.2741, allocations: 35.44 kB / 483.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.2742, allocations: 38.06 kB / 483.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.2743, allocations: 95.23 kB / 483.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.2745, allocations: 193 kB / 483.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.275, allocations: 446.5 kB / 484 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.275, allocations: 5.125 kB / 484 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.275, allocations: 0 / 484 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2751, allocations: 0 / 484 MB, free: 11.14 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.001436/0.2765, allocations: 0.7354 MB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.2765, allocations: 9.688 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.2767, allocations: 55.02 kB / 484.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.2772, allocations: 308 kB / 485.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2772, allocations: 26.66 kB / 485.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.2773, allocations: 51.34 kB / 485.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.2778, allocations: 311.5 kB / 485.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2778, allocations: 1.281 kB / 485.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.2779, allocations: 14.56 kB / 485.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2779, allocations: 8.031 kB / 485.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.2783, allocations: 215.3 kB / 485.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2801, allocations: 0.9662 MB / 486.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.2806, allocations: 251.9 kB / 486.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2808, allocations: 117.7 kB / 487.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.2808, allocations: 7.047 kB / 487.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.2808, allocations: 38.28 kB / 487.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.2808, allocations: 0 / 487.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002112/0.283, allocations: 0.8748 MB / 488 MB, free: 8.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.283, allocations: 55.41 kB / 488 MB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.2834, allocations: 373.6 kB / 488.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.2835, allocations: 29.7 kB / 488.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.2836, allocations: 228.9 kB / 488.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.2838, allocations: 131.2 kB / 488.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2839, allocations: 74.16 kB / 488.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.2841, allocations: 354.7 kB / 489.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.2842, allocations: 92.97 kB / 489.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.2845, allocations: 149.2 kB / 489.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.2849, allocations: 256 kB / 489.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2849, allocations: 0 / 489.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005841/0.2855, allocations: 345.1 kB / 490 MB, free: 6.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2855, allocations: 12.12 kB / 490 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2855, allocations: 0 / 490 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.2855, allocations: 4 kB / 490 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.2863, allocations: 147.8 kB / 490.2 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2875, allocations: 1.315 MB / 491.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.2878, allocations: 20.02 kB / 491.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2878, allocations: 12 kB / 491.5 MB, free: 4.426 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.000183/0.288, allocations: 149.8 kB / 491.7 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.2881, allocations: 47.66 kB / 491.7 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.2887, allocations: 325.5 kB / 492 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2887, allocations: 4 kB / 492 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2887, allocations: 4.125 kB / 492.1 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2887, allocations: 0 / 492.1 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2898, allocations: 0.6591 MB / 492.7 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2898, allocations: 3.938 kB / 492.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.2902, allocations: 83.89 kB / 492.8 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2902, allocations: 4 kB / 492.8 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2903, allocations: 4 kB / 492.8 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2903, allocations: 4 kB / 492.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2903, allocations: 3.938 kB / 492.8 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.291, allocations: 0.5128 MB / 493.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.2912, allocations: 63.67 kB / 493.4 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.2912, allocations: 8 kB / 493.4 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.2915, allocations: 7.984 kB / 493.4 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.2916, allocations: 27.94 kB / 493.4 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2916, allocations: 12 kB / 493.4 MB, free: 2.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000304/0.2919, allocations: 259.2 kB / 493.7 MB, free: 2.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2919, allocations: 0 / 493.7 MB, free: 2.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.2922, allocations: 84 kB / 493.8 MB, free: 2.105 MB / 382.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.0001327/0.2924, allocations: 103.3 kB / 493.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.293, allocations: 259.9 kB / 494.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.293, allocations: 0 / 494.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.2932, allocations: 119.8 kB / 494.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.2938, allocations: 103.6 kB / 494.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.2959, allocations: 1.142 MB / 495.5 MB, free: 364 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2961, allocations: 223.6 kB / 495.7 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2962, allocations: 32.5 kB / 495.7 MB, free: 84 kB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2962, allocations: 0 / 495.7 MB, free: 84 kB / 382.1 MB Notification: Performance of Templates: time 0.009055/0.3052, allocations: 5.654 MB / 0.4896 GB, free: 10.43 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: 7.2799511780031025] Failed to read output from testmodel.py, exit status != 0: 0.31375977490097284 0.330591268 0.052193295 Calling exit ...