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_cpp_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 234.9 MB / 250.1 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.086e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4518, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004299/0.4562, allocations: 2.334 MB / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.4581, allocations: 0.648 MB / 365.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.4586, allocations: 9.531 kB / 365.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.4587, allocations: 40.59 kB / 365.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.4592, allocations: 109.8 kB / 366 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.4596, allocations: 81.89 kB / 366.1 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.4603, allocations: 236.1 kB / 366.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.4606, allocations: 80.02 kB / 366.4 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.461, allocations: 139.9 kB / 366.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.4614, allocations: 164.4 kB / 366.7 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.4615, allocations: 14.75 kB / 366.7 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-05/0.4616, allocations: 16.16 kB / 366.7 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.4617, allocations: 62.98 kB / 366.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.4618, allocations: 32.75 kB / 366.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.4624, allocations: 342.8 kB / 367.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4624, allocations: 0 / 367.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4625, allocations: 1.031 kB / 367.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.4625, allocations: 0 / 367.1 MB, free: 8.742 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.001949/0.4645, allocations: 0.6155 MB / 367.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4645, allocations: 8.719 kB / 367.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.4647, allocations: 40.38 kB / 367.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.4653, allocations: 282.5 kB / 368.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.4654, allocations: 29 kB / 368.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.4655, allocations: 44.88 kB / 368.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4666, allocations: 345.4 kB / 368.5 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.4667, allocations: 0.9688 kB / 368.5 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.4668, allocations: 15.09 kB / 368.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.4668, allocations: 13.53 kB / 368.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4679, allocations: 311.1 kB / 368.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.4717, allocations: 1.353 MB / 370.2 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008365/0.4726, allocations: 286.3 kB / 370.4 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.4727, allocations: 4.281 kB / 370.5 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.4728, allocations: 34.84 kB / 370.5 MB, free: 6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.685e-06/0.4728, allocations: 0 / 370.5 MB, free: 6 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001416/0.4742, allocations: 399 kB / 370.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4743, allocations: 59.41 kB / 370.9 MB, free: 5.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.4747, allocations: 229.8 kB / 371.2 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.4748, allocations: 33.7 kB / 371.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.475, allocations: 258.3 kB / 371.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.4752, allocations: 122.3 kB / 371.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.4752, allocations: 4 kB / 371.6 MB, free: 4.883 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4754, allocations: 330.8 kB / 371.9 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.4758, allocations: 108.8 kB / 372 MB, free: 4.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.4763, allocations: 175.5 kB / 372.2 MB, free: 4.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.4768, allocations: 125.6 kB / 372.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4769, allocations: 4 kB / 372.3 MB, free: 4.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001146/0.478, allocations: 363.2 kB / 372.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4781, allocations: 8 kB / 372.7 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4781, allocations: 4 kB / 372.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4781, allocations: 4 kB / 372.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.479, allocations: 103.9 kB / 372.8 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4791, allocations: 4 kB / 372.8 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.4796, allocations: 43.58 kB / 372.8 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.4796, allocations: 12 kB / 372.8 MB, free: 3.59 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.000242/0.4799, allocations: 161.7 kB / 373 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.48, allocations: 31.58 kB / 373 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.4811, allocations: 334.1 kB / 373.3 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4811, allocations: 11.94 kB / 373.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4812, allocations: 0 / 373.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4812, allocations: 0 / 373.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.4819, allocations: 401.2 kB / 373.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4819, allocations: 0 / 373.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.4827, allocations: 83.88 kB / 373.8 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4827, allocations: 4 kB / 373.8 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.4828, allocations: 11.94 kB / 373.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.4828, allocations: 7.938 kB / 373.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4828, allocations: 8 kB / 373.9 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.4843, allocations: 0.5301 MB / 374.4 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.4845, allocations: 124.7 kB / 374.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.4846, allocations: 4 kB / 374.5 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.485, allocations: 19.94 kB / 374.5 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.4851, allocations: 23.97 kB / 374.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.4852, allocations: 8 kB / 374.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002797/0.4855, allocations: 190 kB / 374.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4855, allocations: 0 / 374.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005288/0.486, allocations: 95.81 kB / 374.8 MB, free: 1.473 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.000152/0.4862, allocations: 111.1 kB / 374.9 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.4872, allocations: 283.9 kB / 375.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4872, allocations: 4.062 kB / 375.2 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4876, allocations: 139.8 kB / 375.4 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.488, allocations: 20.56 kB / 375.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4903, allocations: 0.9677 MB / 376.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4907, allocations: 0.7913 MB / 377.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.491, allocations: 31.42 kB / 377.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.491, allocations: 0 / 377.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01001/0.501, allocations: 3.744 MB / 380.9 MB, free: 11.34 MB / 314.7 MB