Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.305e-05, allocations: 0 / 348.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 61.87 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5086, allocations: 92.99 MB / 0.4915 GB, free: 13.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5089, allocations: 83.95 kB / 0.4915 GB, free: 13.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09309/0.602, allocations: 27.1 MB / 0.518 GB, free: 2.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.918e-06/0.6021, allocations: 0 / 0.518 GB, free: 2.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.6021, allocations: 16 kB / 0.518 GB, free: 2.043 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003389/0.6055, allocations: 1.045 MB / 0.5191 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6056, allocations: 8.031 kB / 0.5191 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.6076, allocations: 230.7 kB / 0.5193 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.608, allocations: 254.5 kB / 0.5195 GB, free: 432 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.6082, allocations: 78 kB / 0.5196 GB, free: 356 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.6084, allocations: 99.98 kB / 0.5197 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3017/0.9101, allocations: 0.8762 MB / 0.5205 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/0.9102, allocations: 5.875 kB / 0.5206 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.9103, allocations: 42 kB / 0.5206 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.9104, allocations: 24.12 kB / 0.5206 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.9123, allocations: 0.675 MB / 0.5213 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006199/0.9185, allocations: 3.954 MB / 0.5251 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.9207, allocations: 3.35 MB / 0.5284 GB, free: 91.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.9212, allocations: 286.6 kB / 0.5287 GB, free: 91.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.9214, allocations: 93.94 kB / 0.5288 GB, free: 91.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.9214, allocations: 46.86 kB / 0.5288 GB, free: 91.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 4.429e-06/0.9214, allocations: 0 / 0.5288 GB, free: 91.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001582/0.923, allocations: 0.6077 MB / 0.5294 GB, free: 91.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.9231, allocations: 143.1 kB / 0.5295 GB, free: 91.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.9235, allocations: 281.5 kB / 0.5298 GB, free: 91.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.9236, allocations: 35.39 kB / 0.5298 GB, free: 91.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.9238, allocations: 399 kB / 0.5302 GB, free: 90.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.9239, allocations: 229.3 kB / 0.5304 GB, free: 90.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.924, allocations: 17.22 kB / 0.5305 GB, free: 90.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.9241, allocations: 357.8 kB / 0.5308 GB, free: 90.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.9246, allocations: 187.4 kB / 0.531 GB, free: 90.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.9251, allocations: 372.3 kB / 0.5313 GB, free: 90.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.9257, allocations: 260.7 kB / 0.5316 GB, free: 90.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.909e-06/0.9257, allocations: 0 / 0.5316 GB, free: 90.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002013/0.9277, allocations: 0.8333 MB / 0.5324 GB, free: 90.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.9278, allocations: 8.75 kB / 0.5324 GB, free: 90.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.9278, allocations: 7.375 kB / 0.5324 GB, free: 90.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007967/0.9286, allocations: 219.3 kB / 0.5326 GB, free: 90 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.9293, allocations: 151.7 kB / 0.5328 GB, free: 90 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.9346, allocations: 6.207 MB / 0.5388 GB, free: 84.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.9353, allocations: 93.81 kB / 0.5389 GB, free: 84.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.9354, allocations: 34.19 kB / 0.539 GB, free: 84.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.9355, allocations: 147 kB / 0.5391 GB, free: 84.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.9357, allocations: 41.25 kB / 0.5391 GB, free: 84.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.9372, allocations: 0.6729 MB / 0.5398 GB, free: 84.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9372, allocations: 7.375 kB / 0.5398 GB, free: 84.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.9373, allocations: 11.3 kB / 0.5398 GB, free: 84.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.9373, allocations: 3.891 kB / 0.5398 GB, free: 84.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.9404, allocations: 1.55 MB / 0.5413 GB, free: 84.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.257e-06/0.9404, allocations: 0 / 0.5413 GB, free: 84.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.9408, allocations: 63.47 kB / 0.5414 GB, free: 84.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007531/0.9415, allocations: 223.5 kB / 0.5416 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.9416, allocations: 10.94 kB / 0.5416 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.9468, allocations: 6.206 MB / 0.5477 GB, free: 78.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.987e-06/0.9469, allocations: 3.375 kB / 0.5477 GB, free: 78.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.9489, allocations: 1.187 MB / 0.5488 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.9491, allocations: 135.7 kB / 0.549 GB, free: 77.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.9492, allocations: 15.88 kB / 0.549 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.9496, allocations: 11.81 kB / 0.549 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.9498, allocations: 55.62 kB / 0.549 GB, free: 77.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.9498, allocations: 15.81 kB / 0.5491 GB, free: 77.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.9501, allocations: 206.6 kB / 0.5493 GB, free: 77.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.9501, allocations: 0 / 0.5493 GB, free: 77.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001195/0.9513, allocations: 278.2 kB / 0.5495 GB, free: 77.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.9516, allocations: 156.8 kB / 0.5497 GB, free: 77.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.9532, allocations: 1.009 MB / 0.5507 GB, free: 77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.629e-06/0.9533, allocations: 0 / 0.5507 GB, free: 77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009827/0.9543, allocations: 0.7389 MB / 0.5514 GB, free: 76.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.9548, allocations: 34.55 kB / 0.5514 GB, free: 76.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.9571, allocations: 0.9787 MB / 0.5524 GB, free: 75.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.9576, allocations: 0.9297 MB / 0.5533 GB, free: 75.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.958, allocations: 63.3 kB / 0.5533 GB, free: 75.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.9581, allocations: 39.34 kB / 0.5534 GB, free: 75.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.835e-06/0.9581, allocations: 0 / 0.5534 GB, free: 75.19 MB / 442.7 MB Notification: Performance of Templates: time 0.01773/0.9759, allocations: 6.14 MB / 0.5594 GB, free: 74.47 MB / 442.7 MB