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.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.509e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3614, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.5518, allocations: 89.51 MB / 471.7 MB, free: 3.008 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5521, allocations: 63.97 kB / 471.8 MB, free: 2.945 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03676/0.5888, allocations: 8.862 MB / 480.6 MB, free: 10.05 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5889, allocations: 0 / 480.6 MB, free: 10.05 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.5889, allocations: 8 kB / 480.6 MB, free: 10.05 MB / 410.8 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.001306/0.5903, allocations: 0.6577 MB / 481.3 MB, free: 9.348 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5903, allocations: 12.03 kB / 481.3 MB, free: 9.336 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.5905, allocations: 51.39 kB / 481.4 MB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.591, allocations: 312.1 kB / 481.7 MB, free: 8.938 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.5911, allocations: 37 kB / 481.7 MB, free: 8.902 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/0.5912, allocations: 44 kB / 481.7 MB, free: 8.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.5922, allocations: 429 kB / 482.2 MB, free: 8.414 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.5923, allocations: 4 kB / 482.2 MB, free: 8.41 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.5923, allocations: 20 kB / 482.2 MB, free: 8.391 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.5924, allocations: 12 kB / 482.2 MB, free: 8.379 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.5931, allocations: 270 kB / 482.5 MB, free: 8.117 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.5967, allocations: 1.713 MB / 484.2 MB, free: 6.289 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/0.5973, allocations: 209.1 kB / 484.4 MB, free: 6.066 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.5977, allocations: 118 kB / 484.5 MB, free: 5.945 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.5977, allocations: 15.98 kB / 484.5 MB, free: 5.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.5978, allocations: 38.5 kB / 484.6 MB, free: 5.883 MB / 410.8 MB Notification: Performance of pre-optimization done (n=26): time 3.93e-06/0.5978, allocations: 0 / 484.6 MB, free: 5.883 MB / 410.8 MB Notification: Performance of matching and sorting (n=34): time 0.003061/0.6009, allocations: 1.109 MB / 485.7 MB, free: 4.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.601, allocations: 85.11 kB / 485.7 MB, free: 4.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.6013, allocations: 222.9 kB / 486 MB, free: 4.348 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.6014, allocations: 37.7 kB / 486 MB, free: 4.305 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.6016, allocations: 251.4 kB / 486.2 MB, free: 4.055 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6018, allocations: 126.2 kB / 486.4 MB, free: 3.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.6018, allocations: 8 kB / 486.4 MB, free: 3.922 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.602, allocations: 346.8 kB / 486.7 MB, free: 3.574 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.6023, allocations: 88.88 kB / 486.8 MB, free: 3.484 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.6026, allocations: 182.8 kB / 487 MB, free: 3.262 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.6029, allocations: 112.9 kB / 487.1 MB, free: 3.152 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-06/0.6029, allocations: 0 / 487.1 MB, free: 3.152 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009377/0.6039, allocations: 379.5 kB / 487.5 MB, free: 2.777 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6039, allocations: 4 kB / 487.5 MB, free: 2.773 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.604, allocations: 4 kB / 487.5 MB, free: 2.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.6041, allocations: 29.19 kB / 487.5 MB, free: 2.738 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.6048, allocations: 127.8 kB / 487.6 MB, free: 2.613 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.6063, allocations: 1.347 MB / 489 MB, free: 1.129 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.6068, allocations: 12 kB / 489 MB, free: 1.117 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.6068, allocations: 20 kB / 489 MB, free: 1.098 MB / 410.8 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.0001616/0.607, allocations: 127 kB / 489.1 MB, free: 0.9688 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.6071, allocations: 31.62 kB / 489.2 MB, free: 0.9375 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.6073, allocations: 38.03 kB / 489.2 MB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.235e-06/0.6073, allocations: 4 kB / 489.2 MB, free: 0.8984 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6073, allocations: 7.984 kB / 489.2 MB, free: 0.8906 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.6073, allocations: 7.953 kB / 489.2 MB, free: 0.8828 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.6088, allocations: 0.7037 MB / 489.9 MB, free: 116 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.797e-06/0.6089, allocations: 8.016 kB / 489.9 MB, free: 108 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.6095, allocations: 91.94 kB / 490 MB, free: 16 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.6097, allocations: 28.78 kB / 490 MB, free: 15.98 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.6097, allocations: 8 kB / 490 MB, free: 15.98 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.6111, allocations: 1.324 MB / 491.4 MB, free: 14.51 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.057e-06/0.6112, allocations: 0 / 491.4 MB, free: 14.51 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.6123, allocations: 0.5918 MB / 492 MB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.6125, allocations: 124.7 kB / 492.1 MB, free: 13.73 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.6126, allocations: 7.953 kB / 492.1 MB, free: 13.73 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.613, allocations: 27.98 kB / 492.1 MB, free: 13.7 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.6131, allocations: 19.97 kB / 492.1 MB, free: 13.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.6131, allocations: 12 kB / 492.2 MB, free: 13.67 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000262/0.6134, allocations: 183.1 kB / 492.3 MB, free: 13.49 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.04e-06/0.6134, allocations: 0 / 492.3 MB, free: 13.49 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006586/0.6141, allocations: 95.98 kB / 492.4 MB, free: 13.39 MB / 426.8 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.0001831/0.6143, allocations: 111.2 kB / 492.5 MB, free: 13.28 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.6151, allocations: 345.6 kB / 492.9 MB, free: 12.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.55e-06/0.6151, allocations: 0 / 492.9 MB, free: 12.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.6155, allocations: 233.5 kB / 493.1 MB, free: 12.69 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.616, allocations: 43.64 kB / 493.1 MB, free: 12.65 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.6177, allocations: 0.6635 MB / 493.8 MB, free: 11.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.6183, allocations: 0.8269 MB / 494.6 MB, free: 11.11 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.6186, allocations: 34.95 kB / 494.7 MB, free: 11.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.6187, allocations: 31.44 kB / 494.7 MB, free: 11.04 MB / 426.8 MB Notification: Performance of SimCode: time 1.621e-06/0.6187, allocations: 0 / 494.7 MB, free: 11.04 MB / 426.8 MB Notification: Performance of Templates: time 0.00975/0.6285, allocations: 2.758 MB / 497.5 MB, free: 8.301 MB / 426.8 MB