Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.455e-05, allocations: 0 / 303.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2743, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.4308, allocations: 84.02 MB / 442.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.4312, allocations: 59.98 kB / 442.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0415/0.4727, allocations: 8.836 MB / 451 MB, free: 1.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4728, allocations: 0 / 451 MB, free: 1.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.4728, allocations: 8 kB / 451 MB, free: 1.859 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.001298/0.4741, allocations: 0.6553 MB / 451.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4742, allocations: 12.03 kB / 451.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.4743, allocations: 47.44 kB / 451.7 MB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.4749, allocations: 308.5 kB / 452 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.4749, allocations: 19.98 kB / 452 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.475, allocations: 24 kB / 452 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007035/0.4757, allocations: 254.6 kB / 452.3 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.4766, allocations: 368.5 kB / 452.6 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.4766, allocations: 11.88 kB / 452.6 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.4767, allocations: 0 / 452.6 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.4767, allocations: 12 kB / 452.6 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.4801, allocations: 1.614 MB / 454.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.4806, allocations: 201.1 kB / 454.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.4809, allocations: 113.7 kB / 454.6 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.481, allocations: 8 kB / 454.6 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.481, allocations: 38.5 kB / 454.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.561e-06/0.4811, allocations: 0 / 454.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002673/0.4837, allocations: 1.017 MB / 455.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4838, allocations: 81.11 kB / 455.7 MB, free: 12.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.4842, allocations: 222 kB / 455.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4842, allocations: 25.7 kB / 456 MB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.4845, allocations: 318.1 kB / 456.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4846, allocations: 114.3 kB / 456.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.4846, allocations: 3.938 kB / 456.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4848, allocations: 330.8 kB / 456.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.485, allocations: 76.88 kB / 456.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.4854, allocations: 182.8 kB / 457 MB, free: 11.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.4857, allocations: 102.4 kB / 457.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.83e-06/0.4857, allocations: 0 / 457.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008279/0.4865, allocations: 333.6 kB / 457.4 MB, free: 11.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4866, allocations: 8 kB / 457.4 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4866, allocations: 4 kB / 457.4 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.4868, allocations: 28.84 kB / 457.4 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.4874, allocations: 123.8 kB / 457.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4889, allocations: 1.295 MB / 458.8 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.4892, allocations: 11.94 kB / 458.9 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.4893, allocations: 20.06 kB / 458.9 MB, free: 9.398 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001513/0.4895, allocations: 112.9 kB / 459 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4896, allocations: 23.72 kB / 459 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.448e-05/0.4897, allocations: 33.97 kB / 459 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.382e-06/0.4897, allocations: 4 kB / 459 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.432e-06/0.4897, allocations: 3.984 kB / 459 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4897, allocations: 4.094 kB / 459 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.4911, allocations: 0.6261 MB / 459.7 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.192e-06/0.4911, allocations: 3.984 kB / 459.7 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/0.4918, allocations: 99.83 kB / 459.8 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.4919, allocations: 28.91 kB / 459.8 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.492, allocations: 4 kB / 459.8 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.4933, allocations: 1.264 MB / 461.1 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.014e-06/0.4933, allocations: 0 / 461.1 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/0.4943, allocations: 0.5644 MB / 461.6 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.4945, allocations: 116.8 kB / 461.8 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.4946, allocations: 4 kB / 461.8 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.495, allocations: 15.98 kB / 461.8 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.4951, allocations: 31.86 kB / 461.8 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.4951, allocations: 16 kB / 461.8 MB, free: 6.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.4953, allocations: 166 kB / 462 MB, free: 6.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.4954, allocations: 3.938 kB / 462 MB, free: 6.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006596/0.496, allocations: 76 kB / 462.1 MB, free: 5.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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.0001683/0.4962, allocations: 103.2 kB / 462.2 MB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.497, allocations: 342.3 kB / 462.5 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.497, allocations: 0 / 462.5 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.4974, allocations: 224.3 kB / 462.7 MB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4979, allocations: 24.55 kB / 462.7 MB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.4995, allocations: 0.6836 MB / 463.4 MB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.5001, allocations: 0.8191 MB / 464.2 MB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.5003, allocations: 31.44 kB / 464.3 MB, free: 3.664 MB / 394.7 MB Notification: Performance of SimCode: time 1.852e-06/0.5003, allocations: 3.938 kB / 464.3 MB, free: 3.66 MB / 394.7 MB Notification: Performance of Templates: time 0.248/0.7483, allocations: 5.582 MB / 469.9 MB, free: 97.86 MB / 394.7 MB