Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001845/0.001845, 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.001853/0.001853, allocations: 165.3 kB / 24.27 MB, free: 156 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.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.1492/0.1492, allocations: 19.73 MB / 280.8 MB, free: 9.328 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 357.2 MB, free: 6.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.142e-05, allocations: 2.312 kB / 357.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004637/0.004658, allocations: 2.92 MB / 360.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.006246, allocations: 0.7908 MB / 360.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.006408, allocations: 7.938 kB / 360.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.006594, allocations: 59.33 kB / 361 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.00696, allocations: 142.8 kB / 361.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.007234, allocations: 119.8 kB / 361.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.007866, allocations: 0.5021 MB / 361.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.008112, allocations: 88.67 kB / 361.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004409/0.008553, allocations: 295.1 kB / 362.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.008835, allocations: 151.5 kB / 362.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.008902, allocations: 32 kB / 362.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.009004, allocations: 39.98 kB / 362.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.009111, allocations: 91.53 kB / 362.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.009291, allocations: 139.6 kB / 362.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.009888, allocations: 402.5 kB / 362.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.009891, allocations: 4 kB / 362.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.009892, allocations: 3.938 kB / 363 MB, free: 1.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.009898, allocations: 0 / 363 MB, free: 1.191 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.00152/0.01142, allocations: 0.8146 MB / 363.8 MB, free: 344 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.01145, allocations: 8.625 kB / 363.8 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.01163, allocations: 76.61 kB / 363.8 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.01215, allocations: 302.8 kB / 364.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.01218, allocations: 29.03 kB / 364.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.01225, allocations: 36.33 kB / 364.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.01301, allocations: 315 kB / 364.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.01303, allocations: 4.125 kB / 364.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.01307, allocations: 15.92 kB / 364.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.01308, allocations: 8 kB / 364.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.01352, allocations: 190.5 kB / 364.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.01547, allocations: 1.141 MB / 365.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.01592, allocations: 231.5 kB / 366.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.01614, allocations: 107.6 kB / 366.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.01618, allocations: 4 kB / 366.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.01621, allocations: 45.33 kB / 366.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.302e-06/0.01621, allocations: 0 / 366.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001904/0.01812, allocations: 0.8045 MB / 367.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.01818, allocations: 55.41 kB / 367.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.01871, allocations: 438.8 kB / 367.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.01874, allocations: 37.7 kB / 367.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.01897, allocations: 267.3 kB / 367.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.0191, allocations: 146.7 kB / 368 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.01944, allocations: 83.69 kB / 368.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000319/0.01976, allocations: 0.5391 MB / 368.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.01996, allocations: 80.72 kB / 368.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.02021, allocations: 151.6 kB / 368.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.02066, allocations: 250.3 kB / 369.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02066, allocations: 0 / 369.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001064/0.02173, allocations: 440 kB / 369.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.02174, allocations: 8 kB / 369.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.02175, allocations: 0 / 369.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008639/0.02261, allocations: 155.6 kB / 369.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.02306, allocations: 95.88 kB / 369.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.02754, allocations: 4.166 MB / 373.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.02777, allocations: 15.98 kB / 373.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.0278, allocations: 8 kB / 373.9 MB, free: 5.625 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 (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 0.0002082/0.028, allocations: 200.5 kB / 374.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.0281, allocations: 55.66 kB / 374.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.02867, allocations: 297.7 kB / 374.5 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.02868, allocations: 4 kB / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.02868, allocations: 0 / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02868, allocations: 0 / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.03007, allocations: 0.7243 MB / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.03008, allocations: 4 kB / 375.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.0305, allocations: 79.89 kB / 375.3 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.0305, allocations: 3.938 kB / 375.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.03052, allocations: 8 kB / 375.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.03053, allocations: 8 kB / 375.3 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.03053, allocations: 0 / 375.3 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.03136, allocations: 0.5444 MB / 375.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.0315, allocations: 55.72 kB / 375.9 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.03155, allocations: 8 kB / 375.9 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.03176, allocations: 4 kB / 375.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.03183, allocations: 23.95 kB / 375.9 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.03185, allocations: 11.94 kB / 376 MB, free: 3.527 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.03219, allocations: 307.1 kB / 376.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03219, allocations: 4 kB / 376.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.03257, allocations: 88 kB / 376.3 MB, free: 3.141 MB / 298.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 0.0001327/0.0327, allocations: 103.2 kB / 376.4 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.03375, allocations: 0.4901 MB / 376.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.03375, allocations: 0 / 376.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.03399, allocations: 131.5 kB / 377.1 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.0345, allocations: 80.88 kB / 377.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.0363, allocations: 0.9525 MB / 378.1 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.03653, allocations: 219.8 kB / 378.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.03669, allocations: 38.94 kB / 378.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.03679, allocations: 32.5 kB / 378.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.03679, allocations: 0 / 378.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of Templates: time 0.01102/0.04781, allocations: 4.608 MB / 383 MB, free: 12.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.619594827061519]