Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 0.9567/0.9567, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.69e-05, allocations: 0 / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 25.16 MB / 176.6 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06607/0.2122, allocations: 43.03 MB / 219.6 MB, free: 6.434 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.2125, allocations: 67.97 kB / 219.6 MB, free: 6.367 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08023/0.2927, allocations: 20.11 MB / 239.8 MB, free: 2.18 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.835e-06/0.2928, allocations: 0 / 239.8 MB, free: 2.18 MB / 202.7 MB Notification: Performance of Transformations before backend: time 6.035e-05/0.2928, allocations: 20 kB / 239.8 MB, free: 2.16 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002852/0.2957, allocations: 1.199 MB / 241 MB, free: 0.9141 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2958, allocations: 8.031 kB / 241 MB, free: 0.9062 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2961, allocations: 126.5 kB / 241.1 MB, free: 0.7812 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.2974, allocations: 0.6102 MB / 241.7 MB, free: 132 kB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.2976, allocations: 77.98 kB / 241.8 MB, free: 56 kB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.2978, allocations: 96.05 kB / 241.9 MB, free: 15.96 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.3004, allocations: 0.9503 MB / 242.8 MB, free: 15 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/0.3004, allocations: 4 kB / 242.8 MB, free: 14.99 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.3006, allocations: 40 kB / 242.9 MB, free: 14.95 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.3006, allocations: 20 kB / 242.9 MB, free: 14.93 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3027, allocations: 0.7851 MB / 243.7 MB, free: 14.15 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008393/0.3112, allocations: 3.843 MB / 247.5 MB, free: 10.11 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.3139, allocations: 0.8609 MB / 248.4 MB, free: 9.23 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3151, allocations: 402.1 kB / 248.8 MB, free: 8.832 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-05/0.3152, allocations: 20.14 kB / 248.8 MB, free: 8.812 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.009e-05/0.3153, allocations: 46.8 kB / 248.9 MB, free: 8.758 MB / 218.7 MB Notification: Performance of pre-optimization done (n=65): time 7.063e-06/0.3153, allocations: 0 / 248.9 MB, free: 8.758 MB / 218.7 MB Notification: Performance of matching and sorting (n=83): time 0.008739/0.3241, allocations: 1.829 MB / 250.7 MB, free: 6.926 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3242, allocations: 85.55 kB / 250.8 MB, free: 6.824 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.3262, allocations: 0.7228 MB / 251.5 MB, free: 6.094 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.3263, allocations: 41.7 kB / 251.5 MB, free: 6.047 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.3268, allocations: 0.5015 MB / 252 MB, free: 5.539 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.3271, allocations: 283.9 kB / 252.3 MB, free: 5.258 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.3272, allocations: 20 kB / 252.3 MB, free: 5.238 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3274, allocations: 346.8 kB / 252.7 MB, free: 4.891 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008715/0.3283, allocations: 338 kB / 253 MB, free: 4.562 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.3293, allocations: 482.2 kB / 253.5 MB, free: 4.043 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.3303, allocations: 371.1 kB / 253.8 MB, free: 3.68 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.354e-06/0.3303, allocations: 3.953 kB / 253.8 MB, free: 3.676 MB / 218.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002343/0.3327, allocations: 0.9315 MB / 254.8 MB, free: 2.734 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3327, allocations: 8.781 kB / 254.8 MB, free: 2.727 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3327, allocations: 4 kB / 254.8 MB, free: 2.723 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.3328, allocations: 11.98 kB / 254.8 MB, free: 2.711 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.3346, allocations: 343.9 kB / 255.1 MB, free: 2.375 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.3347, allocations: 11.94 kB / 255.1 MB, free: 2.363 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3363, allocations: 111.9 kB / 255.2 MB, free: 2.254 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.3365, allocations: 47.98 kB / 255.3 MB, free: 2.207 MB / 218.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (cActuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * 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.000406/0.337, allocations: 160.2 kB / 255.4 MB, free: 2.047 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.3375, allocations: 98.83 kB / 255.5 MB, free: 1.949 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.3395, allocations: 485.6 kB / 256 MB, free: 1.469 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.3395, allocations: 8 kB / 256 MB, free: 1.461 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3395, allocations: 0 / 256 MB, free: 1.461 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/0.3396, allocations: 11.98 kB / 256 MB, free: 1.449 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1295/0.4691, allocations: 2.858 MB / 258.9 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.4692, allocations: 12.34 kB / 258.9 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.4705, allocations: 262.9 kB / 259.2 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.4705, allocations: 17.44 kB / 259.2 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.4706, allocations: 30.7 kB / 259.2 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.4706, allocations: 23.02 kB / 259.2 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.4707, allocations: 12.78 kB / 259.2 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.4727, allocations: 1.725 MB / 261 MB, free: 55.41 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.473, allocations: 189.4 kB / 261.2 MB, free: 55.32 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.4732, allocations: 33.58 kB / 261.2 MB, free: 55.32 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.4742, allocations: 82.38 kB / 261.3 MB, free: 55.31 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4743, allocations: 88.03 kB / 261.4 MB, free: 55.3 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4744, allocations: 41.48 kB / 261.4 MB, free: 55.3 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.4755, allocations: 0.5583 MB / 262 MB, free: 55.2 MB / 218.7 MB Notification: Performance of sort global known variables: time 9.48e-07/0.4755, allocations: 0 / 262 MB, free: 55.2 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.00116/0.4767, allocations: 226.8 kB / 262.2 MB, free: 55.2 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (comparisonWithFEA.tableID,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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.0004026/0.4771, allocations: 191.7 kB / 262.4 MB, free: 55.11 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.4786, allocations: 0.7383 MB / 263.1 MB, free: 55.11 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.657e-06/0.4787, allocations: 3.25 kB / 263.1 MB, free: 55.11 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.4795, allocations: 395.7 kB / 263.5 MB, free: 55.11 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.481, allocations: 200.9 kB / 263.7 MB, free: 55.09 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.4843, allocations: 1.521 MB / 265.2 MB, free: 54.39 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.485, allocations: 1.038 MB / 266.2 MB, free: 53.69 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.4855, allocations: 83.3 kB / 266.3 MB, free: 53.69 MB / 218.7 MB Notification: Performance of SimCode: time 1.837e-06/0.4855, allocations: 2.844 kB / 266.3 MB, free: 53.69 MB / 218.7 MB Notification: Performance of Templates: time 0.04149/0.527, allocations: 12.47 MB / 278.8 MB, free: 52.66 MB / 218.7 MB