Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 270 MB / 283.6 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.427e-05, allocations: 7.984 kB / 348.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3574, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4967, allocations: 91.77 MB / 0.4903 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.497, allocations: 75.95 kB / 0.4904 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03477/0.5318, allocations: 5.781 MB / 0.496 GB, free: 8.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.19e-06/0.5318, allocations: 0 / 0.496 GB, free: 8.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.5318, allocations: 8 kB / 0.496 GB, free: 8.902 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001212/0.5331, allocations: 0.6 MB / 0.4966 GB, free: 8.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5331, allocations: 8.031 kB / 0.4966 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.5332, allocations: 52.83 kB / 0.4967 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.5337, allocations: 278.6 kB / 0.4969 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.5338, allocations: 32.78 kB / 0.497 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.5339, allocations: 36 kB / 0.497 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.5346, allocations: 318.1 kB / 0.4973 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5347, allocations: 0 / 0.4973 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.5347, allocations: 16 kB / 0.4973 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.5348, allocations: 8 kB / 0.4973 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.5355, allocations: 261.5 kB / 0.4976 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.5385, allocations: 1.352 MB / 0.4989 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.5391, allocations: 250.3 kB / 0.4991 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.5395, allocations: 161.2 kB / 0.4993 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.5395, allocations: 8.219 kB / 0.4993 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5396, allocations: 34.84 kB / 0.4993 GB, free: 5.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.11e-06/0.5396, allocations: 0 / 0.4993 GB, free: 5.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006891/0.5403, allocations: 255.8 kB / 0.4996 GB, free: 5.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5403, allocations: 59.41 kB / 0.4996 GB, free: 4.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.5407, allocations: 231.1 kB / 0.4998 GB, free: 4.762 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.5408, allocations: 29.7 kB / 0.4999 GB, free: 4.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.5409, allocations: 204 kB / 0.5001 GB, free: 4.523 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.5411, allocations: 122.2 kB / 0.5002 GB, free: 4.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.5411, allocations: 8 kB / 0.5002 GB, free: 4.395 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5413, allocations: 334.8 kB / 0.5005 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.5416, allocations: 92.88 kB / 0.5006 GB, free: 3.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.5419, allocations: 154.7 kB / 0.5007 GB, free: 3.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.5422, allocations: 117.5 kB / 0.5009 GB, free: 3.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5423, allocations: 0 / 0.5009 GB, free: 3.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007969/0.5431, allocations: 327.1 kB / 0.5012 GB, free: 3.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5431, allocations: 4 kB / 0.5012 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-06/0.5431, allocations: 0 / 0.5012 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5431, allocations: 4 kB / 0.5012 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.5438, allocations: 108.1 kB / 0.5013 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5438, allocations: 7.984 kB / 0.5013 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.5442, allocations: 43.53 kB / 0.5013 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.5442, allocations: 15.98 kB / 0.5013 GB, free: 3.168 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.5444, allocations: 124.9 kB / 0.5015 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.5445, allocations: 35.58 kB / 0.5015 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.5452, allocations: 296.5 kB / 0.5018 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5453, allocations: 4 kB / 0.5018 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-06/0.5453, allocations: 0 / 0.5018 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.553e-06/0.5453, allocations: 0 / 0.5018 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.546, allocations: 405.1 kB / 0.5022 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-06/0.546, allocations: 0 / 0.5022 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.5465, allocations: 83.88 kB / 0.5023 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.5466, allocations: 7.953 kB / 0.5023 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.5466, allocations: 4 kB / 0.5023 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.887e-06/0.5466, allocations: 8 kB / 0.5023 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-06/0.5466, allocations: 0 / 0.5023 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/0.5476, allocations: 486.7 kB / 0.5027 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.5479, allocations: 136.6 kB / 0.5029 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.5479, allocations: 7.953 kB / 0.5029 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.5482, allocations: 15.98 kB / 0.5029 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.5483, allocations: 28.03 kB / 0.5029 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.5484, allocations: 4 kB / 0.5029 GB, free: 1.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002677/0.5486, allocations: 191.1 kB / 0.5031 GB, free: 1.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.204e-06/0.5486, allocations: 0 / 0.5031 GB, free: 1.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005093/0.5492, allocations: 95.84 kB / 0.5032 GB, free: 1.176 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.5493, allocations: 107.2 kB / 0.5033 GB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.55, allocations: 240 kB / 0.5035 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.55, allocations: 4.062 kB / 0.5035 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.5503, allocations: 123.9 kB / 0.5036 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.5506, allocations: 19.53 kB / 0.5037 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.5521, allocations: 0.5405 MB / 0.5042 GB, free: 124 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.5527, allocations: 0.8029 MB / 0.505 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.553, allocations: 38.95 kB / 0.505 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.5531, allocations: 31.42 kB / 0.505 GB, free: 15.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5531, allocations: 0 / 0.505 GB, free: 15.22 MB / 442.7 MB Notification: Performance of Templates: time 0.008727/0.5618, allocations: 2.353 MB / 0.5073 GB, free: 12.89 MB / 442.7 MB