Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 270 MB / 283.6 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.094e-05, allocations: 4 kB / 348.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3403, allocations: 61.87 MB / 410.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4776, allocations: 89.49 MB / 499.8 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4779, allocations: 75.97 kB / 499.9 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.4955, allocations: 4.399 MB / 0.4924 GB, free: 12.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.149e-06/0.4956, allocations: 4 kB / 0.4924 GB, free: 12.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.4956, allocations: 4 kB / 0.4924 GB, free: 12.59 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009103/0.4965, allocations: 0.5063 MB / 0.4929 GB, free: 12.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4966, allocations: 8.031 kB / 0.4929 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.4967, allocations: 35.56 kB / 0.493 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4969, allocations: 200.2 kB / 0.4932 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.497, allocations: 32.77 kB / 0.4932 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.4971, allocations: 35.95 kB / 0.4932 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.4977, allocations: 258.2 kB / 0.4935 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4978, allocations: 0 / 0.4935 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.4978, allocations: 16 kB / 0.4935 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4978, allocations: 8 kB / 0.4935 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.4984, allocations: 201.5 kB / 0.4937 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.5007, allocations: 1.017 MB / 0.4947 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.5008, allocations: 30.53 kB / 0.4947 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.5009, allocations: 29.34 kB / 0.4947 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.501, allocations: 0 / 0.4947 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.501, allocations: 34.5 kB / 0.4948 GB, free: 10.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 4.331e-06/0.501, allocations: 4 kB / 0.4948 GB, free: 10.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002121/0.5012, allocations: 69.36 kB / 0.4948 GB, free: 9.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5013, allocations: 51.41 kB / 0.4949 GB, free: 9.887 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.5017, allocations: 287.3 kB / 0.4952 GB, free: 9.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.5018, allocations: 25.7 kB / 0.4952 GB, free: 9.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.502, allocations: 230.8 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.502, allocations: 19.88 kB / 0.4954 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.5021, allocations: 4 kB / 0.4954 GB, free: 9.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5022, allocations: 330.9 kB / 0.4958 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5024, allocations: 59.98 kB / 0.4958 GB, free: 8.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.5026, allocations: 78.97 kB / 0.4959 GB, free: 8.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5028, allocations: 76.41 kB / 0.496 GB, free: 8.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-06/0.5028, allocations: 0 / 0.496 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004975/0.5033, allocations: 213.4 kB / 0.4962 GB, free: 8.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5034, allocations: 8 kB / 0.4962 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.328e-06/0.5034, allocations: 4.031 kB / 0.4962 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5034, allocations: 7.969 kB / 0.4962 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.5038, allocations: 71.81 kB / 0.4963 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.154e-06/0.5039, allocations: 0 / 0.4963 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.5042, allocations: 43.52 kB / 0.4963 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.5042, allocations: 8 kB / 0.4963 GB, free: 8.418 MB / 426.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 (30): * Single equations (assignments): 30 * 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.0001014/0.5043, allocations: 112 kB / 0.4964 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.5044, allocations: 23.77 kB / 0.4964 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.5045, allocations: 24.89 kB / 0.4965 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.584e-06/0.5045, allocations: 4 kB / 0.4965 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.362e-06/0.5045, allocations: 0 / 0.4965 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-06/0.5045, allocations: 0 / 0.4965 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.5054, allocations: 0.5032 MB / 0.4969 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-06/0.5054, allocations: 7.938 kB / 0.497 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.5055, allocations: 3.984 kB / 0.497 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-06/0.5055, allocations: 4 kB / 0.497 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-06/0.5055, allocations: 4.062 kB / 0.497 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.536e-06/0.5055, allocations: 0 / 0.497 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.09e-06/0.5055, allocations: 0 / 0.497 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.5057, allocations: 107.5 kB / 0.4971 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5059, allocations: 108.7 kB / 0.4972 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.5059, allocations: 4.031 kB / 0.4972 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.5061, allocations: 4 kB / 0.4972 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.5061, allocations: 3.938 kB / 0.4972 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.5061, allocations: 0 / 0.4972 GB, free: 7.395 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.5064, allocations: 219.1 kB / 0.4974 GB, free: 7.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.5065, allocations: 0 / 0.4974 GB, free: 7.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000375/0.5068, allocations: 63.84 kB / 0.4975 GB, free: 7.117 MB / 426.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 (2): * Single equations (assignments): 2 * 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.0001213/0.507, allocations: 99.23 kB / 0.4976 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.5073, allocations: 107.9 kB / 0.4977 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.888e-06/0.5073, allocations: 4 kB / 0.4977 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.5073, allocations: 4 kB / 0.4977 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.5076, allocations: 28.77 kB / 0.4977 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.5082, allocations: 236 kB / 0.4979 GB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.5087, allocations: 0.748 MB / 0.4986 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.5089, allocations: 22.06 kB / 0.4987 GB, free: 5.809 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.5089, allocations: 19.44 kB / 0.4987 GB, free: 5.793 MB / 426.7 MB Notification: Performance of SimCode: time 1.529e-06/0.509, allocations: 0 / 0.4987 GB, free: 5.793 MB / 426.7 MB Notification: Performance of Templates: time 0.006348/0.5153, allocations: 1.605 MB / 0.5003 GB, free: 4.207 MB / 426.7 MB