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 0.9668/0.9668, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.402e-05, allocations: 4 kB / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 25.15 MB / 176.6 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3064, allocations: 41.57 MB / 218.1 MB, free: 7.867 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.3067, allocations: 67.97 kB / 218.2 MB, free: 7.801 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05584/0.3625, allocations: 14.14 MB / 232.3 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3626, allocations: 0 / 232.3 MB, free: 9.605 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.012e-05/0.3626, allocations: 16 kB / 232.3 MB, free: 9.59 MB / 202.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.002132/0.3648, allocations: 0.9402 MB / 233.3 MB, free: 8.602 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3648, allocations: 8.031 kB / 233.3 MB, free: 8.594 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.3651, allocations: 98.81 kB / 233.4 MB, free: 8.496 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3661, allocations: 0.5076 MB / 233.9 MB, free: 7.949 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.3663, allocations: 50 kB / 233.9 MB, free: 7.902 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3665, allocations: 63.95 kB / 234 MB, free: 7.84 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.3682, allocations: 0.7235 MB / 234.7 MB, free: 7.098 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.3682, allocations: 4 kB / 234.7 MB, free: 7.094 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.844e-05/0.3684, allocations: 27.98 kB / 234.8 MB, free: 7.066 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.3684, allocations: 16 kB / 234.8 MB, free: 7.051 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.3699, allocations: 0.5922 MB / 235.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005683/0.3756, allocations: 2.729 MB / 238.1 MB, free: 3.59 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.3769, allocations: 0.5466 MB / 238.7 MB, free: 3.035 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/0.3778, allocations: 382.4 kB / 239 MB, free: 2.656 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.3779, allocations: 12.5 kB / 239 MB, free: 2.645 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.3779, allocations: 38.94 kB / 239.1 MB, free: 2.598 MB / 202.7 MB Notification: Performance of pre-optimization done (n=49): time 3.354e-06/0.378, allocations: 0 / 239.1 MB, free: 2.598 MB / 202.7 MB Notification: Performance of matching and sorting (n=65): time 0.005676/0.3836, allocations: 1.926 MB / 241 MB, free: 0.6758 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3837, allocations: 59.97 kB / 241.1 MB, free: 0.6055 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.3849, allocations: 0.6482 MB / 241.7 MB, free: 15.95 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.385, allocations: 33.7 kB / 241.7 MB, free: 15.91 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.3854, allocations: 398.5 kB / 242.1 MB, free: 15.52 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.3856, allocations: 220.8 kB / 242.3 MB, free: 15.3 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.3857, allocations: 16 kB / 242.4 MB, free: 15.28 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3859, allocations: 338.8 kB / 242.7 MB, free: 14.94 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.3867, allocations: 317.5 kB / 243 MB, free: 14.63 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.3876, allocations: 415.4 kB / 243.4 MB, free: 14.2 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000811/0.3884, allocations: 350 kB / 243.7 MB, free: 13.86 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.021e-06/0.3884, allocations: 0 / 243.7 MB, free: 13.86 MB / 218.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001971/0.3904, allocations: 0.8317 MB / 244.6 MB, free: 13.02 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3904, allocations: 4.781 kB / 244.6 MB, free: 13.01 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3905, allocations: 4 kB / 244.6 MB, free: 13.01 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3905, allocations: 4 kB / 244.6 MB, free: 13 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.3917, allocations: 204 kB / 244.8 MB, free: 12.8 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.3917, allocations: 11.94 kB / 244.8 MB, free: 12.79 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/0.3924, allocations: 63.95 kB / 244.9 MB, free: 12.73 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3926, allocations: 39.92 kB / 244.9 MB, free: 12.69 MB / 218.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 (87): * Single equations (assignments): 87 * 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.000211/0.3928, allocations: 144.8 kB / 245 MB, free: 12.54 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.393, allocations: 82.97 kB / 245.1 MB, free: 12.46 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.3951, allocations: 0.905 MB / 246 MB, free: 11.54 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3951, allocations: 8 kB / 246 MB, free: 11.53 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-06/0.3951, allocations: 3.938 kB / 246 MB, free: 11.53 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3951, allocations: 7.984 kB / 246.1 MB, free: 11.52 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004491/0.3996, allocations: 2.187 MB / 248.2 MB, free: 9.207 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.955e-06/0.3997, allocations: 0 / 248.2 MB, free: 9.207 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.4005, allocations: 147.8 kB / 248.4 MB, free: 9.062 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.4005, allocations: 4 kB / 248.4 MB, free: 9.059 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.4006, allocations: 23.98 kB / 248.4 MB, free: 9.035 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.4006, allocations: 7.938 kB / 248.4 MB, free: 9.027 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.864e-06/0.4006, allocations: 8.031 kB / 248.4 MB, free: 9.02 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.4027, allocations: 1.157 MB / 249.6 MB, free: 7.742 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.4032, allocations: 236 kB / 249.8 MB, free: 7.492 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.4033, allocations: 15.98 kB / 249.8 MB, free: 7.477 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.404, allocations: 55.97 kB / 249.9 MB, free: 7.422 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4041, allocations: 48.33 kB / 249.9 MB, free: 7.375 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.848e-05/0.4042, allocations: 43.92 kB / 250 MB, free: 7.332 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0009448/0.4052, allocations: 0.5147 MB / 250.5 MB, free: 6.824 MB / 218.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.4052, allocations: 0 / 250.5 MB, free: 6.824 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0007718/0.406, allocations: 160 kB / 250.6 MB, free: 6.668 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (65): * Single equations (assignments): 64 * 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.0004104/0.4064, allocations: 171.6 kB / 250.8 MB, free: 6.504 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.4078, allocations: 0.6185 MB / 251.4 MB, free: 5.887 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.94e-06/0.4078, allocations: 0.5625 kB / 251.4 MB, free: 5.887 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.4085, allocations: 333.6 kB / 251.8 MB, free: 5.562 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.4094, allocations: 123.4 kB / 251.9 MB, free: 5.441 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.412, allocations: 1.159 MB / 253 MB, free: 4.215 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.4129, allocations: 0.9748 MB / 254 MB, free: 3.215 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.4132, allocations: 63.41 kB / 254.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of SimCode: time 1.629e-06/0.4132, allocations: 4 kB / 254.1 MB, free: 3.148 MB / 218.7 MB Notification: Performance of Templates: time 0.1358/0.5491, allocations: 9.401 MB / 263.5 MB, free: 60.88 MB / 218.7 MB