Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.582e-05, allocations: 4 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.08939, allocations: 50.42 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4423, allocations: 81.09 MB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4426, allocations: 84.48 kB / 423.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.034/0.4766, allocations: 8.268 MB / 432 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.4766, allocations: 0 / 432 MB, free: 6.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.4767, allocations: 8 kB / 432 MB, free: 6.078 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001101/0.4778, allocations: 0.5685 MB / 432.6 MB, free: 5.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4778, allocations: 8.031 kB / 432.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.4779, allocations: 35.62 kB / 432.6 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.4784, allocations: 268.3 kB / 432.9 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.4784, allocations: 25.91 kB / 432.9 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.4785, allocations: 27.5 kB / 432.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.4791, allocations: 255.5 kB / 433.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4791, allocations: 0 / 433.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.4792, allocations: 11.12 kB / 433.2 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4792, allocations: 11.95 kB / 433.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.4797, allocations: 203.3 kB / 433.4 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.482, allocations: 1.133 MB / 434.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.4824, allocations: 122.7 kB / 434.7 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4825, allocations: 47.42 kB / 434.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4825, allocations: 0 / 434.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4826, allocations: 42.25 kB / 434.7 MB, free: 3.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.313e-06/0.4826, allocations: 0 / 434.7 MB, free: 3.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001845/0.4844, allocations: 0.5072 MB / 435.2 MB, free: 3.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4845, allocations: 51.59 kB / 435.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.4849, allocations: 236.5 kB / 435.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4849, allocations: 25.7 kB / 435.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4851, allocations: 230.9 kB / 435.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.4852, allocations: 73.8 kB / 435.9 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.4852, allocations: 7.625 kB / 435.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4854, allocations: 336.8 kB / 436.2 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.4856, allocations: 64.75 kB / 436.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.4859, allocations: 168.5 kB / 436.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.4861, allocations: 100.7 kB / 436.5 MB, free: 1.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.209e-06/0.4861, allocations: 3.938 kB / 436.5 MB, free: 1.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007619/0.4869, allocations: 321.1 kB / 436.8 MB, free: 1.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.487, allocations: 8 kB / 436.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.701e-06/0.487, allocations: 3.938 kB / 436.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.4873, allocations: 60.06 kB / 436.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.4878, allocations: 79.91 kB / 437 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.4905, allocations: 2.633 MB / 439.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.4909, allocations: 31.3 kB / 439.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.4909, allocations: 12 kB / 439.7 MB, free: 14.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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.0001353/0.4911, allocations: 126.8 kB / 439.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.4912, allocations: 23.72 kB / 439.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.4913, allocations: 32.84 kB / 439.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-06/0.4913, allocations: 8 kB / 439.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-06/0.4913, allocations: 0 / 439.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-06/0.4913, allocations: 0 / 439.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.4918, allocations: 331.2 kB / 440.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-06/0.4919, allocations: 0 / 440.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.4922, allocations: 43.91 kB / 440.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.4924, allocations: 59.25 kB / 440.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.4924, allocations: 3.062 kB / 440.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.4951, allocations: 2.636 MB / 442.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-06/0.4951, allocations: 0 / 442.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.4957, allocations: 322.8 kB / 443.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4958, allocations: 96.83 kB / 443.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.4959, allocations: 3.625 kB / 443.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4962, allocations: 27.41 kB / 443.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.4962, allocations: 19.78 kB / 443.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.4963, allocations: 4 kB / 443.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.4965, allocations: 181.9 kB / 443.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4965, allocations: 0 / 443.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.4971, allocations: 74.25 kB / 443.6 MB, free: 10.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.0001756/0.4973, allocations: 115.2 kB / 443.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.4981, allocations: 403.9 kB / 444.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.192e-06/0.4981, allocations: 0 / 444.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.4986, allocations: 312.1 kB / 444.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.4989, allocations: 21.83 kB / 444.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.4999, allocations: 340.9 kB / 444.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.5004, allocations: 0.7791 MB / 445.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.5006, allocations: 30 kB / 445.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.5007, allocations: 19.44 kB / 445.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.479e-06/0.5007, allocations: 0 / 445.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of Templates: time 0.008842/0.5095, allocations: 2.501 MB / 448.1 MB, free: 6.309 MB / 362.7 MB