Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0013/0.0013, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001852/0.001852, allocations: 170.3 kB / 24.91 MB, free: 8.77 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.9065/0.9065, allocations: 158.6 MB / 186.8 MB, free: 2.332 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.2162/0.2162, allocations: 36.34 MB / 275.5 MB, free: 10.52 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 305.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.476e-05, allocations: 3.078 kB / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004141/0.004165, allocations: 2.904 MB / 308.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.00597, allocations: 0.8263 MB / 308.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.006178, allocations: 10 kB / 308.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.006329, allocations: 60.05 kB / 309 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.006647, allocations: 143.6 kB / 309.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.006914, allocations: 115.8 kB / 309.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.007389, allocations: 0.5035 MB / 309.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.007559, allocations: 92.86 kB / 309.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.007945, allocations: 290.1 kB / 310.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.00817, allocations: 152.9 kB / 310.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.008225, allocations: 33.41 kB / 310.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.008305, allocations: 36.2 kB / 310.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.008353, allocations: 86.67 kB / 310.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.008468, allocations: 143.7 kB / 310.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.008813, allocations: 296.1 kB / 310.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.008815, allocations: 0 / 310.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008816, allocations: 4 kB / 310.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.008828, allocations: 0 / 310.9 MB, free: 10.62 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.0007899/0.009618, allocations: 0.6694 MB / 311.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.009647, allocations: 11.38 kB / 311.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.009772, allocations: 54.14 kB / 311.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.01005, allocations: 261.1 kB / 311.8 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.01008, allocations: 25.31 kB / 311.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.01013, allocations: 31.52 kB / 311.9 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.01039, allocations: 244.4 kB / 312.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.0104, allocations: 4.188 kB / 312.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.01042, allocations: 21.84 kB / 312.2 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01043, allocations: 8.062 kB / 312.2 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.01058, allocations: 93.88 kB / 312.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.01141, allocations: 0.7249 MB / 313 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.01159, allocations: 155.8 kB / 313.1 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.01167, allocations: 57.92 kB / 313.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.01169, allocations: 5.625 kB / 313.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.01171, allocations: 40.09 kB / 313.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.01171, allocations: 0 / 313.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008459/0.01255, allocations: 0.5169 MB / 313.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.01258, allocations: 59.53 kB / 313.8 MB, free: 8.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.01276, allocations: 314.3 kB / 314.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.01277, allocations: 31.08 kB / 314.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.01283, allocations: 175.3 kB / 314.3 MB, free: 8.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.01288, allocations: 132.1 kB / 314.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.01295, allocations: 65.19 kB / 314.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.013, allocations: 356.5 kB / 314.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.01304, allocations: 31.7 kB / 314.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.01311, allocations: 93.98 kB / 315 MB, free: 7.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01324, allocations: 148.1 kB / 315.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01324, allocations: 1.312 kB / 315.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003896/0.01363, allocations: 269.7 kB / 315.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01365, allocations: 6.562 kB / 315.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01365, allocations: 0 / 315.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.01403, allocations: 130.7 kB / 315.5 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.01427, allocations: 87.52 kB / 315.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.01559, allocations: 2.703 MB / 318.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.0157, allocations: 14.02 kB / 318.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01572, allocations: 11.31 kB / 318.3 MB, free: 5.281 MB / 282.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.463e-05/0.01579, allocations: 123.5 kB / 318.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.01584, allocations: 32.66 kB / 318.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01601, allocations: 198.3 kB / 318.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01601, allocations: 2.688 kB / 318.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01601, allocations: 13.25 kB / 318.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.01602, allocations: 0 / 318.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.01642, allocations: 418 kB / 319.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01642, allocations: 0 / 319.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.01661, allocations: 71.84 kB / 319.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01661, allocations: 5.594 kB / 319.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01662, allocations: 10.72 kB / 319.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01662, allocations: 1.062 kB / 319.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01662, allocations: 3.984 kB / 319.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01684, allocations: 332.9 kB / 319.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.0169, allocations: 50.05 kB / 319.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.01693, allocations: 6.781 kB / 319.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.01701, allocations: 6.438 kB / 319.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.01704, allocations: 27.94 kB / 319.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01705, allocations: 2.562 kB / 319.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.01715, allocations: 135.1 kB / 319.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01715, allocations: 0 / 319.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.01741, allocations: 86.25 kB / 319.8 MB, free: 4.379 MB / 282.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 8.207e-05/0.0175, allocations: 91.84 kB / 319.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.01793, allocations: 342.4 kB / 320.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.01793, allocations: 2.625 kB / 320.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.018, allocations: 79.91 kB / 320.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01826, allocations: 84.62 kB / 320.4 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.01943, allocations: 0.8186 MB / 321.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.282e-05/0.0195, allocations: 110.1 kB / 321.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.01961, allocations: 35.14 kB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.01974, allocations: 120.8 kB / 321.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01974, allocations: 0 / 321.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of Templates: time 0.006807/0.02655, allocations: 4.854 MB / 326.4 MB, free: 14.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.168499114923179]