Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.392e-05, allocations: 7.938 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.0925, allocations: 50.4 MB / 343.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4599, allocations: 87.43 MB / 430.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4602, allocations: 91.41 kB / 430.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07906/0.5392, allocations: 25.54 MB / 456.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.08e-06/0.5393, allocations: 0 / 456.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.5393, allocations: 19.88 kB / 456.2 MB, free: 12.52 MB / 346.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.004068/0.5434, allocations: 1.092 MB / 457.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5435, allocations: 8.031 kB / 457.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.5463, allocations: 319 kB / 457.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.5467, allocations: 254.7 kB / 457.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.5468, allocations: 64.81 kB / 457.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.5469, allocations: 84.47 kB / 458 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.5488, allocations: 0.8031 MB / 458.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.5489, allocations: 4 kB / 458.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.549, allocations: 35.52 kB / 458.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.549, allocations: 23.95 kB / 458.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.5509, allocations: 0.6912 MB / 459.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005923/0.5568, allocations: 2.971 MB / 462.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5582, allocations: 0.9501 MB / 463.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/0.5587, allocations: 211.5 kB / 463.6 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5588, allocations: 95.72 kB / 463.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5589, allocations: 42.44 kB / 463.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 3.74e-06/0.5589, allocations: 0 / 463.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.006837/0.5658, allocations: 1.826 MB / 465.6 MB, free: 4.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.5659, allocations: 85.67 kB / 465.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.5663, allocations: 264.2 kB / 466 MB, free: 4.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.5664, allocations: 39.89 kB / 466 MB, free: 4.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.5667, allocations: 357.2 kB / 466.3 MB, free: 3.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5669, allocations: 212.5 kB / 466.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.567, allocations: 11.62 kB / 466.6 MB, free: 3.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5672, allocations: 356.7 kB / 466.9 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.5677, allocations: 202.5 kB / 467.1 MB, free: 3.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.5684, allocations: 430.2 kB / 467.5 MB, free: 2.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.5691, allocations: 268.3 kB / 467.8 MB, free: 2.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.5691, allocations: 4 kB / 467.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001813/0.5709, allocations: 0.7329 MB / 468.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.571, allocations: 11.95 kB / 468.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.571, allocations: 8 kB / 468.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.5713, allocations: 76.78 kB / 468.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5725, allocations: 213.4 kB / 468.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.5754, allocations: 2.647 MB / 471.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.5763, allocations: 79.47 kB / 471.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5764, allocations: 39.61 kB / 471.6 MB, free: 15 MB / 362.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.0002258/0.5767, allocations: 158 kB / 471.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.5768, allocations: 43.48 kB / 471.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5785, allocations: 0.5977 MB / 472.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5785, allocations: 8 kB / 472.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5785, allocations: 0 / 472.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.5785, allocations: 7.969 kB / 472.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.5813, allocations: 1.284 MB / 473.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-06/0.5814, allocations: 0 / 473.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.5823, allocations: 159.8 kB / 473.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.5825, allocations: 53.67 kB / 473.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.5826, allocations: 12 kB / 473.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.5853, allocations: 2.648 MB / 476.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.5854, allocations: 3.984 kB / 476.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.5874, allocations: 0.8787 MB / 477.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.5877, allocations: 160.5 kB / 477.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.5878, allocations: 15.98 kB / 477.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/0.5885, allocations: 60.02 kB / 477.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.5886, allocations: 48.48 kB / 477.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.5887, allocations: 19.98 kB / 477.7 MB, free: 8.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.589, allocations: 202.2 kB / 477.9 MB, free: 8.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.589, allocations: 0 / 477.9 MB, free: 8.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000955/0.59, allocations: 188 kB / 478.1 MB, free: 8.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSensor.pin_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.0003697/0.5904, allocations: 200.4 kB / 478.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.592, allocations: 0.7439 MB / 479.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.423e-06/0.592, allocations: 0 / 479.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.5929, allocations: 477.5 kB / 479.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.5933, allocations: 37.64 kB / 479.6 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.596, allocations: 0.8564 MB / 480.4 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.5967, allocations: 0.8925 MB / 481.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007123/0.5974, allocations: 100.5 kB / 481.4 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.5977, allocations: 51.41 kB / 481.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.584e-06/0.5977, allocations: 4 kB / 481.5 MB, free: 4.785 MB / 362.7 MB Notification: Performance of Templates: time 0.01728/0.615, allocations: 6.016 MB / 487.5 MB, free: 14.79 MB / 378.7 MB