Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009293/0.0009293, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0008992/0.0008992, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.8193/0.8193, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 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.1645/0.1645, allocations: 36.35 MB / 276.2 MB, free: 14.38 MB / 266.7 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 355 MB, free: 62.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.652e-05, allocations: 3.156 kB / 355 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002955/0.002971, allocations: 2.611 MB / 357.6 MB, free: 61.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.004285, allocations: 0.7347 MB / 358.4 MB, free: 60.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.004467, allocations: 8.719 kB / 358.4 MB, free: 60.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.004639, allocations: 45.67 kB / 358.4 MB, free: 60.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.004939, allocations: 135.5 kB / 358.6 MB, free: 60.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.005156, allocations: 75.88 kB / 358.6 MB, free: 60.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.005588, allocations: 422.5 kB / 359.1 MB, free: 60.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.005767, allocations: 62.44 kB / 359.1 MB, free: 60.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.006102, allocations: 223.8 kB / 359.3 MB, free: 60.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.006328, allocations: 129.5 kB / 359.5 MB, free: 60.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.006377, allocations: 25.78 kB / 359.5 MB, free: 60.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.006461, allocations: 27 kB / 359.5 MB, free: 60.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.006525, allocations: 64.39 kB / 359.6 MB, free: 60.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.006629, allocations: 113.2 kB / 359.7 MB, free: 60.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.006891, allocations: 237.6 kB / 359.9 MB, free: 60.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.006894, allocations: 0 / 359.9 MB, free: 60.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006895, allocations: 1.281 kB / 359.9 MB, free: 60.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.0069, allocations: 0 / 359.9 MB, free: 60.04 MB / 330.7 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.0007912/0.007691, allocations: 0.6984 MB / 360.6 MB, free: 59.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.007726, allocations: 8.625 kB / 360.6 MB, free: 59.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.007845, allocations: 59.89 kB / 360.7 MB, free: 59.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.008102, allocations: 263.3 kB / 360.9 MB, free: 59.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.008117, allocations: 18.16 kB / 361 MB, free: 59.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.008155, allocations: 29.73 kB / 361 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.008392, allocations: 206.7 kB / 361.2 MB, free: 59.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.008404, allocations: 2.766 kB / 361.2 MB, free: 59.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.008419, allocations: 10.72 kB / 361.2 MB, free: 59.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.008428, allocations: 12.7 kB / 361.2 MB, free: 59.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.008566, allocations: 85.67 kB / 361.3 MB, free: 59.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.00922, allocations: 0.7821 MB / 362.1 MB, free: 58.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.009391, allocations: 134.3 kB / 362.2 MB, free: 58.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.009472, allocations: 57.8 kB / 362.3 MB, free: 58.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.009491, allocations: 4.625 kB / 362.3 MB, free: 58.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.009507, allocations: 35.83 kB / 362.3 MB, free: 58.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.233e-06/0.009508, allocations: 1.031 kB / 362.3 MB, free: 58.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.000597/0.0101, allocations: 470 kB / 362.8 MB, free: 58.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.01013, allocations: 59.33 kB / 362.8 MB, free: 57.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01031, allocations: 327.5 kB / 363.1 MB, free: 57.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.01032, allocations: 31.2 kB / 363.2 MB, free: 57.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.0104, allocations: 237 kB / 363.4 MB, free: 57.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.01045, allocations: 106 kB / 363.5 MB, free: 57.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.01051, allocations: 55.2 kB / 363.6 MB, free: 57.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.01057, allocations: 0.5219 MB / 364.1 MB, free: 56.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.01061, allocations: 26.72 kB / 364.1 MB, free: 56.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.988e-05/0.01067, allocations: 72.33 kB / 364.2 MB, free: 56.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.01078, allocations: 124.4 kB / 364.3 MB, free: 56.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01078, allocations: 1.188 kB / 364.3 MB, free: 56.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00028/0.01106, allocations: 234.1 kB / 364.5 MB, free: 56.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01107, allocations: 9.719 kB / 364.5 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01108, allocations: 1.75 kB / 364.5 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.01128, allocations: 63.12 kB / 364.6 MB, free: 56.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.01148, allocations: 69.41 kB / 364.7 MB, free: 56.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.01255, allocations: 3.68 MB / 368.4 MB, free: 52.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.01264, allocations: 10.69 kB / 368.4 MB, free: 52.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01265, allocations: 7.219 kB / 368.4 MB, free: 52.99 MB / 330.7 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 7.064e-05/0.01272, allocations: 173 kB / 368.5 MB, free: 52.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.01277, allocations: 43.58 kB / 368.6 MB, free: 52.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.01295, allocations: 182.2 kB / 368.8 MB, free: 52.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01295, allocations: 2.781 kB / 368.8 MB, free: 52.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01296, allocations: 6.047 kB / 368.8 MB, free: 52.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01296, allocations: 1.359 kB / 368.8 MB, free: 52.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.0134, allocations: 497.9 kB / 369.3 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0134, allocations: 0 / 369.3 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.01358, allocations: 71.67 kB / 369.3 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01358, allocations: 1.156 kB / 369.3 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01359, allocations: 10.8 kB / 369.3 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.0136, allocations: 1.156 kB / 369.3 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0136, allocations: 0.6094 kB / 369.3 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.01383, allocations: 375.5 kB / 369.7 MB, free: 52.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.01389, allocations: 52.39 kB / 369.8 MB, free: 52.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.01391, allocations: 9.891 kB / 369.8 MB, free: 52.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.014, allocations: 14.22 kB / 369.8 MB, free: 52.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.01404, allocations: 23.72 kB / 369.8 MB, free: 52.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01405, allocations: 8.094 kB / 369.8 MB, free: 52.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01415, allocations: 222.5 kB / 370 MB, free: 51.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01415, allocations: 0 / 370 MB, free: 51.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01439, allocations: 74 kB / 370.1 MB, free: 51.89 MB / 330.7 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 5.976e-05/0.01445, allocations: 95.28 kB / 370.2 MB, free: 51.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.01486, allocations: 351.5 kB / 370.5 MB, free: 51.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01486, allocations: 0 / 370.5 MB, free: 51.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.01494, allocations: 75.59 kB / 370.6 MB, free: 51.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.01524, allocations: 64.53 kB / 370.7 MB, free: 51.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.0164, allocations: 0.7973 MB / 371.5 MB, free: 51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.663e-05/0.01646, allocations: 97.19 kB / 371.6 MB, free: 50.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.746e-05/0.01655, allocations: 37.69 kB / 371.6 MB, free: 50.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01668, allocations: 119.5 kB / 371.7 MB, free: 50.85 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01668, allocations: 0 / 371.7 MB, free: 50.85 MB / 330.7 MB Notification: Performance of Templates: time 0.006029/0.02271, allocations: 4.007 MB / 375.7 MB, free: 49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.001511489972472]