Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001294/0.001294, allocations: 79.75 kB / 21.18 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.001428/0.001428, 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.9054/0.9054, allocations: 177.1 MB / 205 MB, free: 5.246 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.0875/0.0875, allocations: 19.73 MB / 281.2 MB, free: 9.094 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 357.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.14e-05, allocations: 2.312 kB / 357.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002815/0.002836, allocations: 3.124 MB / 361.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003933, allocations: 0.8101 MB / 361.9 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.004086, allocations: 11.94 kB / 361.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.004236, allocations: 59.31 kB / 361.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.00453, allocations: 166.6 kB / 362.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.004725, allocations: 115.8 kB / 362.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.005083, allocations: 0.5448 MB / 362.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.005253, allocations: 101.7 kB / 362.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.005538, allocations: 311.1 kB / 363.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.005718, allocations: 167.4 kB / 363.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.005763, allocations: 36 kB / 363.4 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.005831, allocations: 36 kB / 363.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.005885, allocations: 103.5 kB / 363.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.005997, allocations: 151.5 kB / 363.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.006305, allocations: 310.7 kB / 364 MB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006307, allocations: 0 / 364 MB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006307, allocations: 0 / 364 MB, free: 1.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.006312, allocations: 4 kB / 364 MB, free: 1.609 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0008397/0.007151, allocations: 0.8263 MB / 364.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.007179, allocations: 15.97 kB / 364.8 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.007294, allocations: 84.61 kB / 364.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.007637, allocations: 310.5 kB / 365.2 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.007654, allocations: 25.03 kB / 365.2 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.007698, allocations: 40.33 kB / 365.3 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.008004, allocations: 283.7 kB / 365.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.008015, allocations: 192 / 365.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.008033, allocations: 12.38 kB / 365.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.008042, allocations: 15.94 kB / 365.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.00824, allocations: 131.8 kB / 365.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009925/0.009232, allocations: 1.086 MB / 366.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.009609, allocations: 200.6 kB / 367 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.009708, allocations: 76.22 kB / 367 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.009728, allocations: 8.219 kB / 367.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.009746, allocations: 41.67 kB / 367.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.009748, allocations: 0 / 367.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001055/0.0108, allocations: 0.7494 MB / 367.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.01082, allocations: 55.41 kB / 367.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.01107, allocations: 390.8 kB / 368.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.01109, allocations: 33.69 kB / 368.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.0112, allocations: 271.6 kB / 368.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.01126, allocations: 135.2 kB / 368.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01133, allocations: 79.8 kB / 368.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01145, allocations: 0.5196 MB / 369.3 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.01153, allocations: 52.95 kB / 369.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01164, allocations: 119.3 kB / 369.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.01184, allocations: 202.2 kB / 369.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01184, allocations: 4 kB / 369.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002927/0.01213, allocations: 289.1 kB / 370 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01215, allocations: 11.98 kB / 370 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01215, allocations: 0 / 370 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.01216, allocations: 4 kB / 370 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.01254, allocations: 139.8 kB / 370.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009246/0.01347, allocations: 1.854 MB / 372 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01358, allocations: 15.94 kB / 372 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01359, allocations: 12 kB / 372 MB, free: 9.141 MB / 346.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 9.19e-05/0.01368, allocations: 180.4 kB / 372.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.01374, allocations: 55.72 kB / 372.2 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.01399, allocations: 250 kB / 372.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01399, allocations: 4 kB / 372.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01399, allocations: 3.938 kB / 372.5 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.014, allocations: 0 / 372.5 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.01458, allocations: 0.6426 MB / 373.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01458, allocations: 0 / 373.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.0148, allocations: 83.89 kB / 373.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0148, allocations: 0 / 373.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01482, allocations: 11.94 kB / 373.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01482, allocations: 0 / 373.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01482, allocations: 0 / 373.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.01519, allocations: 477.4 kB / 373.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.01527, allocations: 63.67 kB / 373.7 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.0153, allocations: 7.938 kB / 373.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.0154, allocations: 8 kB / 373.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.01544, allocations: 23.95 kB / 373.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01545, allocations: 12 kB / 373.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.01561, allocations: 275.1 kB / 374.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01561, allocations: 0 / 374.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.01582, allocations: 80 kB / 374.1 MB, free: 6.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.546e-05/0.01588, allocations: 109.6 kB / 374.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.01621, allocations: 224.6 kB / 374.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01621, allocations: 3.938 kB / 374.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01631, allocations: 107.7 kB / 374.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01661, allocations: 80.91 kB / 374.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.01788, allocations: 0.982 MB / 375.6 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.01794, allocations: 113.1 kB / 375.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.01806, allocations: 43.25 kB / 375.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.01814, allocations: 36.48 kB / 375.8 MB, free: 5.172 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01814, allocations: 0 / 375.8 MB, free: 5.172 MB / 346.7 MB Notification: Performance of Templates: time 0.005829/0.02397, allocations: 4.438 MB / 380.3 MB, free: 0.7852 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8444245606660843]