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 1.799/1.799, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.82e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07727/0.07732, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.454, allocations: 82.01 MB / 381.9 MB, free: 21.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004574/0.4545, allocations: 85.3 kB / 382 MB, free: 21.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06625/0.5208, allocations: 15.15 MB / 397.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.239e-06/0.5209, allocations: 0 / 397.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.954e-05/0.5209, allocations: 19.61 kB / 397.2 MB, free: 19.23 MB / 314.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.001843/0.5228, allocations: 0.9807 MB / 398.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5228, allocations: 11.62 kB / 398.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.5231, allocations: 101.4 kB / 398.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.5241, allocations: 0.528 MB / 398.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5242, allocations: 51.97 kB / 398.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5244, allocations: 58.62 kB / 398.9 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5257, allocations: 0.6009 MB / 399.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.5257, allocations: 0 / 399.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.5258, allocations: 26.47 kB / 399.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5259, allocations: 15.56 kB / 399.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.527, allocations: 498.7 kB / 400 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.5318, allocations: 2.663 MB / 402.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.5328, allocations: 454.4 kB / 403.1 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.5334, allocations: 271.9 kB / 403.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.5335, allocations: 10.92 kB / 403.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5335, allocations: 34.56 kB / 403.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.728e-06/0.5336, allocations: 0 / 403.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.004322/0.5379, allocations: 1.371 MB / 404.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.538, allocations: 59.78 kB / 404.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.5395, allocations: 0.8318 MB / 405.7 MB, free: 16.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/0.5396, allocations: 37.02 kB / 405.7 MB, free: 16.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.5399, allocations: 388.5 kB / 406.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.54, allocations: 234 kB / 406.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.5401, allocations: 15.09 kB / 406.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5402, allocations: 387.2 kB / 406.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.5408, allocations: 215.3 kB / 406.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/0.5414, allocations: 303.5 kB / 407.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.542, allocations: 262.1 kB / 407.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.085e-06/0.542, allocations: 3.969 kB / 407.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001554/0.5436, allocations: 0.6964 MB / 408.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.5436, allocations: 33.58 kB / 408.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5436, allocations: 3.938 kB / 408.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.5437, allocations: 3.906 kB / 408.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.5448, allocations: 203.8 kB / 408.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.5448, allocations: 7.844 kB / 408.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.5457, allocations: 64.23 kB / 408.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.5458, allocations: 30.2 kB / 408.5 MB, free: 15.58 MB / 314.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 (89): * Single equations (assignments): 88 * 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.0001693/0.546, allocations: 137.7 kB / 408.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.5462, allocations: 93.39 kB / 408.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.5476, allocations: 0.5739 MB / 409.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5476, allocations: 11.81 kB / 409.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.25e-06/0.5476, allocations: 3.938 kB / 409.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5476, allocations: 3.984 kB / 409.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.5511, allocations: 1.872 MB / 411.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5512, allocations: 3.938 kB / 411.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008754/0.5521, allocations: 145.2 kB / 411.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.5521, allocations: 8.062 kB / 411.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.5522, allocations: 22.7 kB / 411.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.5522, allocations: 11.75 kB / 411.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.638e-06/0.5522, allocations: 0 / 411.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.5535, allocations: 0.8218 MB / 412.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.554, allocations: 243 kB / 412.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.5541, allocations: 14.88 kB / 412.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.5549, allocations: 62.14 kB / 412.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.555, allocations: 43.73 kB / 412.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.5551, allocations: 26.42 kB / 412.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.5561, allocations: 0.6584 MB / 413.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-06/0.5561, allocations: 0 / 413.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000854/0.557, allocations: 178.4 kB / 413.4 MB, free: 13.46 MB / 314.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: 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 (66): * Single equations (assignments): 66 * 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.0007944/0.5578, allocations: 264 kB / 413.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.559, allocations: 0.5571 MB / 414.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.401e-06/0.559, allocations: 0 / 414.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.5596, allocations: 278.2 kB / 414.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.5605, allocations: 114 kB / 414.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.563, allocations: 1.187 MB / 415.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.5635, allocations: 0.9805 MB / 416.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006631/0.5642, allocations: 107.3 kB / 416.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.5645, allocations: 54.3 kB / 417 MB, free: 11.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.746e-06/0.5645, allocations: 4 kB / 417 MB, free: 11.74 MB / 314.7 MB Notification: Performance of Templates: time 0.02069/0.5852, allocations: 7.745 MB / 424.7 MB, free: 7.918 MB / 314.7 MB