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.001862/0.001862, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00192/0.00192, allocations: 169.3 kB / 24.28 MB, free: 152 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.149/0.149, allocations: 19.74 MB / 280.8 MB, free: 9.309 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 1.272e-06/1.272e-06, allocations: 0 / 357.2 MB, free: 6.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.911e-05, allocations: 10.25 kB / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00479/0.004809, allocations: 3.07 MB / 360.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.006397, allocations: 0.8101 MB / 361.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.00657, allocations: 7.938 kB / 361.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.00676, allocations: 67.25 kB / 361.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.007153, allocations: 162.6 kB / 361.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.00743, allocations: 119.8 kB / 361.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.008107, allocations: 0.5448 MB / 362 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.008335, allocations: 105.8 kB / 362.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.008825, allocations: 315.1 kB / 362.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.009114, allocations: 159.5 kB / 362.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.009215, allocations: 36 kB / 362.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.009321, allocations: 43.94 kB / 362.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.009421, allocations: 91.58 kB / 362.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.009625, allocations: 155.5 kB / 362.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.01021, allocations: 434.4 kB / 363.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01021, allocations: 4 kB / 363.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01021, allocations: 4 kB / 363.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.01022, allocations: 0 / 363.3 MB, free: 0.8398 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001667/0.01188, allocations: 0.8535 MB / 364.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.01192, allocations: 8.031 kB / 364.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.0121, allocations: 80.61 kB / 364.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.01264, allocations: 314.6 kB / 364.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.01267, allocations: 29.02 kB / 364.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.01274, allocations: 36.38 kB / 364.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.01333, allocations: 335 kB / 364.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.01335, allocations: 4.188 kB / 365 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.01339, allocations: 16.12 kB / 365 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.01339, allocations: 4 kB / 365 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.01386, allocations: 210.4 kB / 365.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.01604, allocations: 1.192 MB / 366.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.0166, allocations: 255 kB / 366.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.01683, allocations: 119.2 kB / 366.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.01687, allocations: 8.281 kB / 366.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.01691, allocations: 41.66 kB / 366.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.343e-06/0.01691, allocations: 3.938 kB / 366.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002245/0.01915, allocations: 0.8747 MB / 367.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.0192, allocations: 55.41 kB / 367.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.01976, allocations: 474.6 kB / 368.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.0198, allocations: 37.7 kB / 368.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.02005, allocations: 287.6 kB / 368.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.02018, allocations: 135.2 kB / 368.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.02033, allocations: 91.8 kB / 368.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000521/0.02085, allocations: 0.543 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.02105, allocations: 88.95 kB / 369.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.02132, allocations: 167.3 kB / 369.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.0218, allocations: 270.1 kB / 369.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0218, allocations: 0 / 369.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006365/0.02244, allocations: 353.2 kB / 370.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.02245, allocations: 4 kB / 370.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.02246, allocations: 0 / 370.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.02247, allocations: 7.938 kB / 370.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.02323, allocations: 148 kB / 370.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.02486, allocations: 1.877 MB / 372.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.0251, allocations: 11.98 kB / 372.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.02513, allocations: 20.16 kB / 372.2 MB, free: 7.523 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 (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 0.0002194/0.02535, allocations: 204.4 kB / 372.4 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.02545, allocations: 55.7 kB / 372.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.02604, allocations: 305.8 kB / 372.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.02605, allocations: 4 kB / 372.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02605, allocations: 3.938 kB / 372.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.02606, allocations: 7.984 kB / 372.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.02731, allocations: 0.7559 MB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02731, allocations: 0 / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.02776, allocations: 87.89 kB / 373.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.02776, allocations: 3.938 kB / 373.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.02779, allocations: 8 kB / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02779, allocations: 0 / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.02779, allocations: 0 / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.02866, allocations: 0.564 MB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.02881, allocations: 59.69 kB / 374.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.02887, allocations: 19.86 kB / 374.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.02911, allocations: 12 kB / 374.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.02918, allocations: 19.95 kB / 374.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.02919, allocations: 8 kB / 374.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003625/0.02956, allocations: 315.1 kB / 374.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02956, allocations: 0 / 374.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.02991, allocations: 88 kB / 374.7 MB, free: 4.945 MB / 298.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 0.000134/0.03005, allocations: 103.2 kB / 374.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.03076, allocations: 296.8 kB / 375.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.03077, allocations: 0 / 375.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.03103, allocations: 143.7 kB / 375.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.03157, allocations: 88.11 kB / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.0337, allocations: 0.9945 MB / 376.3 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.03395, allocations: 231.8 kB / 376.5 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.03413, allocations: 47.25 kB / 376.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.03425, allocations: 32.5 kB / 376.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03425, allocations: 0 / 376.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of Templates: time 0.01032/0.04456, allocations: 4.42 MB / 381 MB, free: 14.6 MB / 314.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: 4.537395364022814]