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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.128e-05, allocations: 6.188 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08901, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4749, allocations: 87.67 MB / 430.2 MB, free: 6.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004593/0.4754, allocations: 89.89 kB / 430.3 MB, free: 6.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09311/0.5685, allocations: 25.52 MB / 455.9 MB, free: 1.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.45e-06/0.5686, allocations: 0 / 455.9 MB, free: 1.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.5686, allocations: 15.94 kB / 455.9 MB, free: 1.199 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.004324/0.573, allocations: 1.1 MB / 457 MB, free: 52 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.573, allocations: 8.031 kB / 457 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.576, allocations: 318.9 kB / 457.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.5763, allocations: 250.8 kB / 457.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.917e-05/0.5764, allocations: 77.86 kB / 457.6 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.5766, allocations: 79.91 kB / 457.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.5788, allocations: 0.7979 MB / 458.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.5789, allocations: 11.98 kB / 458.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.579, allocations: 32.34 kB / 458.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.579, allocations: 23.95 kB / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.581, allocations: 0.6913 MB / 459.2 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/0.5872, allocations: 2.977 MB / 462.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.5887, allocations: 0.9511 MB / 463.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.5892, allocations: 210.4 kB / 463.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.5894, allocations: 89.66 kB / 463.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5894, allocations: 43.12 kB / 463.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 6.256e-06/0.5895, allocations: 3.984 kB / 463.5 MB, free: 9.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.006896/0.5964, allocations: 1.824 MB / 465.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.5965, allocations: 85.67 kB / 465.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.5969, allocations: 271.2 kB / 465.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.597, allocations: 37.7 kB / 465.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.5973, allocations: 354.7 kB / 466.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.5975, allocations: 216.9 kB / 466.3 MB, free: 6.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.5976, allocations: 12 kB / 466.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5978, allocations: 358.8 kB / 466.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.5984, allocations: 194 kB / 466.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.5991, allocations: 434.5 kB / 467.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.5998, allocations: 267.3 kB / 467.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-06/0.5998, allocations: 4 kB / 467.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001881/0.6017, allocations: 0.7272 MB / 468.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.6018, allocations: 11.95 kB / 468.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.6018, allocations: 15.94 kB / 468.3 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.6021, allocations: 69.67 kB / 468.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6033, allocations: 207.7 kB / 468.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.6061, allocations: 2.652 MB / 471.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009125/0.6071, allocations: 87.91 kB / 471.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.6072, allocations: 35.98 kB / 471.3 MB, free: 0.8125 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.0002311/0.6074, allocations: 156.7 kB / 471.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.6076, allocations: 43.48 kB / 471.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.6092, allocations: 0.5986 MB / 472.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.6093, allocations: 8 kB / 472.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-06/0.6093, allocations: 0 / 472.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.6093, allocations: 3.938 kB / 472.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.6121, allocations: 1.293 MB / 473.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-06/0.6121, allocations: 0 / 473.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.6131, allocations: 147.8 kB / 473.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.6134, allocations: 57.61 kB / 473.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.6135, allocations: 15.98 kB / 473.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.6162, allocations: 2.644 MB / 476.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.383e-06/0.6162, allocations: 4.031 kB / 476.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.6183, allocations: 0.8713 MB / 477.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.6186, allocations: 168.5 kB / 477.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.6187, allocations: 16.12 kB / 477.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.6194, allocations: 55.95 kB / 477.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6196, allocations: 44.48 kB / 477.4 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.6196, allocations: 23.98 kB / 477.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.62, allocations: 206.2 kB / 477.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.62, allocations: 0 / 477.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009473/0.6209, allocations: 188 kB / 477.8 MB, free: 9.895 MB / 394.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.0003811/0.6213, allocations: 198.6 kB / 478 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.623, allocations: 0.7407 MB / 478.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.337e-06/0.623, allocations: 192 / 478.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.6239, allocations: 477.5 kB / 479.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.6242, allocations: 32.77 kB / 479.3 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.6269, allocations: 0.8604 MB / 480.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.6276, allocations: 0.8964 MB / 481 MB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006873/0.6283, allocations: 96.5 kB / 481.1 MB, free: 6.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.6286, allocations: 47.42 kB / 481.2 MB, free: 6.465 MB / 394.7 MB Notification: Performance of SimCode: time 3.749e-06/0.6286, allocations: 8 kB / 481.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of Templates: time 0.01744/0.6461, allocations: 6.017 MB / 487.2 MB, free: 468 kB / 394.7 MB