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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.572e-05, allocations: 0 / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09147, allocations: 47.58 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5243, allocations: 79.78 MB / 396.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5246, allocations: 80.2 kB / 396.8 MB, free: 8.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03788/0.5625, allocations: 11.16 MB / 408 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.858e-06/0.5625, allocations: 0 / 408 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.5626, allocations: 8 kB / 408 MB, free: 15.2 MB / 330.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.001559/0.5641, allocations: 0.5956 MB / 408.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5642, allocations: 8.031 kB / 408.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.5651, allocations: 101.1 kB / 408.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.5656, allocations: 263 kB / 408.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.5656, allocations: 22.72 kB / 409 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.5657, allocations: 35.89 kB / 409 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.5664, allocations: 319.5 kB / 409.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.5664, allocations: 3.906 kB / 409.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.5665, allocations: 13.12 kB / 409.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.5665, allocations: 11.98 kB / 409.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.5671, allocations: 223.2 kB / 409.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.5696, allocations: 1.46 MB / 411 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.5705, allocations: 0.6893 MB / 411.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.5707, allocations: 96.67 kB / 411.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.5708, allocations: 89.09 kB / 411.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5709, allocations: 38 kB / 411.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.931e-06/0.5709, allocations: 0 / 411.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007061/0.5716, allocations: 249.2 kB / 412.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5717, allocations: 55.41 kB / 412.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.5719, allocations: 158.5 kB / 412.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.572, allocations: 29.27 kB / 412.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.5721, allocations: 189.5 kB / 412.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.254e-05/0.5722, allocations: 73.23 kB / 412.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5722, allocations: 11.06 kB / 412.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5724, allocations: 329.2 kB / 413 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.5726, allocations: 62.12 kB / 413 MB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.5728, allocations: 123.6 kB / 413.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.573, allocations: 78.64 kB / 413.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.573, allocations: 0 / 413.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00074/0.5738, allocations: 312.1 kB / 413.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5738, allocations: 4 kB / 413.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.618e-06/0.5738, allocations: 4 kB / 413.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.5742, allocations: 81.62 kB / 413.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5745, allocations: 39.92 kB / 413.7 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.577, allocations: 1.831 MB / 415.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.5772, allocations: 23.56 kB / 415.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.5772, allocations: 8 kB / 415.5 MB, free: 8.262 MB / 330.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.0001228/0.5774, allocations: 124.6 kB / 415.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.5774, allocations: 15.81 kB / 415.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.5782, allocations: 280.8 kB / 415.9 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-06/0.5782, allocations: 4 kB / 416 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5782, allocations: 7.953 kB / 416 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-06/0.5782, allocations: 0 / 416 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.5795, allocations: 0.6773 MB / 416.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.872e-06/0.5796, allocations: 4 kB / 416.6 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.5797, allocations: 35.88 kB / 416.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003175/0.5801, allocations: 65.94 kB / 416.7 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.5801, allocations: 11.06 kB / 416.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.5826, allocations: 1.826 MB / 418.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.582e-06/0.5826, allocations: 4.062 kB / 418.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.5835, allocations: 434.1 kB / 419 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.5836, allocations: 111.1 kB / 419.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.5837, allocations: 7.375 kB / 419.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.5838, allocations: 3.438 kB / 419.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.5839, allocations: 27.47 kB / 419.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.5839, allocations: 4 kB / 419.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.5841, allocations: 128.2 kB / 419.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5841, allocations: 0 / 419.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006693/0.5848, allocations: 106 kB / 419.4 MB, free: 4.801 MB / 330.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.0002739/0.5851, allocations: 142 kB / 419.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.5858, allocations: 322.9 kB / 419.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.418e-06/0.5858, allocations: 0 / 419.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.5863, allocations: 236 kB / 420.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.5866, allocations: 15.33 kB / 420.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.5876, allocations: 404.4 kB / 420.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.5881, allocations: 0.7633 MB / 421.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.5883, allocations: 22.02 kB / 421.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.5883, allocations: 15.44 kB / 421.3 MB, free: 3 MB / 330.7 MB Notification: Performance of SimCode: time 3.708e-06/0.5884, allocations: 0 / 421.3 MB, free: 3 MB / 330.7 MB Notification: Performance of Templates: time 0.008843/0.5972, allocations: 2.465 MB / 423.7 MB, free: 0.543 MB / 330.7 MB