Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 0.9703/0.9703, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.793e-05, allocations: 4 kB / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 25.15 MB / 176.6 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06489/0.2064, allocations: 42.24 MB / 218.8 MB, free: 7.199 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.2067, allocations: 71.95 kB / 218.9 MB, free: 7.125 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1468/0.3536, allocations: 35.01 MB / 253.9 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.96e-06/0.3536, allocations: 0 / 253.9 MB, free: 3.977 MB / 218.7 MB Notification: Performance of Transformations before backend: time 5.159e-05/0.3537, allocations: 23.94 kB / 253.9 MB, free: 3.953 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.00268/0.3563, allocations: 1.112 MB / 255 MB, free: 2.793 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3564, allocations: 12.03 kB / 255 MB, free: 2.781 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.3567, allocations: 126.6 kB / 255.1 MB, free: 2.656 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.358, allocations: 0.5647 MB / 255.7 MB, free: 2.051 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.3582, allocations: 81.98 kB / 255.8 MB, free: 1.969 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.3584, allocations: 92 kB / 255.9 MB, free: 1.879 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.3607, allocations: 0.9034 MB / 256.8 MB, free: 0.957 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.3608, allocations: 11.91 kB / 256.8 MB, free: 0.9453 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.3609, allocations: 36 kB / 256.8 MB, free: 0.9102 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.361, allocations: 24 kB / 256.9 MB, free: 0.8867 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.363, allocations: 0.7422 MB / 257.6 MB, free: 152 kB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1963/0.5593, allocations: 3.51 MB / 261.1 MB, free: 52.79 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.5609, allocations: 0.7252 MB / 261.8 MB, free: 52.73 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009523/0.5619, allocations: 445.5 kB / 262.3 MB, free: 52.71 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.562, allocations: 15.19 kB / 262.3 MB, free: 52.71 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.562, allocations: 51.89 kB / 262.3 MB, free: 52.67 MB / 218.7 MB Notification: Performance of pre-optimization done (n=91): time 4.405e-06/0.562, allocations: 0 / 262.3 MB, free: 52.67 MB / 218.7 MB Notification: Performance of matching and sorting (n=127): time 0.01084/0.5729, allocations: 4.175 MB / 266.5 MB, free: 51.45 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.573, allocations: 89.89 kB / 266.6 MB, free: 51.36 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/0.5738, allocations: 0.5221 MB / 267.1 MB, free: 51.25 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.5739, allocations: 48.39 kB / 267.2 MB, free: 51.21 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.5741, allocations: 435 kB / 267.6 MB, free: 50.98 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.5744, allocations: 440.5 kB / 268 MB, free: 50.71 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.5745, allocations: 25.25 kB / 268 MB, free: 50.71 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.5746, allocations: 353.9 kB / 268.4 MB, free: 50.4 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.5755, allocations: 360.3 kB / 268.7 MB, free: 50.4 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008881/0.5764, allocations: 0.4885 MB / 269.2 MB, free: 50.29 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.5774, allocations: 417.9 kB / 269.6 MB, free: 50.29 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.877e-06/0.5774, allocations: 0 / 269.6 MB, free: 50.29 MB / 218.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00258/0.58, allocations: 1.142 MB / 270.8 MB, free: 50.05 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.58, allocations: 4.719 kB / 270.8 MB, free: 50.05 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5801, allocations: 7.531 kB / 270.8 MB, free: 50.05 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.5806, allocations: 148.7 kB / 270.9 MB, free: 50 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.5822, allocations: 283.7 kB / 271.2 MB, free: 49.99 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.5862, allocations: 4.768 MB / 276 MB, free: 45.5 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.5875, allocations: 82.11 kB / 276.1 MB, free: 45.48 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.5876, allocations: 38.7 kB / 276.1 MB, free: 45.47 MB / 218.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.5879, allocations: 171.9 kB / 276.3 MB, free: 45.32 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.5882, allocations: 94.25 kB / 276.4 MB, free: 45.28 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.5899, allocations: 0.7696 MB / 277.1 MB, free: 44.91 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.59, allocations: 17.72 kB / 277.1 MB, free: 44.91 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.59, allocations: 6.812 kB / 277.2 MB, free: 44.91 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.59, allocations: 11.27 kB / 277.2 MB, free: 44.9 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/0.5954, allocations: 2.908 MB / 280.1 MB, free: 43.32 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5955, allocations: 3.719 kB / 280.1 MB, free: 43.32 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.5969, allocations: 246.3 kB / 280.3 MB, free: 43.3 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.5975, allocations: 132.5 kB / 280.4 MB, free: 43.25 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.5976, allocations: 32.31 kB / 280.5 MB, free: 43.23 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003522/0.6012, allocations: 4.379 MB / 284.9 MB, free: 38.98 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.254e-06/0.6012, allocations: 0 / 284.9 MB, free: 38.98 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.6047, allocations: 1.906 MB / 286.8 MB, free: 37.82 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.6051, allocations: 165.8 kB / 286.9 MB, free: 37.67 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.6053, allocations: 31.28 kB / 287 MB, free: 37.65 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.6063, allocations: 80.23 kB / 287 MB, free: 37.63 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.6065, allocations: 91.31 kB / 287.1 MB, free: 37.62 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.6066, allocations: 35.34 kB / 287.2 MB, free: 37.61 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0006711/0.6073, allocations: 421.5 kB / 287.6 MB, free: 37.41 MB / 218.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.6073, allocations: 0 / 287.6 MB, free: 37.41 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001402/0.6087, allocations: 266.6 kB / 287.8 MB, free: 37.38 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.mmf_PM.Phi,pmActuator.armature.stopper_xMin.v_rel,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 115 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/0.609, allocations: 160.4 kB / 288 MB, free: 37.25 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.6116, allocations: 1.316 MB / 289.3 MB, free: 36.55 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.488e-06/0.6116, allocations: 0 / 289.3 MB, free: 36.55 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.6131, allocations: 0.8764 MB / 290.2 MB, free: 36.01 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6144, allocations: 178.5 kB / 290.4 MB, free: 35.96 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.6182, allocations: 1.794 MB / 292.1 MB, free: 34.98 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.6188, allocations: 1.052 MB / 293.2 MB, free: 34.26 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.6194, allocations: 88.97 kB / 293.3 MB, free: 34.25 MB / 218.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6194, allocations: 0 / 293.3 MB, free: 34.25 MB / 218.7 MB Notification: Performance of Templates: time 0.03061/0.65, allocations: 25.96 MB / 319.2 MB, free: 12.66 MB / 218.7 MB