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.001646/0.001646, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001531/0.001531, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.457/1.457, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.1454/0.1454, allocations: 19.74 MB / 280.8 MB, free: 9.281 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.583e-06/1.583e-06, allocations: 0 / 357.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.969e-05, allocations: 2.312 kB / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.00436/0.00438, allocations: 2.748 MB / 360 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005934, allocations: 0.779 MB / 360.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.006091, allocations: 7.938 kB / 360.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.006276, allocations: 51.39 kB / 360.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.006665, allocations: 158.7 kB / 360.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.006926, allocations: 107.8 kB / 361.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000622/0.007548, allocations: 0.5098 MB / 361.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.007761, allocations: 88.62 kB / 361.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.008202, allocations: 287.2 kB / 361.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.008476, allocations: 155.5 kB / 362.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.008539, allocations: 32 kB / 362.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.008642, allocations: 39.98 kB / 362.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.008738, allocations: 95.53 kB / 362.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.008923, allocations: 135.6 kB / 362.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.009453, allocations: 398.5 kB / 362.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.009455, allocations: 0 / 362.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.009456, allocations: 0 / 362.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.009465, allocations: 3.984 kB / 362.8 MB, free: 1.355 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.001447/0.01091, allocations: 0.6876 MB / 363.5 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.01095, allocations: 12.62 kB / 363.5 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.01113, allocations: 76.61 kB / 363.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.01171, allocations: 299.9 kB / 363.8 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.01174, allocations: 25.03 kB / 363.9 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.01182, allocations: 40.27 kB / 363.9 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.01241, allocations: 302.5 kB / 364.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.01243, allocations: 4.172 kB / 364.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.01247, allocations: 19.94 kB / 364.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01247, allocations: 4 kB / 364.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.01292, allocations: 206.4 kB / 364.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.0147, allocations: 0.9252 MB / 365.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.01525, allocations: 223 kB / 365.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.01547, allocations: 116.8 kB / 365.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.0155, allocations: 4 kB / 365.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.01554, allocations: 38.5 kB / 365.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.01554, allocations: 0 / 365.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001969/0.01751, allocations: 0.8022 MB / 366.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.01756, allocations: 59.39 kB / 366.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.018, allocations: 341.7 kB / 366.9 MB, free: 13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.01804, allocations: 33.7 kB / 367 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.01824, allocations: 216.5 kB / 367.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.01837, allocations: 130.9 kB / 367.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.01849, allocations: 66.08 kB / 367.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.01869, allocations: 346.8 kB / 367.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.01889, allocations: 84.7 kB / 367.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01915, allocations: 149.4 kB / 367.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.0196, allocations: 228.2 kB / 368.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.0196, allocations: 0 / 368.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001112/0.02071, allocations: 445.1 kB / 368.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.02072, allocations: 4 kB / 368.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.02073, allocations: 4 kB / 368.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008937/0.02162, allocations: 152.8 kB / 368.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.0221, allocations: 91.88 kB / 368.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.02617, allocations: 3.073 MB / 371.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.0264, allocations: 19.98 kB / 371.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.02643, allocations: 12 kB / 371.9 MB, free: 7.715 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.0001842/0.02662, allocations: 149.8 kB / 372.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.02672, allocations: 55.66 kB / 372.1 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.02731, allocations: 297.7 kB / 372.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.02731, allocations: 4 kB / 372.4 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.02732, allocations: 0 / 372.4 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.02732, allocations: 7.984 kB / 372.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.02844, allocations: 0.6351 MB / 373.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02844, allocations: 0 / 373.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.02889, allocations: 83.89 kB / 373.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.02889, allocations: 3.938 kB / 373.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.02892, allocations: 8 kB / 373.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.02892, allocations: 4 kB / 373.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02892, allocations: 0 / 373.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.02975, allocations: 0.5011 MB / 373.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.0299, allocations: 59.67 kB / 373.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.02994, allocations: 8 kB / 373.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.03018, allocations: 8 kB / 373.7 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.03024, allocations: 27.89 kB / 373.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.03026, allocations: 7.938 kB / 373.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.03056, allocations: 247.2 kB / 374 MB, free: 5.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03056, allocations: 0 / 374 MB, free: 5.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.03096, allocations: 92 kB / 374.1 MB, free: 5.469 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 0.0001269/0.03109, allocations: 103.2 kB / 374.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009912/0.03208, allocations: 414.5 kB / 374.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03208, allocations: 0 / 374.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.03232, allocations: 120.1 kB / 374.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.03284, allocations: 84.84 kB / 374.8 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.03466, allocations: 0.941 MB / 375.8 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.03491, allocations: 219.8 kB / 376 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.03506, allocations: 42.89 kB / 376 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.03517, allocations: 32.48 kB / 376 MB, free: 3.465 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.03517, allocations: 0 / 376 MB, free: 3.465 MB / 298.7 MB Notification: Performance of Templates: time 0.01051/0.04568, allocations: 4.557 MB / 380.6 MB, free: 14.96 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.445307711954229]