Running command: translateModel(ModelicaTest.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_3.2.2_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 234.9 MB / 249.4 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.574e-05, allocations: 0 / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4472, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004594/0.4519, allocations: 2.34 MB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.4535, allocations: 0.645 MB / 365.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.4537, allocations: 9 kB / 365.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.4538, allocations: 45.81 kB / 365.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.4541, allocations: 101 kB / 366 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.4544, allocations: 85.92 kB / 366.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.4549, allocations: 231.7 kB / 366.3 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.4552, allocations: 93.09 kB / 366.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.4554, allocations: 134.6 kB / 366.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.4558, allocations: 159.8 kB / 366.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.4559, allocations: 16.31 kB / 366.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.4559, allocations: 21.25 kB / 366.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.456, allocations: 64.56 kB / 366.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.4561, allocations: 33.66 kB / 366.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.4566, allocations: 338.7 kB / 367.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4566, allocations: 1.031 kB / 367.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4566, allocations: 0 / 367.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4567, allocations: 0 / 367.2 MB, free: 8.914 MB / 298.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.001772/0.4584, allocations: 0.6193 MB / 367.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4585, allocations: 9.969 kB / 367.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4586, allocations: 40.16 kB / 367.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.4591, allocations: 285.5 kB / 368.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.4592, allocations: 29.31 kB / 368.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.4593, allocations: 36.16 kB / 368.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.4603, allocations: 337.9 kB / 368.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.4603, allocations: 5.156 kB / 368.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.4604, allocations: 16.03 kB / 368.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4604, allocations: 8.719 kB / 368.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4615, allocations: 310.8 kB / 368.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.4649, allocations: 1.354 MB / 370.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.4657, allocations: 280.7 kB / 370.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.4658, allocations: 12.27 kB / 370.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4658, allocations: 30.84 kB / 370.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 4.609e-06/0.4659, allocations: 4 kB / 370.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001374/0.4672, allocations: 395 kB / 370.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4673, allocations: 59.41 kB / 371 MB, free: 5.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.4677, allocations: 233.8 kB / 371.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.4677, allocations: 33.7 kB / 371.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4679, allocations: 203.9 kB / 371.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.468, allocations: 122.3 kB / 371.5 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.4681, allocations: 4 kB / 371.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4682, allocations: 338.8 kB / 371.9 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.4687, allocations: 112.8 kB / 372 MB, free: 4.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.4692, allocations: 175.4 kB / 372.2 MB, free: 4.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.4696, allocations: 125.6 kB / 372.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4697, allocations: 0 / 372.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001112/0.4708, allocations: 382.8 kB / 372.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4708, allocations: 4 kB / 372.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.4708, allocations: 4 kB / 372.7 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4709, allocations: 4 kB / 372.7 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.4718, allocations: 108.1 kB / 372.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.4718, allocations: 4 kB / 372.8 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.4723, allocations: 51.58 kB / 372.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.4723, allocations: 8 kB / 372.8 MB, free: 3.516 MB / 298.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.0002142/0.4726, allocations: 157.7 kB / 373 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.4726, allocations: 27.67 kB / 373 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4737, allocations: 342 kB / 373.3 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.4737, allocations: 4 kB / 373.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4737, allocations: 3.938 kB / 373.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4738, allocations: 0 / 373.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.4744, allocations: 401.2 kB / 373.7 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4745, allocations: 4 kB / 373.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/0.4752, allocations: 83.89 kB / 373.8 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.4753, allocations: 4 kB / 373.8 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4753, allocations: 11.94 kB / 373.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.4753, allocations: 4 kB / 373.8 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4753, allocations: 0 / 373.8 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4768, allocations: 0.5262 MB / 374.4 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.477, allocations: 124.7 kB / 374.5 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.4771, allocations: 4 kB / 374.5 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.4775, allocations: 28 kB / 374.5 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.4776, allocations: 19.97 kB / 374.5 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.4776, allocations: 8 kB / 374.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002794/0.4779, allocations: 190 kB / 374.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4779, allocations: 0 / 374.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004866/0.4784, allocations: 95.75 kB / 374.8 MB, free: 1.41 MB / 298.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.000147/0.4786, allocations: 107.1 kB / 374.9 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009717/0.4795, allocations: 283.5 kB / 375.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4796, allocations: 0 / 375.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.48, allocations: 148.2 kB / 375.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4804, allocations: 25.59 kB / 375.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.4826, allocations: 0.9281 MB / 376.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.4831, allocations: 0.7913 MB / 377.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.4835, allocations: 34.95 kB / 377.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.4836, allocations: 31.42 kB / 377.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.4836, allocations: 0 / 377.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.008992/0.4926, allocations: 2.367 MB / 379.5 MB, free: 12.67 MB / 314.7 MB