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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.598e-05, allocations: 0 / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.08988, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4724, allocations: 83.28 MB / 426.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004444/0.4729, allocations: 85.2 kB / 426.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09627/0.5692, allocations: 26.2 MB / 452.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5693, allocations: 0 / 452.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.5693, allocations: 16 kB / 452.7 MB, free: 4.941 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.003674/0.573, allocations: 1.095 MB / 453.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5731, allocations: 8.031 kB / 453.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.5753, allocations: 254.8 kB / 454 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.5757, allocations: 254 kB / 454.3 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.5758, allocations: 77.98 kB / 454.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.576, allocations: 99.91 kB / 454.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.5782, allocations: 0.8955 MB / 455.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.5783, allocations: 12 kB / 455.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5784, allocations: 39.95 kB / 455.4 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.5784, allocations: 24 kB / 455.4 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.5804, allocations: 0.742 MB / 456.2 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/0.5877, allocations: 3.4 MB / 459.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.5905, allocations: 1.391 MB / 460.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.5914, allocations: 369.3 kB / 461.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.5915, allocations: 105.9 kB / 461.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5916, allocations: 47.34 kB / 461.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.185e-06/0.5916, allocations: 0 / 461.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001836/0.5934, allocations: 0.6708 MB / 462.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.5935, allocations: 89.92 kB / 462.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.5941, allocations: 322.8 kB / 462.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.5942, allocations: 41.7 kB / 462.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.5945, allocations: 382.8 kB / 462.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.5948, allocations: 295.5 kB / 463.2 MB, free: 9.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.5949, allocations: 20 kB / 463.3 MB, free: 9.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.5951, allocations: 366.7 kB / 463.6 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.5958, allocations: 254.6 kB / 463.9 MB, free: 9.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/0.5967, allocations: 457 kB / 464.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.5976, allocations: 332.8 kB / 464.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-06/0.5976, allocations: 4 kB / 464.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002315/0.5999, allocations: 0.9295 MB / 465.6 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5999, allocations: 8.562 kB / 465.6 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6, allocations: 4 kB / 465.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.6005, allocations: 127.3 kB / 465.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6015, allocations: 207.7 kB / 465.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.6073, allocations: 5.544 MB / 471.5 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/0.6081, allocations: 110.9 kB / 471.6 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6082, allocations: 39.98 kB / 471.6 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.0002375/0.6085, allocations: 160.7 kB / 471.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6087, allocations: 51.34 kB / 471.8 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.6108, allocations: 0.8274 MB / 472.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6108, allocations: 12 kB / 472.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.6108, allocations: 0 / 472.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6109, allocations: 3.984 kB / 472.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/0.6165, allocations: 2.715 MB / 475.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.6165, allocations: 4 kB / 475.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.6172, allocations: 139.8 kB / 475.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/0.6177, allocations: 119.9 kB / 475.6 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.6178, allocations: 28 kB / 475.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005334/0.6231, allocations: 5.307 MB / 481 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/0.6232, allocations: 11.94 kB / 481 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.6263, allocations: 1.738 MB / 482.7 MB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.6265, allocations: 156.2 kB / 482.9 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6267, allocations: 27.98 kB / 482.9 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.6272, allocations: 24 kB / 482.9 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.6274, allocations: 88.23 kB / 483 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.6275, allocations: 32 kB / 483 MB, free: 4.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004624/0.628, allocations: 270.2 kB / 483.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.628, allocations: 3.938 kB / 483.3 MB, free: 3.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001321/0.6293, allocations: 271.3 kB / 483.6 MB, free: 3.691 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.0003698/0.6297, allocations: 183 kB / 483.7 MB, free: 3.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.6319, allocations: 1.085 MB / 484.8 MB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.72e-06/0.6319, allocations: 0 / 484.8 MB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6331, allocations: 0.7457 MB / 485.6 MB, free: 1.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.6338, allocations: 61.31 kB / 485.6 MB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.6367, allocations: 1.154 MB / 486.8 MB, free: 264 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.6375, allocations: 0.9358 MB / 487.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007739/0.6383, allocations: 113.2 kB / 487.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.6386, allocations: 59.42 kB / 487.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.481e-06/0.6386, allocations: 0 / 487.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of Templates: time 0.0205/0.6591, allocations: 7.095 MB / 495 MB, free: 8.039 MB / 410.7 MB