Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 0 / 258.8 MB, free: 7.848 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3017, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007831/0.3096, allocations: 3.557 MB / 306.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.3142, allocations: 1.494 MB / 308.4 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.3148, allocations: 19.94 kB / 308.4 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.3158, allocations: 370.8 kB / 308.8 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.3172, allocations: 386.9 kB / 309.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.318, allocations: 159.7 kB / 309.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.3194, allocations: 499.2 kB / 309.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.3199, allocations: 146.2 kB / 309.9 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007358/0.3206, allocations: 283.3 kB / 310.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009323/0.3216, allocations: 366.9 kB / 310.6 MB, free: 6.324 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.3219, allocations: 47.94 kB / 310.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.3221, allocations: 28 kB / 310.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.3224, allocations: 159.3 kB / 310.8 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.3226, allocations: 68 kB / 310.9 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.324, allocations: 0.9723 MB / 311.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3241, allocations: 4 kB / 311.8 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3241, allocations: 0 / 311.8 MB, free: 5.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.008e-05/0.3241, allocations: 3.938 kB / 311.8 MB, free: 5.047 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002819/0.327, allocations: 1.004 MB / 312.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.327, allocations: 8.031 kB / 312.8 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.3272, allocations: 94.83 kB / 312.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3285, allocations: 0.527 MB / 313.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3286, allocations: 53.3 kB / 313.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3288, allocations: 60 kB / 313.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.3308, allocations: 0.6558 MB / 314.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.3308, allocations: 3.938 kB / 314.2 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-05/0.3309, allocations: 28 kB / 314.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.3309, allocations: 15.95 kB / 314.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.3332, allocations: 0.5907 MB / 314.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005518/0.3387, allocations: 2.56 MB / 317.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3404, allocations: 489.7 kB / 317.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.3405, allocations: 12.42 kB / 317.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3405, allocations: 39 kB / 318 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.316e-06/0.3405, allocations: 4 kB / 318 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=60): time 0.008039/0.3486, allocations: 1.637 MB / 319.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3487, allocations: 63.95 kB / 319.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.3503, allocations: 0.8473 MB / 320.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.3504, allocations: 37.7 kB / 320.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.3509, allocations: 408 kB / 320.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.3511, allocations: 201 kB / 321.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.3512, allocations: 12 kB / 321.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.3515, allocations: 390.8 kB / 321.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3526, allocations: 269.8 kB / 321.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.3538, allocations: 355.1 kB / 322.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.3551, allocations: 328.8 kB / 322.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3551, allocations: 0 / 322.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002858/0.358, allocations: 0.7987 MB / 323.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.3581, allocations: 37.7 kB / 323.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3581, allocations: 0 / 323.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.3581, allocations: 11.98 kB / 323.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.3596, allocations: 175.8 kB / 323.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.3596, allocations: 15.94 kB / 323.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.3606, allocations: 51.95 kB / 323.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3607, allocations: 31.98 kB / 323.6 MB, free: 8.922 MB / 266.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: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0005204/0.3613, allocations: 257.7 kB / 323.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3615, allocations: 87.02 kB / 323.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.364, allocations: 0.6747 MB / 324.6 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.364, allocations: 8 kB / 324.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.364, allocations: 0 / 324.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.364, allocations: 3.984 kB / 324.6 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.3686, allocations: 1.811 MB / 326.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.3687, allocations: 4 kB / 326.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.3698, allocations: 144 kB / 326.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.3698, allocations: 4 kB / 326.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.3699, allocations: 19.95 kB / 326.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.3699, allocations: 7.984 kB / 326.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3699, allocations: 0 / 326.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.3723, allocations: 0.8621 MB / 327.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.3728, allocations: 208 kB / 327.7 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.3729, allocations: 12 kB / 327.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.3737, allocations: 47.97 kB / 327.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3739, allocations: 44.38 kB / 327.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.3739, allocations: 19.94 kB / 327.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.3752, allocations: 0.6825 MB / 328.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3752, allocations: 0 / 328.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007905/0.376, allocations: 160 kB / 328.6 MB, free: 3.641 MB / 266.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: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * 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.0006816/0.3767, allocations: 241.3 kB / 328.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.3792, allocations: 0.6664 MB / 329.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3792, allocations: 448 / 329.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.3803, allocations: 314.7 kB / 329.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.3812, allocations: 94.95 kB / 329.9 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.3852, allocations: 1.834 MB / 331.8 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.386, allocations: 0.9749 MB / 332.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000723/0.3867, allocations: 89.02 kB / 332.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.387, allocations: 51.42 kB / 332.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.387, allocations: 0 / 332.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of Templates: time 0.02143/0.4085, allocations: 6.627 MB / 339.5 MB, free: 8.688 MB / 282.7 MB