Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.178/1.178, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.829e-05, allocations: 7.984 kB / 154.5 MB, free: 2.816 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05499/0.05504, allocations: 25.17 MB / 179.7 MB, free: 9.605 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005768/0.06085, allocations: 3.306 MB / 183 MB, free: 6.285 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.0642, allocations: 1.228 MB / 184.2 MB, free: 5.055 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.06484, allocations: 19.94 kB / 184.2 MB, free: 5.035 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.06566, allocations: 362.9 kB / 184.6 MB, free: 4.68 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.06685, allocations: 371 kB / 185 MB, free: 4.316 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.06758, allocations: 147.8 kB / 185.1 MB, free: 4.172 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.06889, allocations: 483.3 kB / 185.6 MB, free: 3.699 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.06933, allocations: 162.1 kB / 185.7 MB, free: 3.543 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.07, allocations: 275.3 kB / 186 MB, free: 3.273 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007335/0.07075, allocations: 362.9 kB / 186.4 MB, free: 2.918 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.07098, allocations: 40 kB / 186.4 MB, free: 2.879 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.07114, allocations: 32 kB / 186.4 MB, free: 2.848 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.07136, allocations: 151.4 kB / 186.6 MB, free: 2.699 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.07159, allocations: 64 kB / 186.6 MB, free: 2.637 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.07301, allocations: 0.9469 MB / 187.6 MB, free: 1.688 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.07304, allocations: 0 / 187.6 MB, free: 1.688 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.07305, allocations: 0 / 187.6 MB, free: 1.688 MB / 154.7 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.07309, allocations: 0 / 187.6 MB, free: 1.688 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003135/0.07624, allocations: 0.9707 MB / 188.6 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.07631, allocations: 8.031 kB / 188.6 MB, free: 0.6562 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.07664, allocations: 90.88 kB / 188.7 MB, free: 0.5664 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.07807, allocations: 0.5076 MB / 189.2 MB, free: 16 kB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.0783, allocations: 49.36 kB / 189.2 MB, free: 15.96 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.07849, allocations: 59.95 kB / 189.3 MB, free: 15.91 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.08078, allocations: 0.7181 MB / 190 MB, free: 15.18 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.08087, allocations: 4 kB / 190 MB, free: 15.17 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.08099, allocations: 24 kB / 190 MB, free: 15.15 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.08102, allocations: 16 kB / 190 MB, free: 15.13 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.08352, allocations: 0.6453 MB / 190.7 MB, free: 14.49 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006427/0.09, allocations: 2.544 MB / 193.2 MB, free: 11.8 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.09178, allocations: 0.5274 MB / 193.8 MB, free: 11.27 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.0919, allocations: 8.438 kB / 193.8 MB, free: 11.26 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.09196, allocations: 38.95 kB / 193.8 MB, free: 11.21 MB / 170.7 MB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.09197, allocations: 0 / 193.8 MB, free: 11.21 MB / 170.7 MB Notification: Performance of matching and sorting (n=59): time 0.008909/0.1009, allocations: 1.985 MB / 195.8 MB, free: 9.219 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.101, allocations: 59.97 kB / 195.8 MB, free: 9.148 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.1025, allocations: 0.6559 MB / 196.5 MB, free: 8.484 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.1027, allocations: 33.7 kB / 196.5 MB, free: 8.445 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.1031, allocations: 406.5 kB / 196.9 MB, free: 8.043 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.1034, allocations: 197.1 kB / 197.1 MB, free: 7.848 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.1034, allocations: 12 kB / 197.1 MB, free: 7.836 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1036, allocations: 338.8 kB / 197.5 MB, free: 7.496 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.1049, allocations: 329.1 kB / 197.8 MB, free: 7.172 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.1063, allocations: 419.5 kB / 198.2 MB, free: 6.73 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.1076, allocations: 355.1 kB / 198.5 MB, free: 6.387 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1077, allocations: 0 / 198.5 MB, free: 6.387 MB / 170.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00295/0.1106, allocations: 0.825 MB / 199.4 MB, free: 5.555 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.1107, allocations: 8 kB / 199.4 MB, free: 5.547 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1107, allocations: 0 / 199.4 MB, free: 5.547 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.1108, allocations: 8 kB / 199.4 MB, free: 5.539 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.1123, allocations: 179.8 kB / 199.6 MB, free: 5.363 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.1124, allocations: 4 kB / 199.6 MB, free: 5.359 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.1136, allocations: 55.97 kB / 199.6 MB, free: 5.305 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.1137, allocations: 23.98 kB / 199.6 MB, free: 5.281 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0006466/0.1144, allocations: 269.6 kB / 199.9 MB, free: 5.008 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.1146, allocations: 75.06 kB / 200 MB, free: 4.934 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.1175, allocations: 0.8424 MB / 200.8 MB, free: 4.082 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.1175, allocations: 4 kB / 200.8 MB, free: 4.078 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1176, allocations: 0 / 200.8 MB, free: 4.078 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.1176, allocations: 7.984 kB / 200.8 MB, free: 4.07 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.1228, allocations: 1.989 MB / 202.8 MB, free: 1.961 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.1228, allocations: 0 / 202.8 MB, free: 1.961 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.124, allocations: 139.8 kB / 203 MB, free: 1.824 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.124, allocations: 4 kB / 203 MB, free: 1.82 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.1241, allocations: 16.16 kB / 203 MB, free: 1.805 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.1241, allocations: 8 kB / 203 MB, free: 1.797 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.1241, allocations: 3.938 kB / 203 MB, free: 1.793 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.127, allocations: 1.03 MB / 204 MB, free: 0.6719 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.1276, allocations: 200.1 kB / 204.2 MB, free: 468 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.1278, allocations: 23.94 kB / 204.2 MB, free: 444 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.1286, allocations: 47.95 kB / 204.3 MB, free: 396 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.1287, allocations: 48.28 kB / 204.3 MB, free: 344 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.1288, allocations: 23.98 kB / 204.4 MB, free: 320 kB / 170.7 MB Notification: Performance of sorting global known variables: time 0.1631/0.2919, allocations: 0.5099 MB / 204.9 MB, free: 23.4 MB / 170.7 MB Notification: Performance of sort global known variables: time 1.473e-06/0.292, allocations: 0.875 kB / 204.9 MB, free: 23.4 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001566/0.2936, allocations: 145.9 kB / 205 MB, free: 23.4 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005545/0.2942, allocations: 138.2 kB / 205.1 MB, free: 23.31 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00405/0.2983, allocations: 0.7262 MB / 205.9 MB, free: 23.31 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.2984, allocations: 0 / 205.9 MB, free: 23.31 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.3003, allocations: 367.3 kB / 206.2 MB, free: 23.29 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.3022, allocations: 115.9 kB / 206.3 MB, free: 23.29 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.3083, allocations: 1.847 MB / 208.2 MB, free: 22.34 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3094, allocations: 0.9706 MB / 209.2 MB, free: 21.63 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/0.3101, allocations: 60.53 kB / 209.2 MB, free: 21.62 MB / 170.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3101, allocations: 0.7656 kB / 209.2 MB, free: 21.62 MB / 170.7 MB Notification: Performance of Templates: time 0.03213/0.3423, allocations: 9.24 MB / 218.5 MB, free: 17.81 MB / 170.7 MB