Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.243e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.3383, allocations: 79.2 MB / 343 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.3386, allocations: 83.95 kB / 343.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08716/0.4258, allocations: 21.32 MB / 364.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.4258, allocations: 0 / 364.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.823e-05/0.4259, allocations: 24 kB / 364.4 MB, free: 5.004 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003358/0.4293, allocations: 1.237 MB / 365.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4293, allocations: 8.031 kB / 365.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.4298, allocations: 135.1 kB / 365.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.4314, allocations: 0.6445 MB / 366.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4316, allocations: 81.94 kB / 366.5 MB, free: 2.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.4319, allocations: 88 kB / 366.6 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.4344, allocations: 0.9191 MB / 367.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/0.4345, allocations: 7.906 kB / 367.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.4346, allocations: 36 kB / 367.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.4347, allocations: 24 kB / 367.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.4368, allocations: 0.754 MB / 368.3 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2137/0.6506, allocations: 3.838 MB / 372.2 MB, free: 81.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.6529, allocations: 0.8361 MB / 373 MB, free: 81.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008695/0.6538, allocations: 379.1 kB / 373.4 MB, free: 81.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.6539, allocations: 16.27 kB / 373.4 MB, free: 81.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.654, allocations: 43.66 kB / 373.4 MB, free: 81.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 4.545e-06/0.654, allocations: 0 / 373.4 MB, free: 81.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.004937/0.6589, allocations: 1.642 MB / 375.1 MB, free: 81.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.659, allocations: 84.3 kB / 375.2 MB, free: 81.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.6604, allocations: 0.8011 MB / 376 MB, free: 81.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.6605, allocations: 39.55 kB / 376 MB, free: 81.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.6609, allocations: 0.511 MB / 376.5 MB, free: 81.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.6611, allocations: 291.8 kB / 376.8 MB, free: 80.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.6612, allocations: 18.41 kB / 376.8 MB, free: 80.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.6613, allocations: 344.9 kB / 377.2 MB, free: 80.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007995/0.6622, allocations: 298.5 kB / 377.4 MB, free: 80.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008384/0.663, allocations: 459.6 kB / 377.9 MB, free: 80.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.664, allocations: 363.7 kB / 378.3 MB, free: 80.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-06/0.664, allocations: 3.594 kB / 378.3 MB, free: 80.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002435/0.6664, allocations: 0.9386 MB / 379.2 MB, free: 80.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.6665, allocations: 37.7 kB / 379.2 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6666, allocations: 2.438 kB / 379.2 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/0.6666, allocations: 7.5 kB / 379.2 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.6684, allocations: 354.6 kB / 379.6 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/0.6685, allocations: 13.5 kB / 379.6 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6698, allocations: 116.7 kB / 379.7 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.67, allocations: 35.52 kB / 379.7 MB, free: 80.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,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 (122): * Single equations (assignments): 121 * 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.0002566/0.6703, allocations: 162 kB / 379.9 MB, free: 80.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.6705, allocations: 98.78 kB / 380 MB, free: 80.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.6719, allocations: 371.1 kB / 380.4 MB, free: 80.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.672, allocations: 10.31 kB / 380.4 MB, free: 80.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.672, allocations: 7.578 kB / 380.4 MB, free: 80 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.6721, allocations: 7.5 kB / 380.4 MB, free: 80 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009787/0.6819, allocations: 2.848 MB / 383.2 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/0.682, allocations: 11.75 kB / 383.3 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.6842, allocations: 275.8 kB / 383.5 MB, free: 78.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-05/0.6843, allocations: 18.17 kB / 383.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.6845, allocations: 30.98 kB / 383.6 MB, free: 78.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.95e-05/0.6845, allocations: 18.34 kB / 383.6 MB, free: 78.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-05/0.6846, allocations: 18.44 kB / 383.6 MB, free: 78.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.6876, allocations: 1.674 MB / 385.3 MB, free: 76.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.6883, allocations: 214.2 kB / 385.5 MB, free: 76.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.6886, allocations: 31.42 kB / 385.5 MB, free: 76.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.6906, allocations: 83.33 kB / 385.6 MB, free: 76.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.6909, allocations: 93.55 kB / 385.7 MB, free: 76.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.6911, allocations: 36.2 kB / 385.7 MB, free: 76.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001781/0.6929, allocations: 0.613 MB / 386.3 MB, free: 76.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.437e-06/0.6929, allocations: 0 / 386.3 MB, free: 76.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002391/0.6953, allocations: 238.2 kB / 386.6 MB, free: 76.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (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 (86): * Single equations (assignments): 86 * 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.001059/0.6964, allocations: 256.6 kB / 386.8 MB, free: 75.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.6993, allocations: 0.7512 MB / 387.6 MB, free: 75.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/0.6993, allocations: 0.9844 kB / 387.6 MB, free: 75.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.701, allocations: 391.7 kB / 388 MB, free: 75.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.7034, allocations: 181.4 kB / 388.1 MB, free: 75.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.7093, allocations: 1.553 MB / 389.7 MB, free: 74.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.7103, allocations: 1.054 MB / 390.7 MB, free: 73.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001636/0.712, allocations: 131.6 kB / 390.9 MB, free: 73.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.7126, allocations: 76.47 kB / 390.9 MB, free: 73.68 MB / 314.7 MB Notification: Performance of SimCode: time 2.678e-06/0.7126, allocations: 0 / 390.9 MB, free: 73.68 MB / 314.7 MB Notification: Performance of Templates: time 0.04501/0.7576, allocations: 10.36 MB / 401.3 MB, free: 67.86 MB / 314.7 MB