Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01468/0.01468, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.391/2.391, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002029/0.002029, allocations: 120.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3358/0.3358, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005192, allocations: 9.781 kB / 406.3 MB, free: 51.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1138, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.595, allocations: 84.78 MB / 0.5331 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5954, allocations: 65.38 kB / 0.5332 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03931/0.6347, allocations: 8.918 MB / 0.5419 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6347, allocations: 0 / 0.5419 GB, free: 25.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.6348, allocations: 9.625 kB / 0.5419 GB, free: 25.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001725/0.6365, allocations: 0.689 MB / 0.5426 GB, free: 25.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6366, allocations: 9.281 kB / 0.5426 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.6367, allocations: 93.16 kB / 0.5427 GB, free: 25.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.6369, allocations: 52.94 kB / 0.5427 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.6374, allocations: 303.3 kB / 0.543 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.6375, allocations: 34.62 kB / 0.543 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6376, allocations: 44.47 kB / 0.5431 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6389, allocations: 464 kB / 0.5435 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.639, allocations: 1 kB / 0.5435 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.639, allocations: 24.38 kB / 0.5435 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.6391, allocations: 11.59 kB / 0.5436 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.6403, allocations: 334.8 kB / 0.5439 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.6445, allocations: 1.714 MB / 0.5456 GB, free: 24.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/0.6454, allocations: 246.9 kB / 0.5458 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.6455, allocations: 3.5 kB / 0.5458 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6455, allocations: 42.05 kB / 0.5458 GB, free: 24.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/0.6456, allocations: 0 / 0.5458 GB, free: 24.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.004598/0.6502, allocations: 1.236 MB / 0.547 GB, free: 23.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.6502, allocations: 81.05 kB / 0.5471 GB, free: 23.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.6507, allocations: 234 kB / 0.5473 GB, free: 23.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.6507, allocations: 31.17 kB / 0.5474 GB, free: 23.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.6509, allocations: 256.6 kB / 0.5476 GB, free: 22.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.651, allocations: 112.4 kB / 0.5477 GB, free: 22.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.6511, allocations: 9.188 kB / 0.5477 GB, free: 22.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.6512, allocations: 346.9 kB / 0.5481 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.6517, allocations: 107.4 kB / 0.5482 GB, free: 22.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.6523, allocations: 206.7 kB / 0.5484 GB, free: 22.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.6529, allocations: 133.2 kB / 0.5485 GB, free: 22.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6529, allocations: 1.125 kB / 0.5485 GB, free: 22.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00146/0.6544, allocations: 417.5 kB / 0.5489 GB, free: 22.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.6544, allocations: 6.938 kB / 0.5489 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6545, allocations: 10.33 kB / 0.5489 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.6547, allocations: 37.48 kB / 0.5489 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.6556, allocations: 119.3 kB / 0.5491 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.6569, allocations: 1.327 MB / 0.5503 GB, free: 21.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.6574, allocations: 21.02 kB / 0.5504 GB, free: 21.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.6575, allocations: 16.09 kB / 0.5504 GB, free: 21.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.6578, allocations: 164.2 kB / 0.5505 GB, free: 20.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.6579, allocations: 34.44 kB / 0.5506 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.658, allocations: 41.47 kB / 0.5506 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6581, allocations: 3.5 kB / 0.5506 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.6581, allocations: 1 kB / 0.5506 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.6581, allocations: 2.891 kB / 0.5506 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.6588, allocations: 418.1 kB / 0.551 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6589, allocations: 5.531 kB / 0.551 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.6597, allocations: 88.73 kB / 0.5511 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.6598, allocations: 27.81 kB / 0.5511 GB, free: 20.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.6599, allocations: 6.156 kB / 0.5511 GB, free: 20.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.6609, allocations: 1.327 MB / 0.5524 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6609, allocations: 13.5 kB / 0.5524 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.6626, allocations: 0.6118 MB / 0.553 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.6629, allocations: 123.4 kB / 0.5532 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.6629, allocations: 10.91 kB / 0.5532 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.6634, allocations: 18.72 kB / 0.5532 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/0.6635, allocations: 32.02 kB / 0.5532 GB, free: 19.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.6635, allocations: 9.875 kB / 0.5532 GB, free: 19.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.6638, allocations: 181.4 kB / 0.5534 GB, free: 19 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6638, allocations: 0 / 0.5534 GB, free: 19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007723/0.6646, allocations: 95.52 kB / 0.5535 GB, free: 19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002497/0.6671, allocations: 1.215 MB / 0.5547 GB, free: 34.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.6685, allocations: 415 kB / 0.5551 GB, free: 34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.6685, allocations: 1.5 kB / 0.5551 GB, free: 34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.6692, allocations: 251.3 kB / 0.5553 GB, free: 33.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.6697, allocations: 36.89 kB / 0.5554 GB, free: 33.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.6759, allocations: 4.017 MB / 0.5593 GB, free: 31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.6764, allocations: 0.8278 MB / 0.5601 GB, free: 30.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.6768, allocations: 36.91 kB / 0.5601 GB, free: 30.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.677, allocations: 141 kB / 0.5603 GB, free: 30.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.677, allocations: 3.938 kB / 0.5603 GB, free: 30.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.7116, allocations: 5.746 MB / 0.5659 GB, free: 29.71 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005785/0.7123, allocations: 197.2 kB / 0.5661 GB, free: 29.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.431, allocations: 0 / 0.5661 GB, free: 29.47 MB / 394.7 MB