Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009048/0.0009048, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.000924/0.000924, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.8622/0.8622, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.0898/0.0898, allocations: 19.74 MB / 281.2 MB, free: 9.215 MB / 266.7 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.67e-05, allocations: 6.25 kB / 358 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.00409/0.004106, allocations: 2.947 MB / 360.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.005562, allocations: 0.7986 MB / 361.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.005742, allocations: 11.94 kB / 361.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.005922, allocations: 55.38 kB / 361.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.006305, allocations: 146.7 kB / 361.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.006576, allocations: 111.8 kB / 362 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.007112, allocations: 0.5059 MB / 362.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.007328, allocations: 100.6 kB / 362.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.007958, allocations: 291.2 kB / 362.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.008218, allocations: 151.4 kB / 363.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.008263, allocations: 32 kB / 363.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.008329, allocations: 36 kB / 363.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.008376, allocations: 87.59 kB / 363.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.008471, allocations: 143.5 kB / 363.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.008737, allocations: 298.7 kB / 363.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.008739, allocations: 0 / 363.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.00874, allocations: 4 kB / 363.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.008745, allocations: 0 / 363.6 MB, free: 0.8672 MB / 282.7 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.0007701/0.009515, allocations: 0.7837 MB / 364.4 MB, free: 44 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.009544, allocations: 12.62 kB / 364.4 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.009662, allocations: 75.84 kB / 364.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.009935, allocations: 294.7 kB / 364.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.009953, allocations: 25.03 kB / 364.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.009995, allocations: 44.31 kB / 364.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.01029, allocations: 259.7 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.0103, allocations: 0.9375 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.01032, allocations: 16 kB / 365.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01033, allocations: 8 kB / 365.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.01051, allocations: 135.7 kB / 365.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.01146, allocations: 1.039 MB / 366.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.01168, allocations: 182.6 kB / 366.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.01177, allocations: 75.64 kB / 366.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.01178, allocations: 8 kB / 366.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.0118, allocations: 41.39 kB / 366.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.01181, allocations: 0 / 366.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009439/0.01275, allocations: 0.6756 MB / 367.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.01277, allocations: 59.39 kB / 367.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.01302, allocations: 382.7 kB / 367.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.01303, allocations: 33.64 kB / 367.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01314, allocations: 267.3 kB / 368 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.0132, allocations: 115 kB / 368.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.01327, allocations: 79.67 kB / 368.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01338, allocations: 0.5235 MB / 368.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.01346, allocations: 48.72 kB / 368.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01356, allocations: 111.6 kB / 368.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.01374, allocations: 174.3 kB / 369.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01374, allocations: 0 / 369.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004871/0.01423, allocations: 364 kB / 369.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01424, allocations: 4 kB / 369.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01425, allocations: 0 / 369.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.01466, allocations: 147.6 kB / 369.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.01489, allocations: 91.88 kB / 369.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.01683, allocations: 3.943 MB / 373.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01693, allocations: 12 kB / 373.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01695, allocations: 15.98 kB / 373.6 MB, free: 6.312 MB / 298.7 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 9.878e-05/0.01705, allocations: 172.5 kB / 373.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.01709, allocations: 47.77 kB / 373.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.01733, allocations: 241.7 kB / 374.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01734, allocations: 8 kB / 374.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.01734, allocations: 0 / 374.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01734, allocations: 7.984 kB / 374.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.01798, allocations: 0.6232 MB / 374.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01799, allocations: 0 / 374.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.0182, allocations: 75.89 kB / 374.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01821, allocations: 0 / 374.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01822, allocations: 8 kB / 374.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01822, allocations: 0 / 374.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01822, allocations: 0 / 374.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01856, allocations: 460.9 kB / 375.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.01864, allocations: 59.72 kB / 375.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.01866, allocations: 11.98 kB / 375.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.01876, allocations: 11.95 kB / 375.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.0188, allocations: 19.95 kB / 375.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.0188, allocations: 8 kB / 375.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.01895, allocations: 259.1 kB / 375.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01895, allocations: 0 / 375.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.01918, allocations: 92 kB / 375.7 MB, free: 4.16 MB / 298.7 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.474e-05/0.01924, allocations: 99.19 kB / 375.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000491/0.01973, allocations: 432.3 kB / 376.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01973, allocations: 0 / 376.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.771e-05/0.01983, allocations: 103.6 kB / 376.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.02013, allocations: 84.94 kB / 376.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.02134, allocations: 0.9212 MB / 377.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.044e-05/0.0214, allocations: 121.2 kB / 377.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.041e-05/0.02149, allocations: 42.95 kB / 377.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.02156, allocations: 32.48 kB / 377.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02156, allocations: 0 / 377.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of Templates: time 0.006198/0.02776, allocations: 4.779 MB / 382.3 MB, free: 13.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.605998771265149]