Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.399e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5514, allocations: 86.82 MB / 497.1 MB, free: 1.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.5517, allocations: 63.97 kB / 497.1 MB, free: 1.262 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006352/0.558, allocations: 1.752 MB / 498.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5581, allocations: 0 / 498.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.5581, allocations: 4 kB / 498.9 MB, free: 15.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006038/0.5587, allocations: 402.2 kB / 499.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5588, allocations: 8.031 kB / 499.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.5588, allocations: 19.88 kB / 499.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.559, allocations: 167 kB / 499.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5591, allocations: 7.938 kB / 499.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.5591, allocations: 11.95 kB / 499.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.5594, allocations: 93.67 kB / 499.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.744e-06/0.5594, allocations: 0 / 499.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.5594, allocations: 4 kB / 499.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.792e-06/0.5594, allocations: 4 kB / 499.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.5596, allocations: 63.86 kB / 499.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.5606, allocations: 483.3 kB / 0.4884 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.5608, allocations: 66.5 kB / 0.4885 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.561, allocations: 36.98 kB / 0.4885 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.561, allocations: 6.781 kB / 0.4885 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.561, allocations: 34.52 kB / 0.4885 GB, free: 13.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.716e-06/0.561, allocations: 4 kB / 0.4886 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003533/0.5614, allocations: 94.44 kB / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5615, allocations: 55.34 kB / 0.4887 GB, free: 13.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5616, allocations: 105 kB / 0.4888 GB, free: 13.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.5616, allocations: 29.7 kB / 0.4888 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.5617, allocations: 104.1 kB / 0.4889 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.5618, allocations: 23.73 kB / 0.4889 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-06/0.5618, allocations: 0 / 0.4889 GB, free: 13.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.562, allocations: 322.8 kB / 0.4893 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.562, allocations: 12 kB / 0.4893 GB, free: 13.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.5621, allocations: 33.7 kB / 0.4893 GB, free: 13.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/0.5622, allocations: 12 kB / 0.4893 GB, free: 13.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5622, allocations: 0 / 0.4893 GB, free: 13.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002782/0.5625, allocations: 102.3 kB / 0.4894 GB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5625, allocations: 8.016 kB / 0.4894 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.724e-06/0.5625, allocations: 4 kB / 0.4894 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.5627, allocations: 20.86 kB / 0.4894 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.5629, allocations: 23.97 kB / 0.4895 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.5643, allocations: 1.308 MB / 0.4907 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.5645, allocations: 23.86 kB / 0.4908 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.5646, allocations: 8 kB / 0.4908 GB, free: 11.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.5647, allocations: 112.8 kB / 0.4909 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.5647, allocations: 7.984 kB / 0.4909 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.5648, allocations: 8.625 kB / 0.4909 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-06/0.5648, allocations: 4 kB / 0.4909 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.023e-06/0.5648, allocations: 0 / 0.4909 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-06/0.5648, allocations: 0 / 0.4909 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.5655, allocations: 392.2 kB / 0.4913 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5655, allocations: 0 / 0.4913 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.5657, allocations: 19.98 kB / 0.4913 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.5658, allocations: 24.84 kB / 0.4913 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.5658, allocations: 3.953 kB / 0.4913 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.5672, allocations: 1.304 MB / 0.4926 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5672, allocations: 4.031 kB / 0.4926 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.5675, allocations: 203.8 kB / 0.4928 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.5676, allocations: 81.02 kB / 0.4929 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.5676, allocations: 7.984 kB / 0.4929 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5678, allocations: 15.98 kB / 0.4929 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.5679, allocations: 11.98 kB / 0.4929 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-06/0.5679, allocations: 4 kB / 0.4929 GB, free: 9.047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.708e-05/0.568, allocations: 95.22 kB / 0.493 GB, free: 8.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.568, allocations: 0 / 0.493 GB, free: 8.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.5684, allocations: 31.84 kB / 0.493 GB, free: 8.922 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.5685, allocations: 95.25 kB / 0.4931 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.5689, allocations: 145.7 kB / 0.4933 GB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.783e-06/0.5689, allocations: 0 / 0.4933 GB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.5691, allocations: 133.8 kB / 0.4934 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5694, allocations: 14.34 kB / 0.4934 GB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.5697, allocations: 131 kB / 0.4935 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.5702, allocations: 0.7043 MB / 0.4942 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.5702, allocations: 8.25 kB / 0.4942 GB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.5703, allocations: 7.438 kB / 0.4942 GB, free: 7.613 MB / 410.7 MB Notification: Performance of SimCode: time 1.406e-06/0.5703, allocations: 0 / 0.4942 GB, free: 7.613 MB / 410.7 MB Notification: Performance of Templates: time 0.004323/0.5746, allocations: 0.9276 MB / 0.4951 GB, free: 6.695 MB / 410.7 MB