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.0009028/0.0009028, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009845/0.0009845, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9038/0.9038, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.08577/0.08577, allocations: 19.73 MB / 281.5 MB, free: 9.332 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.382e-06/1.382e-06, allocations: 0 / 357.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.728e-05, allocations: 9.266 kB / 357.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002778/0.002795, allocations: 2.944 MB / 360.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.003768, allocations: 0.7947 MB / 361.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.003906, allocations: 7.938 kB / 361.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004049, allocations: 51.39 kB / 361.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.004315, allocations: 158.7 kB / 361.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.004505, allocations: 107.8 kB / 362 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.004894, allocations: 0.5059 MB / 362.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.005061, allocations: 96.61 kB / 362.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.005327, allocations: 283.2 kB / 362.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.005494, allocations: 159.4 kB / 363 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.005533, allocations: 32 kB / 363.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.005594, allocations: 40 kB / 363.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.005641, allocations: 87.59 kB / 363.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.952e-05/0.005741, allocations: 143.5 kB / 363.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.006078, allocations: 298.7 kB / 363.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00608, allocations: 0 / 363.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006081, allocations: 0 / 363.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.006085, allocations: 0 / 363.6 MB, free: 1.223 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.0007988/0.006884, allocations: 0.7837 MB / 364.4 MB, free: 408 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.006915, allocations: 8.625 kB / 364.4 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.007032, allocations: 80.61 kB / 364.5 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.00733, allocations: 298.7 kB / 364.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.007348, allocations: 21.03 kB / 364.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.007392, allocations: 40.33 kB / 364.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.007688, allocations: 263.6 kB / 365.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.007702, allocations: 4.188 kB / 365.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.007843, allocations: 11.94 kB / 365.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.007854, allocations: 11.98 kB / 365.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.008054, allocations: 135.8 kB / 365.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.009055, allocations: 1.035 MB / 366.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.00929, allocations: 185.3 kB / 366.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.009392, allocations: 83.64 kB / 366.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.009411, allocations: 8 kB / 366.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.009434, allocations: 45.33 kB / 366.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.009435, allocations: 0 / 366.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001007/0.01044, allocations: 0.6639 MB / 367.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.01047, allocations: 55.41 kB / 367.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.01073, allocations: 390.6 kB / 367.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.01075, allocations: 33.7 kB / 367.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01086, allocations: 263.3 kB / 368 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.01092, allocations: 123 kB / 368.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.011, allocations: 79.69 kB / 368.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003523/0.01135, allocations: 0.5157 MB / 368.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.01143, allocations: 48.7 kB / 368.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.01154, allocations: 111.6 kB / 368.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.01174, allocations: 178.3 kB / 369 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01174, allocations: 4 kB / 369 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005036/0.01225, allocations: 356 kB / 369.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01226, allocations: 8.125 kB / 369.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01227, allocations: 4 kB / 369.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/0.01269, allocations: 139.5 kB / 369.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.01294, allocations: 91.89 kB / 369.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.01494, allocations: 3.947 MB / 373.6 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.01504, allocations: 11.95 kB / 373.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01506, allocations: 15.94 kB / 373.6 MB, free: 6.664 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 0.0001004/0.01516, allocations: 176.5 kB / 373.8 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.01521, allocations: 55.69 kB / 373.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.01546, allocations: 237.8 kB / 374.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01546, allocations: 4 kB / 374.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01547, allocations: 0 / 374.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01547, allocations: 0 / 374.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.01603, allocations: 0.6232 MB / 374.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01603, allocations: 0 / 374.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.01624, allocations: 79.89 kB / 374.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01625, allocations: 4 kB / 374.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01626, allocations: 8 kB / 374.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01626, allocations: 4 kB / 374.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01626, allocations: 0 / 374.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.01663, allocations: 456.9 kB / 375.2 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.01671, allocations: 51.73 kB / 375.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01673, allocations: 8 kB / 375.3 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.01683, allocations: 7.984 kB / 375.3 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.01687, allocations: 19.97 kB / 375.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01688, allocations: 19.92 kB / 375.3 MB, free: 4.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.01703, allocations: 259.1 kB / 375.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01703, allocations: 0 / 375.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01726, allocations: 92 kB / 375.7 MB, free: 4.512 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 7.545e-05/0.01734, allocations: 99.19 kB / 375.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007612/0.0181, allocations: 433.6 kB / 376.2 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0181, allocations: 3.938 kB / 376.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.01821, allocations: 95.58 kB / 376.3 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01851, allocations: 77.64 kB / 376.4 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.01983, allocations: 0.9354 MB / 377.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.259e-05/0.01989, allocations: 109.3 kB / 377.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.832e-05/0.01999, allocations: 46.94 kB / 377.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.02006, allocations: 32.5 kB / 377.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02006, allocations: 0 / 377.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of Templates: time 0.006407/0.02647, allocations: 4.617 MB / 382.1 MB, free: 14.05 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.735837680986151]