Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.013e-05, allocations: 6.797 kB / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08886, allocations: 50.4 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4481, allocations: 83.28 MB / 425.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4483, allocations: 87.14 kB / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08764/0.536, allocations: 26.2 MB / 452.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.051e-06/0.536, allocations: 0 / 452.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.622e-05/0.5361, allocations: 12 kB / 452.1 MB, free: 4.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003791/0.5399, allocations: 1.091 MB / 453.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.54, allocations: 12.03 kB / 453.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.5423, allocations: 254.7 kB / 453.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.5427, allocations: 250 kB / 453.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.5428, allocations: 74 kB / 453.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.543, allocations: 99.91 kB / 453.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.5452, allocations: 0.9033 MB / 454.8 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.5452, allocations: 0 / 454.8 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.5454, allocations: 43.95 kB / 454.9 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.5454, allocations: 24 kB / 454.9 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.5474, allocations: 0.7421 MB / 455.6 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007272/0.5547, allocations: 3.404 MB / 459 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.5575, allocations: 1.394 MB / 460.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/0.5584, allocations: 369.4 kB / 460.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.5586, allocations: 97.88 kB / 460.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.5586, allocations: 43.28 kB / 460.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.735e-06/0.5586, allocations: 3.938 kB / 460.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.00182/0.5605, allocations: 0.6786 MB / 461.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.5605, allocations: 89.89 kB / 461.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.5611, allocations: 322.8 kB / 462 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.5612, allocations: 41.7 kB / 462 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.5615, allocations: 382.8 kB / 462.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.5619, allocations: 303.6 kB / 462.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.5619, allocations: 20 kB / 462.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.5622, allocations: 362.7 kB / 463.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.5628, allocations: 254.7 kB / 463.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.5637, allocations: 461 kB / 463.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.5645, allocations: 328.8 kB / 464.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.5645, allocations: 0 / 464.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002301/0.5669, allocations: 0.93 MB / 465 MB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5669, allocations: 8.062 kB / 465.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5669, allocations: 8 kB / 465.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.5675, allocations: 123.4 kB / 465.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5685, allocations: 207.7 kB / 465.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.5745, allocations: 5.544 MB / 470.9 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/0.5753, allocations: 106.8 kB / 471 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.5754, allocations: 40 kB / 471.1 MB, free: 0.8516 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.5757, allocations: 156.7 kB / 471.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5759, allocations: 55.34 kB / 471.3 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.578, allocations: 0.8275 MB / 472.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.578, allocations: 8 kB / 472.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.499e-06/0.578, allocations: 4 kB / 472.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5781, allocations: 3.984 kB / 472.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.5836, allocations: 2.719 MB / 474.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.5837, allocations: 8 kB / 474.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/0.5844, allocations: 147.8 kB / 475 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.5849, allocations: 112.1 kB / 475.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.585, allocations: 24 kB / 475.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.5902, allocations: 5.303 MB / 480.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.5902, allocations: 11.94 kB / 480.4 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.5932, allocations: 1.746 MB / 482.2 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.5934, allocations: 156.2 kB / 482.3 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5936, allocations: 24 kB / 482.4 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.5941, allocations: 32.06 kB / 482.4 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5943, allocations: 84.17 kB / 482.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.5944, allocations: 32 kB / 482.5 MB, free: 4.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004488/0.5949, allocations: 266.2 kB / 482.8 MB, free: 3.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.438e-06/0.5949, allocations: 0 / 482.8 MB, free: 3.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001323/0.5962, allocations: 279.2 kB / 483 MB, free: 3.684 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003746/0.5966, allocations: 179.5 kB / 483.2 MB, free: 3.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.5988, allocations: 1.089 MB / 484.3 MB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.399e-06/0.5988, allocations: 5.438 kB / 484.3 MB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.6001, allocations: 0.7403 MB / 485 MB, free: 1.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.6007, allocations: 57.33 kB / 485.1 MB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.6046, allocations: 1.165 MB / 486.3 MB, free: 252 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.6059, allocations: 0.9319 MB / 487.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001515/0.6075, allocations: 117.2 kB / 487.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.6079, allocations: 51.42 kB / 487.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.926e-06/0.6079, allocations: 0 / 487.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of Templates: time 0.024/0.6319, allocations: 7.092 MB / 494.5 MB, free: 8.043 MB / 410.7 MB