Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.179e-05, allocations: 0 / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08623, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4394, allocations: 81.2 MB / 423.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4397, allocations: 76.27 kB / 423.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03504/0.4747, allocations: 8.349 MB / 432.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.248e-06/0.4748, allocations: 4 kB / 432.2 MB, free: 5.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.4748, allocations: 4 kB / 432.2 MB, free: 5.883 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.00113/0.4759, allocations: 0.5751 MB / 432.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.476, allocations: 12.03 kB / 432.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.4761, allocations: 35.56 kB / 432.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.4766, allocations: 273 kB / 433.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.4766, allocations: 27.72 kB / 433.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.4767, allocations: 31 kB / 433.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.4773, allocations: 257.4 kB / 433.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4773, allocations: 0 / 433.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.4774, allocations: 14.5 kB / 433.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.4774, allocations: 11.95 kB / 433.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.478, allocations: 203.2 kB / 433.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.4803, allocations: 1.131 MB / 434.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.4806, allocations: 127.2 kB / 434.9 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.4808, allocations: 60.53 kB / 434.9 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.4808, allocations: 4 kB / 434.9 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4808, allocations: 34.5 kB / 435 MB, free: 3.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.103e-06/0.4809, allocations: 0 / 435 MB, free: 3.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001873/0.4827, allocations: 0.4978 MB / 435.5 MB, free: 2.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4828, allocations: 59.59 kB / 435.5 MB, free: 2.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.4832, allocations: 250.4 kB / 435.8 MB, free: 2.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4832, allocations: 28.58 kB / 435.8 MB, free: 2.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.4834, allocations: 228.5 kB / 436 MB, free: 2.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.4835, allocations: 76.08 kB / 436.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.4835, allocations: 10.56 kB / 436.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4837, allocations: 337.9 kB / 436.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.4839, allocations: 68.56 kB / 436.5 MB, free: 1.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.4842, allocations: 160.9 kB / 436.7 MB, free: 1.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.4845, allocations: 101.1 kB / 436.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.252e-06/0.4845, allocations: 4 kB / 436.8 MB, free: 1.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007951/0.4853, allocations: 324.9 kB / 437.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4853, allocations: 10.75 kB / 437.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4853, allocations: 4.406 kB / 437.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.4857, allocations: 60.8 kB / 437.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.4861, allocations: 79.84 kB / 437.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.4888, allocations: 2.639 MB / 439.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.4892, allocations: 23.92 kB / 439.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4893, allocations: 19.62 kB / 439.9 MB, free: 14.51 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.0001354/0.4894, allocations: 122.1 kB / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.4895, allocations: 27.7 kB / 440.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.4896, allocations: 30.42 kB / 440.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.4896, allocations: 7.984 kB / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.16e-06/0.4896, allocations: 0 / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.584e-06/0.4897, allocations: 3.984 kB / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.4902, allocations: 335.1 kB / 440.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-06/0.4902, allocations: 4 kB / 440.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.4905, allocations: 43.91 kB / 440.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002368/0.4908, allocations: 55.19 kB / 440.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.4908, allocations: 7.812 kB / 440.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.4934, allocations: 2.626 MB / 443.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.47e-06/0.4934, allocations: 0 / 443.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.494, allocations: 323.7 kB / 443.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4941, allocations: 100.1 kB / 443.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.4942, allocations: 7.875 kB / 443.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.4945, allocations: 19.23 kB / 443.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4946, allocations: 19.97 kB / 443.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.4946, allocations: 7.875 kB / 443.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002671/0.4949, allocations: 192.7 kB / 443.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.4949, allocations: 0 / 443.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005417/0.4955, allocations: 72.5 kB / 443.9 MB, free: 10.48 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.0001772/0.4956, allocations: 128.8 kB / 444 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.4965, allocations: 403.3 kB / 444.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.058e-06/0.4965, allocations: 0 / 444.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.497, allocations: 312.7 kB / 444.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.4973, allocations: 34.3 kB / 444.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.4983, allocations: 328.8 kB / 445.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.4988, allocations: 0.7831 MB / 445.8 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.499, allocations: 30.09 kB / 445.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.4991, allocations: 19.44 kB / 445.9 MB, free: 8.527 MB / 362.7 MB Notification: Performance of SimCode: time 1.658e-06/0.4991, allocations: 4 kB / 445.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of Templates: time 0.009004/0.5081, allocations: 2.546 MB / 448.4 MB, free: 5.992 MB / 362.7 MB