Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.046e-05, allocations: 4 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09045, allocations: 50.41 MB / 343.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4494, allocations: 81.36 MB / 424.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4497, allocations: 78.38 kB / 424.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04528/0.495, allocations: 12.22 MB / 436.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.898e-06/0.495, allocations: 0 / 436.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.495, allocations: 11.69 kB / 436.7 MB, free: 4.426 MB / 330.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.001225/0.4963, allocations: 0.7189 MB / 437.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4963, allocations: 15.7 kB / 437.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4964, allocations: 58.22 kB / 437.5 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.497, allocations: 349.9 kB / 437.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.497, allocations: 40.34 kB / 437.9 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.4971, allocations: 44.94 kB / 438 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.4979, allocations: 398.5 kB / 438.3 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4979, allocations: 3.984 kB / 438.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.498, allocations: 18.59 kB / 438.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.498, allocations: 19.23 kB / 438.4 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.4988, allocations: 323.4 kB / 438.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.5017, allocations: 1.603 MB / 440.3 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.5024, allocations: 373.5 kB / 440.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.5028, allocations: 174.6 kB / 440.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.5028, allocations: 8.109 kB / 440.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.5029, allocations: 34.89 kB / 440.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 2.696e-06/0.5029, allocations: 0 / 440.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.002941/0.5058, allocations: 1.063 MB / 441.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.5059, allocations: 55.81 kB / 442 MB, free: 1.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.5063, allocations: 350.2 kB / 442.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.5064, allocations: 37.2 kB / 442.4 MB, free: 1.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5065, allocations: 302.5 kB / 442.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5067, allocations: 187.8 kB / 442.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.5067, allocations: 14.75 kB / 442.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.5068, allocations: 352.4 kB / 443.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.5071, allocations: 146.2 kB / 443.4 MB, free: 1.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.5076, allocations: 255.7 kB / 443.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.508, allocations: 191.3 kB / 443.8 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.508, allocations: 0 / 443.8 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001451/0.5095, allocations: 0.6641 MB / 444.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5095, allocations: 11.66 kB / 444.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5095, allocations: 7.844 kB / 444.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.5102, allocations: 176.7 kB / 444.6 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.5109, allocations: 119.2 kB / 444.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.5159, allocations: 3.875 MB / 448.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.5164, allocations: 47.38 kB / 448.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.5165, allocations: 22.45 kB / 448.7 MB, free: 13.67 MB / 346.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.0001741/0.5166, allocations: 141 kB / 448.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5168, allocations: 46.38 kB / 448.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.5169, allocations: 63.25 kB / 449 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5169, allocations: 3.844 kB / 449 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.5169, allocations: 3.844 kB / 449 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.517, allocations: 7.922 kB / 449 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.5195, allocations: 1.225 MB / 450.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5195, allocations: 3.906 kB / 450.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.5199, allocations: 76.23 kB / 450.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.5204, allocations: 148.2 kB / 450.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.5205, allocations: 14.55 kB / 450.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.5252, allocations: 3.694 MB / 454.1 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.113e-06/0.5252, allocations: 0 / 454.1 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.5264, allocations: 0.6886 MB / 454.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.5266, allocations: 119.8 kB / 454.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.5267, allocations: 17.59 kB / 454.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.5271, allocations: 34.33 kB / 455 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5272, allocations: 42.09 kB / 455 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.5273, allocations: 23 kB / 455 MB, free: 9.465 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003761/0.5277, allocations: 266.3 kB / 455.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.5277, allocations: 0 / 455.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000875/0.5286, allocations: 154.2 kB / 455.5 MB, free: 9.367 MB / 346.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.0001908/0.5288, allocations: 116.6 kB / 455.6 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.5301, allocations: 0.6836 MB / 456.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.491e-06/0.5301, allocations: 0.8125 kB / 456.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.5309, allocations: 483 kB / 456.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.5313, allocations: 33.55 kB / 456.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5328, allocations: 0.6297 MB / 457.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.5334, allocations: 0.8749 MB / 458.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.5337, allocations: 47.45 kB / 458.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5338, allocations: 26.66 kB / 458.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of SimCode: time 1.281e-06/0.5338, allocations: 0 / 458.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of Templates: time 0.01443/0.5482, allocations: 4.527 MB / 462.9 MB, free: 3.688 MB / 346.7 MB