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.0008659/0.0008659, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0008668/0.0008668, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9052/0.9052, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.09956/0.09956, allocations: 19.74 MB / 281.6 MB, free: 9.078 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.553e-06/1.553e-06, allocations: 0 / 358.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.359e-05, allocations: 6.25 kB / 358.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003747/0.003781, allocations: 3.085 MB / 361.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.005336, allocations: 0.8139 MB / 362.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.005572, allocations: 11.94 kB / 362.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.005739, allocations: 59.31 kB / 362.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.006054, allocations: 158.7 kB / 362.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.006271, allocations: 119.8 kB / 362.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.006673, allocations: 0.5448 MB / 363.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.00685, allocations: 106 kB / 363.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.007189, allocations: 311.1 kB / 363.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.007359, allocations: 163.4 kB / 363.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.007401, allocations: 36 kB / 363.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.007473, allocations: 40 kB / 363.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.007525, allocations: 99.52 kB / 364 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.007615, allocations: 151.5 kB / 364.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.007909, allocations: 318.6 kB / 364.4 MB, free: 304 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007911, allocations: 0 / 364.4 MB, free: 304 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007912, allocations: 0 / 364.4 MB, free: 304 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.007917, allocations: 0 / 364.4 MB, free: 304 kB / 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.0008528/0.00877, allocations: 0.8302 MB / 365.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.008806, allocations: 16.03 kB / 365.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.008938, allocations: 88.48 kB / 365.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.009204, allocations: 306.6 kB / 365.6 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.009223, allocations: 28.97 kB / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.009261, allocations: 32.38 kB / 365.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.009508, allocations: 259.6 kB / 366 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.009521, allocations: 4.141 kB / 366 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.009539, allocations: 16.38 kB / 366 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.009546, allocations: 11.94 kB / 366 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.009678, allocations: 115 kB / 366.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.01062, allocations: 1.02 MB / 367.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.01084, allocations: 180.4 kB / 367.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.263e-05/0.01091, allocations: 71.3 kB / 367.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.01094, allocations: 12.2 kB / 367.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.01096, allocations: 41.67 kB / 367.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.01096, allocations: 0 / 367.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009061/0.01186, allocations: 0.6407 MB / 368.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.01189, allocations: 55.41 kB / 368.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.01212, allocations: 382.5 kB / 368.5 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.01214, allocations: 33.7 kB / 368.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01225, allocations: 275.5 kB / 368.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.01231, allocations: 138.8 kB / 368.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.01238, allocations: 79.81 kB / 369 MB, free: 11.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01259, allocations: 0.5234 MB / 369.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.01264, allocations: 40.97 kB / 369.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.01272, allocations: 107.3 kB / 369.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.01287, allocations: 166.1 kB / 369.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01287, allocations: 7.938 kB / 369.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002466/0.01312, allocations: 269.1 kB / 370.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01314, allocations: 4 kB / 370.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01314, allocations: 0 / 370.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.01316, allocations: 4 kB / 370.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.01352, allocations: 151.8 kB / 370.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.01465, allocations: 1.827 MB / 372.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01481, allocations: 15.89 kB / 372.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.01482, allocations: 15.92 kB / 372.1 MB, free: 8.164 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.0001186/0.01494, allocations: 176.5 kB / 372.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.01499, allocations: 47.92 kB / 372.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.01523, allocations: 241.8 kB / 372.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01524, allocations: 4 kB / 372.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01524, allocations: 0 / 372.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01524, allocations: 0 / 372.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.01584, allocations: 0.5729 MB / 373.2 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01584, allocations: 4 kB / 373.2 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.01606, allocations: 75.91 kB / 373.2 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01607, allocations: 4 kB / 373.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01608, allocations: 7.984 kB / 373.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01608, allocations: 4 kB / 373.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01609, allocations: 7.938 kB / 373.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.01644, allocations: 441.5 kB / 373.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.01653, allocations: 59.72 kB / 373.7 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.01656, allocations: 8 kB / 373.8 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01666, allocations: 7.953 kB / 373.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.01671, allocations: 27.89 kB / 373.8 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01673, allocations: 8 kB / 373.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.01687, allocations: 255 kB / 374 MB, free: 6.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01687, allocations: 4 kB / 374 MB, free: 6.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.01714, allocations: 88 kB / 374.1 MB, free: 6.078 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.0001231/0.01726, allocations: 101.9 kB / 374.2 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.01761, allocations: 204.6 kB / 374.4 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.01762, allocations: 0 / 374.4 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.01805, allocations: 91.86 kB / 374.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.01837, allocations: 92.5 kB / 374.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.01971, allocations: 0.9709 MB / 375.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.06e-05/0.01977, allocations: 109.1 kB / 375.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.01988, allocations: 51.25 kB / 375.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.02005, allocations: 134.2 kB / 375.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02005, allocations: 4 kB / 375.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of Templates: time 0.006415/0.02646, allocations: 4.677 MB / 380.6 MB, free: 15.67 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: 2.681768381036818]