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.001292/0.001292, 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.0009163/0.0009163, 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 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.01/1.01, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.096/0.096, allocations: 19.73 MB / 282.3 MB, free: 12.24 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.452e-06/1.452e-06, allocations: 0.5469 kB / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.248e-05, allocations: 2.312 kB / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003808/0.003831, allocations: 2.911 MB / 362.1 MB, free: 41.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.005261, allocations: 0.7869 MB / 362.9 MB, free: 41.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.005484, allocations: 13.19 kB / 362.9 MB, free: 41.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.005662, allocations: 53.12 kB / 363 MB, free: 41.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.006039, allocations: 149.6 kB / 363.1 MB, free: 40.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.006311, allocations: 114 kB / 363.2 MB, free: 40.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.00675, allocations: 0.5025 MB / 363.7 MB, free: 40.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.006946, allocations: 105.3 kB / 363.8 MB, free: 40.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.007313, allocations: 287.3 kB / 364.1 MB, free: 39.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.007528, allocations: 151.4 kB / 364.2 MB, free: 39.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.007578, allocations: 32 kB / 364.3 MB, free: 39.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.00766, allocations: 39.94 kB / 364.3 MB, free: 39.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.007698, allocations: 91.16 kB / 364.4 MB, free: 39.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.007773, allocations: 151.4 kB / 364.6 MB, free: 39.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.007993, allocations: 294.7 kB / 364.8 MB, free: 39.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.007996, allocations: 0 / 364.8 MB, free: 39.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007996, allocations: 0 / 364.8 MB, free: 39.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.008002, allocations: 0 / 364.8 MB, free: 39.22 MB / 314.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.0006566/0.008658, allocations: 0.7878 MB / 365.6 MB, free: 38.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.008687, allocations: 12.62 kB / 365.6 MB, free: 38.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.008788, allocations: 72.61 kB / 365.7 MB, free: 38.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.009006, allocations: 292.8 kB / 366 MB, free: 38.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.00902, allocations: 25.03 kB / 366 MB, free: 37.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.009055, allocations: 44.31 kB / 366.1 MB, free: 37.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.009251, allocations: 248.1 kB / 366.3 MB, free: 37.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.009263, allocations: 0.9375 kB / 366.3 MB, free: 37.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.009279, allocations: 16.69 kB / 366.3 MB, free: 37.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.009285, allocations: 9.781 kB / 366.3 MB, free: 37.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.009398, allocations: 103.1 kB / 366.4 MB, free: 37.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.01015, allocations: 0.9958 MB / 367.4 MB, free: 36.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.0103, allocations: 162.4 kB / 367.6 MB, free: 36.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.01036, allocations: 73.22 kB / 367.7 MB, free: 36.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.01038, allocations: 4 kB / 367.7 MB, free: 36.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.01039, allocations: 38.27 kB / 367.7 MB, free: 36.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.01039, allocations: 3.938 kB / 367.7 MB, free: 36.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006973/0.01109, allocations: 0.5699 MB / 368.3 MB, free: 35.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.448e-05/0.0111, allocations: 56.38 kB / 368.3 MB, free: 35.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01125, allocations: 378.5 kB / 368.7 MB, free: 35.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.01126, allocations: 30.58 kB / 368.7 MB, free: 35.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.01133, allocations: 267.2 kB / 369 MB, free: 34.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.01137, allocations: 118.9 kB / 369.1 MB, free: 34.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.01143, allocations: 84.23 kB / 369.2 MB, free: 34.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.01148, allocations: 0.5244 MB / 369.7 MB, free: 34.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.01152, allocations: 36.7 kB / 369.8 MB, free: 34.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.01158, allocations: 99.62 kB / 369.9 MB, free: 33.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.01169, allocations: 160.4 kB / 370 MB, free: 33.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01169, allocations: 4 kB / 370 MB, free: 33.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003757/0.01206, allocations: 334.4 kB / 370.3 MB, free: 33.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01207, allocations: 8 kB / 370.3 MB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01208, allocations: 0 / 370.3 MB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.01244, allocations: 129.7 kB / 370.5 MB, free: 33.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.01266, allocations: 99.88 kB / 370.6 MB, free: 33.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.01398, allocations: 3.884 MB / 374.5 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.01409, allocations: 12 kB / 374.5 MB, free: 29.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.0141, allocations: 4 kB / 374.5 MB, free: 29.09 MB / 314.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 7.256e-05/0.01417, allocations: 184.5 kB / 374.6 MB, free: 28.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.01422, allocations: 51.7 kB / 374.7 MB, free: 28.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.01439, allocations: 225.6 kB / 374.9 MB, free: 28.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.0144, allocations: 4 kB / 374.9 MB, free: 28.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.0144, allocations: 0 / 374.9 MB, free: 28.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.0144, allocations: 0 / 374.9 MB, free: 28.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.0148, allocations: 0.5506 MB / 375.5 MB, free: 28.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01481, allocations: 3.938 kB / 375.5 MB, free: 28.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.015, allocations: 75.97 kB / 375.6 MB, free: 27.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.015, allocations: 7.938 kB / 375.6 MB, free: 27.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01501, allocations: 7.984 kB / 375.6 MB, free: 27.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01501, allocations: 0 / 375.6 MB, free: 27.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01501, allocations: 4 kB / 375.6 MB, free: 27.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.01523, allocations: 421 kB / 376 MB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.0153, allocations: 59.67 kB / 376 MB, free: 27.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01532, allocations: 12 kB / 376.1 MB, free: 27.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.01542, allocations: 4 kB / 376.1 MB, free: 27.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.01545, allocations: 19.95 kB / 376.1 MB, free: 27.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01546, allocations: 12 kB / 376.1 MB, free: 27.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.01554, allocations: 251 kB / 376.3 MB, free: 27.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01554, allocations: 0 / 376.3 MB, free: 27.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.01576, allocations: 88 kB / 376.4 MB, free: 27.07 MB / 314.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.307e-05/0.01583, allocations: 104.9 kB / 376.5 MB, free: 26.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.01621, allocations: 415.6 kB / 376.9 MB, free: 26.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01621, allocations: 4 kB / 376.9 MB, free: 26.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.01628, allocations: 83.5 kB / 377 MB, free: 26.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01657, allocations: 89.27 kB / 377.1 MB, free: 26.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.01762, allocations: 0.926 MB / 378 MB, free: 25.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.01767, allocations: 109.3 kB / 378.1 MB, free: 25.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.264e-05/0.01776, allocations: 41.02 kB / 378.2 MB, free: 25.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.01789, allocations: 126.2 kB / 378.3 MB, free: 25.13 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01789, allocations: 0 / 378.3 MB, free: 25.13 MB / 314.7 MB Notification: Performance of Templates: time 0.005983/0.02387, allocations: 5.02 MB / 383.3 MB, free: 20.2 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: 3.019335981924087]