Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.065e-05, allocations: 4 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09044, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4467, allocations: 81.18 MB / 424.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.447, allocations: 79.27 kB / 424.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03474/0.4818, allocations: 8.359 MB / 432.7 MB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.656e-06/0.4818, allocations: 0 / 432.7 MB, free: 5.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4819, allocations: 8 kB / 432.7 MB, free: 5.914 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.001119/0.483, allocations: 0.5746 MB / 433.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.483, allocations: 15.97 kB / 433.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.4831, allocations: 31.62 kB / 433.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.4836, allocations: 276.4 kB / 433.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4837, allocations: 22.28 kB / 433.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.4837, allocations: 27.75 kB / 433.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.4844, allocations: 257.2 kB / 433.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4844, allocations: 0 / 433.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.4844, allocations: 21.61 kB / 433.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.4845, allocations: 11.95 kB / 433.9 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.485, allocations: 201 kB / 434.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.4873, allocations: 1.135 MB / 435.3 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.4877, allocations: 123.6 kB / 435.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.4878, allocations: 55.41 kB / 435.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.4879, allocations: 4 kB / 435.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4879, allocations: 41.61 kB / 435.5 MB, free: 3.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.884e-06/0.4879, allocations: 4 kB / 435.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001855/0.4898, allocations: 0.4997 MB / 436 MB, free: 2.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.4899, allocations: 55.59 kB / 436 MB, free: 2.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.4903, allocations: 254.4 kB / 436.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4903, allocations: 25.7 kB / 436.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.4905, allocations: 227.8 kB / 436.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.4906, allocations: 77.27 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.4906, allocations: 7.938 kB / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4908, allocations: 333.7 kB / 436.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.491, allocations: 72.75 kB / 437 MB, free: 2.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.4913, allocations: 160.8 kB / 437.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.4915, allocations: 101.5 kB / 437.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4916, allocations: 4 kB / 437.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000784/0.4924, allocations: 328.5 kB / 437.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4924, allocations: 4 kB / 437.6 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4924, allocations: 4 kB / 437.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.4927, allocations: 69.05 kB / 437.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.4932, allocations: 79.78 kB / 437.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.4959, allocations: 2.637 MB / 440.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.4963, allocations: 26.67 kB / 440.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.4964, allocations: 14.81 kB / 440.4 MB, free: 14.54 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.4965, allocations: 121.4 kB / 440.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.4966, allocations: 27.78 kB / 440.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.4967, allocations: 34.33 kB / 440.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-06/0.4967, allocations: 3.953 kB / 440.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-06/0.4968, allocations: 0 / 440.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4968, allocations: 7.984 kB / 440.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.4973, allocations: 326.9 kB / 440.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.428e-06/0.4973, allocations: 0 / 440.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4976, allocations: 47.89 kB / 441 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.4979, allocations: 55.75 kB / 441 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.4979, allocations: 7.812 kB / 441 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.5006, allocations: 2.629 MB / 443.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.496e-06/0.5006, allocations: 0 / 443.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.5012, allocations: 322.3 kB / 444 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.5013, allocations: 100.8 kB / 444.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.5014, allocations: 7.312 kB / 444.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.5017, allocations: 18.98 kB / 444.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.5017, allocations: 19.97 kB / 444.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.5018, allocations: 4 kB / 444.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.5021, allocations: 192.9 kB / 444.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5021, allocations: 0 / 444.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005589/0.5026, allocations: 75.69 kB / 444.4 MB, free: 10.52 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.0001859/0.5028, allocations: 127.1 kB / 444.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.5036, allocations: 404.7 kB / 444.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5037, allocations: 0 / 444.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.5041, allocations: 306.2 kB / 445.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.5045, allocations: 34.97 kB / 445.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.5054, allocations: 327.6 kB / 445.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.506, allocations: 0.787 MB / 446.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.5062, allocations: 22.08 kB / 446.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.5063, allocations: 23.44 kB / 446.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.515e-06/0.5063, allocations: 0 / 446.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of Templates: time 0.009289/0.5156, allocations: 2.556 MB / 449 MB, free: 6.016 MB / 362.7 MB