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.0008751/0.0008751, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0008329/0.0008329, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.8826/0.8826, allocations: 177.1 MB / 206 MB, free: 4.496 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.09112/0.09112, allocations: 19.74 MB / 282.3 MB, free: 12.29 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.292e-06/1.292e-06, allocations: 0 / 359.2 MB, free: 44.2 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.803e-05, allocations: 2.312 kB / 359.2 MB, free: 44.19 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002819/0.002837, allocations: 3.084 MB / 362.3 MB, free: 41.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.00392, allocations: 0.8116 MB / 363.1 MB, free: 40.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.004095, allocations: 7.938 kB / 363.1 MB, free: 40.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.004244, allocations: 58.7 kB / 363.1 MB, free: 40.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.004508, allocations: 163.2 kB / 363.3 MB, free: 40.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.004705, allocations: 127.2 kB / 363.4 MB, free: 40.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.005003, allocations: 0.5386 MB / 364 MB, free: 40.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.005157, allocations: 109.9 kB / 364.1 MB, free: 40.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.005407, allocations: 299.3 kB / 364.4 MB, free: 39.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.00557, allocations: 168 kB / 364.5 MB, free: 39.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.005606, allocations: 37.69 kB / 364.6 MB, free: 39.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.17e-05/0.005668, allocations: 39.98 kB / 364.6 MB, free: 39.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.005707, allocations: 99.52 kB / 364.7 MB, free: 39.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.005786, allocations: 151.5 kB / 364.9 MB, free: 39.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006022, allocations: 314.6 kB / 365.2 MB, free: 38.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006024, allocations: 3.25 kB / 365.2 MB, free: 38.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006025, allocations: 0 / 365.2 MB, free: 38.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006029, allocations: 0 / 365.2 MB, free: 38.93 MB / 314.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.0006887/0.006718, allocations: 0.8415 MB / 366 MB, free: 38.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.006745, allocations: 8.031 kB / 366 MB, free: 38.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.006846, allocations: 81.89 kB / 366.1 MB, free: 37.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.007079, allocations: 312.5 kB / 366.4 MB, free: 37.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.007094, allocations: 25.03 kB / 366.4 MB, free: 37.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.00713, allocations: 36.38 kB / 366.5 MB, free: 37.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.007339, allocations: 259.6 kB / 366.7 MB, free: 37.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007351, allocations: 4.141 kB / 366.7 MB, free: 37.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.007368, allocations: 15.25 kB / 366.7 MB, free: 37.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007376, allocations: 14.03 kB / 366.7 MB, free: 37.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.007497, allocations: 115 kB / 366.9 MB, free: 37.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.008309, allocations: 1.025 MB / 367.9 MB, free: 36.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.008508, allocations: 177 kB / 368.1 MB, free: 35.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.008569, allocations: 77.16 kB / 368.1 MB, free: 35.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.008587, allocations: 8.219 kB / 368.1 MB, free: 35.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.008601, allocations: 42.45 kB / 368.2 MB, free: 35.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.008603, allocations: 0 / 368.2 MB, free: 35.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008243/0.009428, allocations: 0.6441 MB / 368.8 MB, free: 35.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/0.009442, allocations: 59.41 kB / 368.9 MB, free: 35.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.009601, allocations: 386.5 kB / 369.3 MB, free: 34.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.009613, allocations: 29.7 kB / 369.3 MB, free: 34.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.009688, allocations: 271.6 kB / 369.6 MB, free: 34.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.009731, allocations: 146.8 kB / 369.7 MB, free: 34.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.009788, allocations: 71.81 kB / 369.8 MB, free: 34.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.009837, allocations: 0.5234 MB / 370.3 MB, free: 33.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.009879, allocations: 36.97 kB / 370.3 MB, free: 33.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.00994, allocations: 115.3 kB / 370.4 MB, free: 33.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.01006, allocations: 170.1 kB / 370.6 MB, free: 33.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01006, allocations: 0 / 370.6 MB, free: 33.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002028/0.01026, allocations: 262.9 kB / 370.9 MB, free: 32.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.01027, allocations: 4 kB / 370.9 MB, free: 32.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01028, allocations: 4.125 kB / 370.9 MB, free: 32.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.01029, allocations: 8 kB / 370.9 MB, free: 32.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.01064, allocations: 147.8 kB / 371 MB, free: 32.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004478/0.01109, allocations: 1.832 MB / 372.9 MB, free: 30.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.0112, allocations: 15.89 kB / 372.9 MB, free: 30.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.01121, allocations: 19.92 kB / 372.9 MB, free: 30.81 MB / 314.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 7.035e-05/0.01128, allocations: 172.5 kB / 373.1 MB, free: 30.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.01132, allocations: 57.16 kB / 373.1 MB, free: 30.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.01151, allocations: 225.8 kB / 373.3 MB, free: 30.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01151, allocations: 4 kB / 373.3 MB, free: 30.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.01151, allocations: 0 / 373.3 MB, free: 30.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01151, allocations: 0 / 373.3 MB, free: 30.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.01193, allocations: 0.5845 MB / 373.9 MB, free: 29.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01193, allocations: 0 / 373.9 MB, free: 29.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.01214, allocations: 79.91 kB / 374 MB, free: 29.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01214, allocations: 0 / 374 MB, free: 29.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01215, allocations: 15.98 kB / 374 MB, free: 29.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01215, allocations: 0 / 374 MB, free: 29.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01215, allocations: 0 / 374 MB, free: 29.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.0124, allocations: 441.5 kB / 374.4 MB, free: 29.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.01246, allocations: 59.72 kB / 374.5 MB, free: 29.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01249, allocations: 8 kB / 374.5 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.0126, allocations: 15.95 kB / 374.5 MB, free: 29.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.01263, allocations: 32.53 kB / 374.6 MB, free: 29.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01264, allocations: 4 kB / 374.6 MB, free: 29.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.326e-05/0.01272, allocations: 259 kB / 374.8 MB, free: 28.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01272, allocations: 0 / 374.8 MB, free: 28.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01293, allocations: 84 kB / 374.9 MB, free: 28.73 MB / 314.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.429e-05/0.01299, allocations: 99.7 kB / 375 MB, free: 28.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.01325, allocations: 200.3 kB / 375.2 MB, free: 28.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01325, allocations: 0 / 375.2 MB, free: 28.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.01332, allocations: 99.66 kB / 375.3 MB, free: 28.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.01363, allocations: 86.02 kB / 375.4 MB, free: 28.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.01475, allocations: 0.9704 MB / 376.3 MB, free: 27.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01479, allocations: 113.1 kB / 376.5 MB, free: 27.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.0149, allocations: 45.52 kB / 376.5 MB, free: 27.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.01505, allocations: 142.2 kB / 376.6 MB, free: 26.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01505, allocations: 0 / 376.6 MB, free: 26.95 MB / 314.7 MB Notification: Performance of Templates: time 0.005814/0.02086, allocations: 4.834 MB / 381.5 MB, free: 22.22 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.83284710906446]