Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001279, allocations: 108.3 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.253/0.253, allocations: 48.84 MB / 320.7 MB, free: 11.03 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 68.14 kB / 391.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.07656, allocations: 59.16 MB / 450.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003805/0.0804, allocations: 2.952 MB / 453.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.08161, allocations: 0.8189 MB / 454.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.08177, allocations: 11.94 kB / 454.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.08193, allocations: 47.39 kB / 454.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.08225, allocations: 138.8 kB / 454.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.08248, allocations: 115.8 kB / 454.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.08296, allocations: 490.3 kB / 455.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.08319, allocations: 132.1 kB / 455.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.08341, allocations: 191.1 kB / 455.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.08367, allocations: 211 kB / 455.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.08373, allocations: 32 kB / 455.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.08382, allocations: 39.94 kB / 455.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.0839, allocations: 83.62 kB / 455.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.08408, allocations: 222.7 kB / 456.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.08445, allocations: 410.4 kB / 456.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.08446, allocations: 0 / 456.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08447, allocations: 3.938 kB / 456.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.08448, allocations: 0 / 456.5 MB, free: 3.141 MB / 334.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.001204/0.08569, allocations: 0.7477 MB / 457.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.08573, allocations: 12.03 kB / 457.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.08585, allocations: 52.38 kB / 457.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.0863, allocations: 354.1 kB / 457.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.08633, allocations: 21.03 kB / 457.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.0864, allocations: 44.27 kB / 457.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.08687, allocations: 301.7 kB / 458 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.08689, allocations: 3.938 kB / 458 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.08692, allocations: 12 kB / 458.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.08694, allocations: 8 kB / 458.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.08732, allocations: 206 kB / 458.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.0889, allocations: 1.112 MB / 459.4 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.08931, allocations: 231 kB / 459.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.08951, allocations: 124.8 kB / 459.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.08955, allocations: 3.984 kB / 459.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.08958, allocations: 38.56 kB / 459.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.08959, allocations: 0 / 459.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001686/0.09128, allocations: 0.9371 MB / 460.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.09132, allocations: 55.41 kB / 460.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.09169, allocations: 361.7 kB / 461.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.09173, allocations: 33.7 kB / 461.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.09186, allocations: 208.3 kB / 461.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.09195, allocations: 118.2 kB / 461.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.09205, allocations: 70.06 kB / 461.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.09218, allocations: 354.7 kB / 461.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.09236, allocations: 84.7 kB / 462 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.09256, allocations: 133.8 kB / 462.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.09295, allocations: 243.8 kB / 462.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09296, allocations: 0 / 462.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009181/0.09388, allocations: 421.2 kB / 462.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.09391, allocations: 7.984 kB / 462.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.09392, allocations: 4 kB / 462.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.0945, allocations: 120.8 kB / 462.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.09495, allocations: 87.89 kB / 463 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.09795, allocations: 3.34 MB / 466.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.09819, allocations: 19.88 kB / 466.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.09822, allocations: 12 kB / 466.3 MB, free: 8.691 MB / 350.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.0001492/0.09838, allocations: 161.6 kB / 466.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.09845, allocations: 43.44 kB / 466.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.09895, allocations: 298 kB / 466.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.09896, allocations: 4 kB / 466.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.09897, allocations: 3.938 kB / 466.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.09898, allocations: 0 / 466.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/0.09998, allocations: 0.7489 MB / 467.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1, allocations: 7.922 kB / 467.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.1004, allocations: 79.91 kB / 467.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1004, allocations: 0 / 467.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1005, allocations: 12 kB / 467.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1005, allocations: 0 / 467.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1005, allocations: 0 / 467.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.1011, allocations: 499.8 kB / 468.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1013, allocations: 136.6 kB / 468.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.1013, allocations: 4 kB / 468.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.1016, allocations: 11.98 kB / 468.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.1016, allocations: 23.97 kB / 468.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1016, allocations: 4 kB / 468.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.1019, allocations: 255.2 kB / 468.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1019, allocations: 0 / 468.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.1023, allocations: 88 kB / 468.7 MB, free: 6.238 MB / 350.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 9.372e-05/0.1024, allocations: 111.2 kB / 468.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.1032, allocations: 442.8 kB / 469.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1032, allocations: 0 / 469.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.1035, allocations: 127.7 kB / 469.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.1039, allocations: 86.59 kB / 469.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1056, allocations: 1.066 MB / 470.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.106, allocations: 0.8237 MB / 471.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.1061, allocations: 42.92 kB / 471.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.1062, allocations: 27.44 kB / 471.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1062, allocations: 4 kB / 471.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of Templates: time 0.008368/0.1146, allocations: 4.527 MB / 475.9 MB, free: 14.93 MB / 366.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1)