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.001645/0.001645, allocations: 79.42 kB / 21.27 MB, free: 388 kB / 14.72 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.002073/0.002073, allocations: 163.7 kB / 24.53 MB, free: 3.59 MB / 14.72 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 2.194/2.194, allocations: 177.2 MB / 204.9 MB, free: 9.293 MB / 190.1 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.2684/0.2684, allocations: 19.71 MB / 281 MB, free: 13.07 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 71.89 kB / 417.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5545, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.005145/0.5596, allocations: 2.75 MB / 480.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.5615, allocations: 0.7801 MB / 481.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.5617, allocations: 9.094 kB / 481.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.5619, allocations: 50.42 kB / 481.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.5624, allocations: 141.8 kB / 481.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.5627, allocations: 116.9 kB / 481.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.5633, allocations: 492.5 kB / 482.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.5636, allocations: 89.16 kB / 482.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.5641, allocations: 300.7 kB / 482.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.5644, allocations: 193.7 kB / 482.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.5645, allocations: 32.62 kB / 483 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.5646, allocations: 38.62 kB / 483 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.5646, allocations: 86.91 kB / 483.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.5649, allocations: 181.9 kB / 483.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.5654, allocations: 410.4 kB / 483.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5654, allocations: 1.031 kB / 483.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5654, allocations: 3.938 kB / 483.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.5655, allocations: 0 / 483.7 MB, free: 11.4 MB / 382.1 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.01399/0.5794, allocations: 0.6911 MB / 484.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5795, allocations: 9.625 kB / 484.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.5797, allocations: 53.98 kB / 484.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.5803, allocations: 295.4 kB / 484.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.5803, allocations: 29.41 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.5804, allocations: 41.88 kB / 484.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.581, allocations: 295.1 kB / 485.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.581, allocations: 5.062 kB / 485.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.5811, allocations: 11.44 kB / 485.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5811, allocations: 6.781 kB / 485.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.5816, allocations: 201.6 kB / 485.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.5836, allocations: 0.9322 MB / 486.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.5841, allocations: 236.5 kB / 486.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.5843, allocations: 108.2 kB / 486.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.5843, allocations: 3.406 kB / 486.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.5844, allocations: 37.34 kB / 486.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.063e-06/0.5844, allocations: 4 kB / 486.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002121/0.5865, allocations: 0.7954 MB / 487.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5866, allocations: 54.5 kB / 487.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.587, allocations: 351.2 kB / 487.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.5871, allocations: 33.7 kB / 487.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.5873, allocations: 216.6 kB / 488.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.5874, allocations: 122.9 kB / 488.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.5875, allocations: 70.02 kB / 488.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5877, allocations: 350.8 kB / 488.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.588, allocations: 84.7 kB / 488.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.5882, allocations: 141.5 kB / 488.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.5888, allocations: 236.1 kB / 489 MB, free: 7.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5888, allocations: 0 / 489 MB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00124/0.59, allocations: 421.2 kB / 489.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.59, allocations: 8 kB / 489.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.59, allocations: 0 / 489.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009841/0.5999, allocations: 124.8 kB / 489.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.6004, allocations: 87.89 kB / 489.7 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.6046, allocations: 3.077 MB / 492.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.6049, allocations: 20.02 kB / 492.8 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.6049, allocations: 11.98 kB / 492.8 MB, free: 3.078 MB / 382.1 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.0002166/0.6052, allocations: 161.6 kB / 492.9 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.896e-05/0.6053, allocations: 39.77 kB / 493 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006679/0.6059, allocations: 297.7 kB / 493.3 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6059, allocations: 4 kB / 493.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.6059, allocations: 0 / 493.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6059, allocations: 0 / 493.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.6072, allocations: 0.6429 MB / 493.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6072, allocations: 0 / 493.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.6078, allocations: 75.91 kB / 494 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.6078, allocations: 4 kB / 494 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.6078, allocations: 4 kB / 494 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.495e-06/0.6078, allocations: 7.984 kB / 494 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6078, allocations: 3.938 kB / 494 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.6087, allocations: 497.1 kB / 494.5 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.6089, allocations: 59.72 kB / 494.5 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.6089, allocations: 8 kB / 494.5 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.6092, allocations: 11.94 kB / 494.6 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.6093, allocations: 23.95 kB / 494.6 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.6093, allocations: 8 kB / 494.6 MB, free: 1.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.6096, allocations: 247.2 kB / 494.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6096, allocations: 0 / 494.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.01067/0.6203, allocations: 92 kB / 494.9 MB, free: 0.8516 MB / 382.1 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.0009281/0.6212, allocations: 99.38 kB / 495 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.6224, allocations: 422.7 kB / 495.4 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6224, allocations: 0 / 495.4 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.6227, allocations: 116.1 kB / 495.5 MB, free: 212 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.6233, allocations: 82.48 kB / 495.6 MB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.6256, allocations: 1.093 MB / 496.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.6259, allocations: 215.8 kB / 496.9 MB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.6261, allocations: 42.94 kB / 497 MB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6262, allocations: 32.48 kB / 497 MB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6262, allocations: 0 / 497 MB, free: 14.71 MB / 398.1 MB Notification: Performance of Templates: time 0.02219/0.6484, allocations: 4.555 MB / 0.4898 GB, free: 10.21 MB / 398.1 MB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4599751639179885] Failed to read output from testmodel.py, exit status != 0: 0.6712894510710612 0.6914061210000001 0.12108737800000001 Calling exit ...