Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 270 MB / 283.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.723e-05, allocations: 4 kB / 348.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3294, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.4728, allocations: 91.76 MB / 0.4903 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4731, allocations: 71.97 kB / 0.4903 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03864/0.5118, allocations: 9.23 MB / 0.4994 GB, free: 5.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.506e-06/0.5118, allocations: 0 / 0.4994 GB, free: 5.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.5119, allocations: 8 kB / 0.4994 GB, free: 5.477 MB / 426.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.001324/0.5132, allocations: 0.6511 MB / 0.5 GB, free: 4.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5133, allocations: 8.031 kB / 0.5 GB, free: 4.773 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.5134, allocations: 55.38 kB / 0.5001 GB, free: 4.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.514, allocations: 312.2 kB / 0.5004 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.5141, allocations: 32.95 kB / 0.5004 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.5142, allocations: 48 kB / 0.5004 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.5152, allocations: 425.1 kB / 0.5008 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5152, allocations: 0 / 0.5008 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.5153, allocations: 16 kB / 0.5009 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5153, allocations: 12 kB / 0.5009 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.5161, allocations: 277.9 kB / 0.5011 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.5198, allocations: 1.705 MB / 0.5028 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.5204, allocations: 217.1 kB / 0.503 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.5207, allocations: 121.7 kB / 0.5031 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5208, allocations: 0 / 0.5031 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.5208, allocations: 38.55 kB / 0.5032 GB, free: 1.336 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.103e-06/0.5209, allocations: 0 / 0.5032 GB, free: 1.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003078/0.5239, allocations: 1.116 MB / 0.5042 GB, free: 120 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.5241, allocations: 85.05 kB / 0.5043 GB, free: 16 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.5244, allocations: 235 kB / 0.5046 GB, free: 15.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.5245, allocations: 33.7 kB / 0.5046 GB, free: 15.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.5247, allocations: 255.4 kB / 0.5048 GB, free: 15.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.5249, allocations: 118.2 kB / 0.5049 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.5249, allocations: 12 kB / 0.505 GB, free: 15.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5251, allocations: 334.8 kB / 0.5053 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.5254, allocations: 88.88 kB / 0.5054 GB, free: 14.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.5257, allocations: 186.8 kB / 0.5055 GB, free: 14.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.5261, allocations: 123.9 kB / 0.5057 GB, free: 14.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5261, allocations: 3.953 kB / 0.5057 GB, free: 14.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009403/0.527, allocations: 372.8 kB / 0.506 GB, free: 14.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.5271, allocations: 10.81 kB / 0.506 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5271, allocations: 4 kB / 0.506 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.5273, allocations: 28.84 kB / 0.5061 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.528, allocations: 115.9 kB / 0.5062 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.5295, allocations: 1.339 MB / 0.5075 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.53, allocations: 24.05 kB / 0.5075 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.53, allocations: 12 kB / 0.5075 GB, free: 12.55 MB / 442.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.0001671/0.5302, allocations: 136.8 kB / 0.5076 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5303, allocations: 31.62 kB / 0.5077 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.5304, allocations: 37.95 kB / 0.5077 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.99e-06/0.5304, allocations: 4 kB / 0.5077 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.68e-06/0.5305, allocations: 0 / 0.5077 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-06/0.5305, allocations: 3.984 kB / 0.5077 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.532, allocations: 0.7037 MB / 0.5084 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.196e-06/0.5321, allocations: 4 kB / 0.5084 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.5327, allocations: 95.88 kB / 0.5085 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.5328, allocations: 28.91 kB / 0.5085 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.5329, allocations: 8 kB / 0.5085 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.5344, allocations: 1.332 MB / 0.5098 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.259e-06/0.5344, allocations: 3.938 kB / 0.5098 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5355, allocations: 0.587 MB / 0.5104 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.5358, allocations: 124.7 kB / 0.5105 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.5358, allocations: 8 kB / 0.5105 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.5362, allocations: 19.98 kB / 0.5106 GB, free: 9.164 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.5363, allocations: 31.92 kB / 0.5106 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5364, allocations: 12 kB / 0.5106 GB, free: 9.121 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.5367, allocations: 183.1 kB / 0.5108 GB, free: 8.941 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.5367, allocations: 0 / 0.5108 GB, free: 8.941 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006586/0.5373, allocations: 88 kB / 0.5109 GB, free: 8.855 MB / 442.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.0001973/0.5375, allocations: 117.3 kB / 0.511 GB, free: 8.734 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.5384, allocations: 353.5 kB / 0.5113 GB, free: 8.379 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.316e-06/0.5384, allocations: 0 / 0.5113 GB, free: 8.379 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.5389, allocations: 229.5 kB / 0.5115 GB, free: 8.145 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.5394, allocations: 33.8 kB / 0.5116 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.5411, allocations: 0.6568 MB / 0.5122 GB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.5418, allocations: 0.8268 MB / 0.513 GB, free: 6.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.5421, allocations: 42.89 kB / 0.513 GB, free: 6.527 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.5422, allocations: 23.44 kB / 0.5131 GB, free: 6.504 MB / 442.7 MB Notification: Performance of SimCode: time 2.125e-06/0.5422, allocations: 4 kB / 0.5131 GB, free: 6.5 MB / 442.7 MB Notification: Performance of Templates: time 0.01149/0.5537, allocations: 2.831 MB / 0.5158 GB, free: 3.691 MB / 442.7 MB