Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.918e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08659, allocations: 50.4 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4429, allocations: 81.61 MB / 424.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4431, allocations: 77.64 kB / 424.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04974/0.4929, allocations: 12.22 MB / 436.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.009e-06/0.4929, allocations: 192 / 436.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.493, allocations: 8 kB / 436.5 MB, free: 2.176 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001496/0.4945, allocations: 0.7268 MB / 437.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4945, allocations: 8.031 kB / 437.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.4947, allocations: 63.25 kB / 437.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.4953, allocations: 338 kB / 437.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.4954, allocations: 38.81 kB / 437.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.4955, allocations: 53.06 kB / 437.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.4964, allocations: 396.5 kB / 438.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4964, allocations: 4 kB / 438.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.4965, allocations: 18.62 kB / 438.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.4965, allocations: 15.95 kB / 438.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008165/0.4973, allocations: 323.3 kB / 438.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.5006, allocations: 1.606 MB / 440 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/0.5014, allocations: 378.5 kB / 440.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.5019, allocations: 174.5 kB / 440.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.5019, allocations: 12.33 kB / 440.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.502, allocations: 38.2 kB / 440.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.402e-06/0.502, allocations: 0 / 440.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.003292/0.5053, allocations: 1.056 MB / 441.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5054, allocations: 60.06 kB / 441.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.506, allocations: 354.4 kB / 442.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.5061, allocations: 32.64 kB / 442.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.5063, allocations: 300.5 kB / 442.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.5065, allocations: 180.9 kB / 442.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.5065, allocations: 20.38 kB / 442.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.5068, allocations: 356.9 kB / 442.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.5071, allocations: 142.2 kB / 443.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.5076, allocations: 266.9 kB / 443.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.5081, allocations: 180.7 kB / 443.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5081, allocations: 4 kB / 443.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001558/0.5097, allocations: 0.6621 MB / 444.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.5097, allocations: 8 kB / 444.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.779e-06/0.5097, allocations: 0 / 444.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.5104, allocations: 182.7 kB / 444.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.5111, allocations: 118.9 kB / 444.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005298/0.5164, allocations: 3.872 MB / 448.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.517, allocations: 39.41 kB / 448.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.5171, allocations: 31.02 kB / 448.4 MB, free: 7.762 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 (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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.5172, allocations: 138.6 kB / 448.6 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5174, allocations: 51.34 kB / 448.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.5175, allocations: 61.11 kB / 448.7 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.5175, allocations: 4 kB / 448.7 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.5176, allocations: 8 kB / 448.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.771e-06/0.5176, allocations: 11.92 kB / 448.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.5202, allocations: 1.227 MB / 449.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-06/0.5202, allocations: 0 / 449.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.5207, allocations: 74.58 kB / 450 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/0.5213, allocations: 159.6 kB / 450.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.5213, allocations: 14.94 kB / 450.2 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.5263, allocations: 3.68 MB / 453.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-06/0.5263, allocations: 7.969 kB / 453.9 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.5278, allocations: 0.6799 MB / 454.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.528, allocations: 124.5 kB / 454.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.5281, allocations: 12 kB / 454.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.5285, allocations: 35.92 kB / 454.7 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.5286, allocations: 48.36 kB / 454.8 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.5287, allocations: 16 kB / 454.8 MB, free: 1.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004337/0.5291, allocations: 269.2 kB / 455 MB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.5291, allocations: 0 / 455 MB, free: 1.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009572/0.5301, allocations: 152 kB / 455.2 MB, free: 1.121 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.5303, allocations: 127.2 kB / 455.3 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.5318, allocations: 0.6794 MB / 456 MB, free: 296 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.35e-06/0.5318, allocations: 0 / 456 MB, free: 296 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.5327, allocations: 486.3 kB / 456.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.5331, allocations: 32.14 kB / 456.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.5348, allocations: 0.6287 MB / 457.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.5354, allocations: 0.8717 MB / 458 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.5357, allocations: 52.36 kB / 458 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5358, allocations: 27.44 kB / 458.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.592e-06/0.5359, allocations: 0 / 458.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01468/0.5505, allocations: 4.522 MB / 462.6 MB, free: 9.605 MB / 378.7 MB