Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.00131/0.00131, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001404/0.001404, allocations: 160.6 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 158.6 MB / 186.3 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.266/0.266, allocations: 36.34 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002277/0.002277, allocations: 75.89 kB / 415.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2888, allocations: 62.39 MB / 477.6 MB, free: 43.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002901/0.2917, allocations: 2.728 MB / 480.4 MB, free: 42.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2928, allocations: 0.7874 MB / 481.2 MB, free: 41.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.2929, allocations: 10.31 kB / 481.2 MB, free: 41.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2931, allocations: 55.98 kB / 481.2 MB, free: 41.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.2933, allocations: 145.2 kB / 481.4 MB, free: 41.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2935, allocations: 110.9 kB / 481.5 MB, free: 41.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.2939, allocations: 0.4922 MB / 482 MB, free: 41.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2941, allocations: 89.89 kB / 482.1 MB, free: 41.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.2942, allocations: 199.6 kB / 482.3 MB, free: 41.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.2944, allocations: 183.4 kB / 482.4 MB, free: 41.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.2945, allocations: 31.75 kB / 482.5 MB, free: 41.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.2946, allocations: 43.47 kB / 482.5 MB, free: 41.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.2946, allocations: 82.31 kB / 482.6 MB, free: 41.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2947, allocations: 175.4 kB / 482.8 MB, free: 41.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.2951, allocations: 422.8 kB / 483.2 MB, free: 40.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2951, allocations: 0 / 483.2 MB, free: 40.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2951, allocations: 0 / 483.2 MB, free: 40.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2951, allocations: 0 / 483.2 MB, free: 40.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001029/0.2961, allocations: 0.6906 MB / 483.9 MB, free: 40.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.2961, allocations: 9.812 kB / 483.9 MB, free: 40.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2962, allocations: 54.36 kB / 483.9 MB, free: 40.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.2966, allocations: 296.8 kB / 484.2 MB, free: 40.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2966, allocations: 25.53 kB / 484.2 MB, free: 40.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.2967, allocations: 42.33 kB / 484.3 MB, free: 40.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.2971, allocations: 302.6 kB / 484.6 MB, free: 39.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2971, allocations: 0 / 484.6 MB, free: 39.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2971, allocations: 11.09 kB / 484.6 MB, free: 39.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2971, allocations: 6.312 kB / 484.6 MB, free: 39.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.2974, allocations: 209.5 kB / 484.8 MB, free: 39.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.2987, allocations: 0.9241 MB / 485.7 MB, free: 39.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.299, allocations: 229.3 kB / 485.9 MB, free: 39.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2991, allocations: 117.6 kB / 486.1 MB, free: 39.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2991, allocations: 3.25 kB / 486.1 MB, free: 39.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2992, allocations: 34.5 kB / 486.1 MB, free: 38.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.482e-06/0.2992, allocations: 0 / 486.1 MB, free: 38.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001441/0.3006, allocations: 0.7943 MB / 486.9 MB, free: 38.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.3006, allocations: 54.53 kB / 486.9 MB, free: 38.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.3009, allocations: 350.5 kB / 487.3 MB, free: 38.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3009, allocations: 29.7 kB / 487.3 MB, free: 38.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.301, allocations: 219.3 kB / 487.5 MB, free: 38.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.301, allocations: 129.8 kB / 487.7 MB, free: 37.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.3011, allocations: 70.67 kB / 487.7 MB, free: 37.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.3012, allocations: 350 kB / 488.1 MB, free: 37.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3013, allocations: 83.25 kB / 488.1 MB, free: 37.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3015, allocations: 141 kB / 488.3 MB, free: 37.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3018, allocations: 246.3 kB / 488.5 MB, free: 37.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3018, allocations: 7.938 kB / 488.5 MB, free: 37.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007893/0.3026, allocations: 404.7 kB / 488.9 MB, free: 37.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3026, allocations: 14.53 kB / 488.9 MB, free: 37.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3026, allocations: 4 kB / 488.9 MB, free: 37.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.3031, allocations: 115 kB / 489.1 MB, free: 37.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3035, allocations: 94.3 kB / 489.2 MB, free: 37.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.3057, allocations: 3.071 MB / 492.2 MB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.3059, allocations: 13.08 kB / 492.2 MB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.306, allocations: 13.41 kB / 492.2 MB, free: 34.34 MB / 446.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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.3061, allocations: 157.8 kB / 492.4 MB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.3061, allocations: 41.78 kB / 492.4 MB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.3065, allocations: 303 kB / 492.7 MB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3065, allocations: 3.344 kB / 492.7 MB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3065, allocations: 3.062 kB / 492.7 MB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3065, allocations: 3.375 kB / 492.7 MB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.3073, allocations: 0.6269 MB / 493.4 MB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3073, allocations: 4 kB / 493.4 MB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.3077, allocations: 78.7 kB / 493.5 MB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3077, allocations: 7.156 kB / 493.5 MB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3077, allocations: 4 kB / 493.5 MB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3077, allocations: 3.094 kB / 493.5 MB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3077, allocations: 7.312 kB / 493.5 MB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.3082, allocations: 0.4884 MB / 494 MB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3083, allocations: 54.12 kB / 494 MB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3084, allocations: 10.81 kB / 494 MB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.3086, allocations: 18.16 kB / 494 MB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3086, allocations: 23.91 kB / 494.1 MB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3086, allocations: 5.812 kB / 494.1 MB, free: 33.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3088, allocations: 248.9 kB / 494.3 MB, free: 33.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3088, allocations: 0 / 494.3 MB, free: 33.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.3091, allocations: 89.72 kB / 494.4 MB, free: 33.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (34): * Single equations (assignments): 34 * 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 6.669e-05/0.3092, allocations: 102.5 kB / 494.5 MB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.31, allocations: 425.6 kB / 494.9 MB, free: 32.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.31, allocations: 0 / 494.9 MB, free: 32.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.3101, allocations: 116.2 kB / 495 MB, free: 32.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3106, allocations: 77.75 kB / 495.1 MB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.312, allocations: 1.089 MB / 496.2 MB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3121, allocations: 216.1 kB / 496.4 MB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.3122, allocations: 49.09 kB / 496.5 MB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.3123, allocations: 36.66 kB / 496.5 MB, free: 31.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3123, allocations: 3.938 kB / 496.5 MB, free: 31.96 MB / 446.1 MB Notification: Performance of Templates: time 0.007798/0.3201, allocations: 4.522 MB / 0.4893 GB, free: 31.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.682605622918345] Failed to read output from testmodel.py, exit status != 0: 0.32783813402056694 0.337870048 0.040429545000000004 Calling exit ...