Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.446e-05, allocations: 4 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.5134, allocations: 81.19 MB / 423.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5137, allocations: 90.3 kB / 423.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03777/0.5514, allocations: 11.36 MB / 435.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.937e-06/0.5515, allocations: 0 / 435.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.5515, allocations: 4 kB / 435.2 MB, free: 3.711 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001555/0.5531, allocations: 0.6019 MB / 435.8 MB, free: 3.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5531, allocations: 12.03 kB / 435.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.554, allocations: 106.9 kB / 435.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.5545, allocations: 263.5 kB / 436.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.5545, allocations: 23.22 kB / 436.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.5546, allocations: 30.56 kB / 436.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.5553, allocations: 322.8 kB / 436.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5553, allocations: 3.906 kB / 436.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.5554, allocations: 15.5 kB / 436.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5554, allocations: 11.95 kB / 436.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.5559, allocations: 228.2 kB / 436.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.5585, allocations: 1.451 MB / 438.3 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.5593, allocations: 0.6929 MB / 438.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.5596, allocations: 100 kB / 439 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.5597, allocations: 85.09 kB / 439.1 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5597, allocations: 37.81 kB / 439.2 MB, free: 60 kB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.759e-06/0.5598, allocations: 0 / 439.2 MB, free: 60 kB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007136/0.5605, allocations: 250.3 kB / 439.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5605, allocations: 59.41 kB / 439.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.5608, allocations: 155.8 kB / 439.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.5608, allocations: 37.02 kB / 439.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.561, allocations: 170.4 kB / 439.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.608e-05/0.5611, allocations: 85.33 kB / 439.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.5611, allocations: 7.562 kB / 439.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5613, allocations: 322.3 kB / 440.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.5614, allocations: 64.38 kB / 440.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.5616, allocations: 116.9 kB / 440.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.5619, allocations: 95.72 kB / 440.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-06/0.5619, allocations: 0 / 440.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000744/0.5626, allocations: 305.1 kB / 440.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5627, allocations: 8 kB / 440.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.691e-06/0.5627, allocations: 3.984 kB / 440.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.5631, allocations: 82.81 kB / 440.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.5633, allocations: 39.92 kB / 440.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.5658, allocations: 1.814 MB / 442.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.566, allocations: 27 kB / 442.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.566, allocations: 19.39 kB / 442.8 MB, free: 12.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.5662, allocations: 116.5 kB / 442.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.5662, allocations: 16.09 kB / 442.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.567, allocations: 290.6 kB / 443.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.567, allocations: 4 kB / 443.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-06/0.567, allocations: 3.938 kB / 443.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.567, allocations: 3.984 kB / 443.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.5683, allocations: 0.6867 MB / 443.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5684, allocations: 7.984 kB / 443.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5685, allocations: 20 kB / 443.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.5689, allocations: 80.73 kB / 444 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5689, allocations: 6.922 kB / 444 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.5713, allocations: 1.818 MB / 445.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.002e-06/0.5714, allocations: 4 kB / 445.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.5722, allocations: 439.9 kB / 446.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5724, allocations: 113.7 kB / 446.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.5724, allocations: 7.141 kB / 446.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.5726, allocations: 7.812 kB / 446.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5727, allocations: 14.8 kB / 446.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.5727, allocations: 11.98 kB / 446.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.5728, allocations: 128 kB / 446.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5728, allocations: 0 / 446.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006232/0.5735, allocations: 102.6 kB / 446.6 MB, free: 9.309 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002432/0.5737, allocations: 131.4 kB / 446.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007049/0.5745, allocations: 320.8 kB / 447.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.148e-06/0.5745, allocations: 4.062 kB / 447.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.5749, allocations: 242.3 kB / 447.3 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.5752, allocations: 14.75 kB / 447.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5763, allocations: 412.1 kB / 447.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.5768, allocations: 0.7596 MB / 448.5 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.5769, allocations: 26.06 kB / 448.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.577, allocations: 15.44 kB / 448.5 MB, free: 7.508 MB / 362.7 MB Notification: Performance of SimCode: time 1.814e-06/0.577, allocations: 0 / 448.5 MB, free: 7.508 MB / 362.7 MB Notification: Performance of Templates: time 0.008782/0.5858, allocations: 2.536 MB / 451.1 MB, free: 4.984 MB / 362.7 MB