Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.608e-05, allocations: 1.562 kB / 292.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.08937, allocations: 50.42 MB / 343.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5169, allocations: 87.77 MB / 430.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5172, allocations: 93.67 kB / 431 MB, free: 6.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08512/0.6023, allocations: 25.63 MB / 456.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.6024, allocations: 4 kB / 456.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.6024, allocations: 12 kB / 456.6 MB, free: 0.9453 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00397/0.6064, allocations: 1.096 MB / 457.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6064, allocations: 16.03 kB / 457.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.6093, allocations: 322.8 kB / 458 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.6096, allocations: 254 kB / 458.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.6097, allocations: 66 kB / 458.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.6099, allocations: 80 kB / 458.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.6119, allocations: 0.8018 MB / 459.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.6119, allocations: 4 kB / 459.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.6121, allocations: 36.28 kB / 459.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.6121, allocations: 23.95 kB / 459.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.614, allocations: 0.6913 MB / 460 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006282/0.6203, allocations: 2.985 MB / 463 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.6222, allocations: 0.964 MB / 463.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000782/0.623, allocations: 202.5 kB / 464.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.6232, allocations: 101.6 kB / 464.2 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.6233, allocations: 35.12 kB / 464.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 7.022e-06/0.6234, allocations: 0 / 464.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01159/0.635, allocations: 1.824 MB / 466.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.6351, allocations: 85.67 kB / 466.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.6359, allocations: 286.5 kB / 466.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.636, allocations: 37.7 kB / 466.5 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.6365, allocations: 358.6 kB / 466.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.6369, allocations: 216.9 kB / 467 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.637, allocations: 16 kB / 467.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.6373, allocations: 354.8 kB / 467.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/0.6383, allocations: 198 kB / 467.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.6396, allocations: 438.6 kB / 468 MB, free: 4.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6409, allocations: 259.2 kB / 468.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.623e-06/0.6409, allocations: 4 kB / 468.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002896/0.6438, allocations: 0.7345 MB / 469 MB, free: 3.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.6439, allocations: 11.95 kB / 469 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.6439, allocations: 8 kB / 469 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004597/0.6444, allocations: 74.14 kB / 469.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.6463, allocations: 219.7 kB / 469.3 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.65, allocations: 2.66 MB / 472 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.651, allocations: 79.92 kB / 472.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6511, allocations: 35.98 kB / 472.1 MB, free: 0.5078 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.6514, allocations: 148.7 kB / 472.2 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6516, allocations: 43.48 kB / 472.3 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.6533, allocations: 0.6026 MB / 472.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.6534, allocations: 4 kB / 472.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.671e-06/0.6534, allocations: 4 kB / 472.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.6534, allocations: 3.984 kB / 472.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.6563, allocations: 1.297 MB / 474.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.132e-06/0.6564, allocations: 4 kB / 474.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.6573, allocations: 143.8 kB / 474.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.6576, allocations: 61.67 kB / 474.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.6577, allocations: 15.98 kB / 474.4 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.6605, allocations: 2.644 MB / 477.1 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.499e-06/0.6605, allocations: 0 / 477.1 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.6625, allocations: 0.879 MB / 477.9 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.6629, allocations: 168.5 kB / 478.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.663, allocations: 12 kB / 478.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.6637, allocations: 60.08 kB / 478.2 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6638, allocations: 48.48 kB / 478.2 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.6639, allocations: 19.98 kB / 478.2 MB, free: 9.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.6642, allocations: 214.2 kB / 478.5 MB, free: 9.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.29e-07/0.6642, allocations: 4 kB / 478.5 MB, free: 9.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009319/0.6652, allocations: 184 kB / 478.6 MB, free: 9.574 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 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.0003668/0.6656, allocations: 209.6 kB / 478.8 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.6671, allocations: 0.7445 MB / 479.6 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6672, allocations: 4 kB / 479.6 MB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008694/0.668, allocations: 477.8 kB / 480.1 MB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.6684, allocations: 33.16 kB / 480.1 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.6711, allocations: 0.8681 MB / 481 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.6718, allocations: 0.8925 MB / 481.9 MB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007057/0.6725, allocations: 96.5 kB / 481.9 MB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.6727, allocations: 55.41 kB / 482 MB, free: 6.117 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6728, allocations: 0 / 482 MB, free: 6.117 MB / 394.7 MB Notification: Performance of Templates: time 0.01774/0.6905, allocations: 6.076 MB / 488.1 MB, free: 52 kB / 394.7 MB