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.248/2.248, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.025e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 54.86 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4608, allocations: 84.68 MB / 444.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4611, allocations: 63.97 kB / 444.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03682/0.4979, allocations: 8.875 MB / 453.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.356e-06/0.4979, allocations: 0 / 453.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.498, allocations: 8 kB / 453.4 MB, free: 3.371 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.001316/0.4993, allocations: 0.6589 MB / 454 MB, free: 2.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4994, allocations: 12.03 kB / 454.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4995, allocations: 47.44 kB / 454.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.5001, allocations: 308.2 kB / 454.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.5002, allocations: 37 kB / 454.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.5003, allocations: 44 kB / 454.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.5013, allocations: 429.1 kB / 454.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5013, allocations: 3.938 kB / 454.9 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.5014, allocations: 23.95 kB / 454.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.5014, allocations: 15.98 kB / 454.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.5022, allocations: 273.9 kB / 455.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.5057, allocations: 1.71 MB / 456.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.5063, allocations: 205.1 kB / 457.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.5066, allocations: 130.7 kB / 457.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.5067, allocations: 4 kB / 457.3 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.5067, allocations: 34.52 kB / 457.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.532e-06/0.5067, allocations: 0 / 457.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002956/0.5097, allocations: 1.117 MB / 458.4 MB, free: 14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.5098, allocations: 85.06 kB / 458.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.5102, allocations: 222.9 kB / 458.7 MB, free: 13.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.5102, allocations: 37.7 kB / 458.7 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.5105, allocations: 313.9 kB / 459 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.5106, allocations: 118.3 kB / 459.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.5106, allocations: 11.94 kB / 459.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5108, allocations: 327.8 kB / 459.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.5111, allocations: 88.88 kB / 459.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.5114, allocations: 182.8 kB / 459.8 MB, free: 12.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.5118, allocations: 121.4 kB / 459.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.417e-06/0.5118, allocations: 4 kB / 459.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008652/0.5126, allocations: 352.1 kB / 460.2 MB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5127, allocations: 8 kB / 460.2 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.5127, allocations: 12.28 kB / 460.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.5129, allocations: 32.8 kB / 460.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.5136, allocations: 119.9 kB / 460.4 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.5151, allocations: 1.34 MB / 461.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.5154, allocations: 19.98 kB / 461.8 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.5155, allocations: 16 kB / 461.8 MB, free: 10.4 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.0001524/0.5156, allocations: 132.9 kB / 461.9 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5158, allocations: 27.62 kB / 461.9 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.5159, allocations: 41.91 kB / 462 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.855e-06/0.5159, allocations: 7.938 kB / 462 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5159, allocations: 4 kB / 462 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-06/0.5159, allocations: 2.344 kB / 462 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.5174, allocations: 0.7085 MB / 462.7 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.885e-06/0.5175, allocations: 0 / 462.7 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.5181, allocations: 99.81 kB / 462.8 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/0.5182, allocations: 24.84 kB / 462.8 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5183, allocations: 11.98 kB / 462.8 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.5196, allocations: 1.312 MB / 464.1 MB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-06/0.5197, allocations: 3.938 kB / 464.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5207, allocations: 0.598 MB / 464.7 MB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.5209, allocations: 116.8 kB / 464.9 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.521, allocations: 12 kB / 464.9 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.5214, allocations: 27.98 kB / 464.9 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.5215, allocations: 23.89 kB / 464.9 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.5215, allocations: 12 kB / 464.9 MB, free: 6.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.5218, allocations: 183.1 kB / 465.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.5218, allocations: 0 / 465.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006538/0.5225, allocations: 96 kB / 465.2 MB, free: 6.703 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.0001706/0.5227, allocations: 103.2 kB / 465.3 MB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007937/0.5235, allocations: 350.9 kB / 465.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.718e-06/0.5235, allocations: 0 / 465.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.5239, allocations: 230.5 kB / 465.9 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.5244, allocations: 38.47 kB / 465.9 MB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.526, allocations: 0.6876 MB / 466.6 MB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.5266, allocations: 0.823 MB / 467.4 MB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.5268, allocations: 31.42 kB / 467.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of SimCode: time 2.057e-06/0.5268, allocations: 0 / 467.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of Templates: time 0.01027/0.5371, allocations: 5.687 MB / 473.1 MB, free: 14.68 MB / 410.7 MB