Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.414e-05/4.452e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.351, allocations: 77.79 MB / 341.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.3513, allocations: 79.95 kB / 341.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3761/0.7275, allocations: 35.76 MB / 377.4 MB, free: 83.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.842e-06/0.7275, allocations: 0 / 377.4 MB, free: 83.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.098e-05/0.7276, allocations: 19 kB / 377.4 MB, free: 83.51 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002198/0.7298, allocations: 1.131 MB / 378.6 MB, free: 82.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.7298, allocations: 11.84 kB / 378.6 MB, free: 82.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.7301, allocations: 116.8 kB / 378.7 MB, free: 82.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.7311, allocations: 0.5994 MB / 379.3 MB, free: 82.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.7313, allocations: 85.39 kB / 379.4 MB, free: 82.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7315, allocations: 96.66 kB / 379.5 MB, free: 82.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.7334, allocations: 0.9273 MB / 380.4 MB, free: 82.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.7335, allocations: 8.875 kB / 380.4 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.7336, allocations: 38.19 kB / 380.4 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.7336, allocations: 24.19 kB / 380.5 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.7354, allocations: 0.7581 MB / 381.2 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005997/0.7414, allocations: 3.553 MB / 384.8 MB, free: 81.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.7429, allocations: 0.784 MB / 385.6 MB, free: 80.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/0.7438, allocations: 459.3 kB / 386 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.7438, allocations: 12.06 kB / 386 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7439, allocations: 50.69 kB / 386.1 MB, free: 80.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.308e-06/0.7439, allocations: 0 / 386.1 MB, free: 80.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01065/0.7546, allocations: 4.278 MB / 390.3 MB, free: 78.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.7546, allocations: 92.02 kB / 390.4 MB, free: 78.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.7555, allocations: 0.5301 MB / 391 MB, free: 77.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-05/0.7556, allocations: 45.45 kB / 391 MB, free: 77.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.7558, allocations: 419.2 kB / 391.4 MB, free: 77.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.7562, allocations: 445.2 kB / 391.9 MB, free: 77.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.7563, allocations: 27.59 kB / 391.9 MB, free: 77.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7564, allocations: 397.8 kB / 392.3 MB, free: 76.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008319/0.7573, allocations: 375.5 kB / 392.6 MB, free: 76.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.7582, allocations: 0.4987 MB / 393.1 MB, free: 76.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/0.7591, allocations: 424.2 kB / 393.5 MB, free: 75.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-06/0.7592, allocations: 3.953 kB / 393.6 MB, free: 75.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002585/0.7617, allocations: 1.202 MB / 394.8 MB, free: 74.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.7618, allocations: 8 kB / 394.8 MB, free: 74.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7618, allocations: 320 / 394.8 MB, free: 74.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.7624, allocations: 158.3 kB / 394.9 MB, free: 74.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7638, allocations: 289.7 kB / 395.2 MB, free: 74.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.7677, allocations: 4.765 MB / 400 MB, free: 69.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.7688, allocations: 81.8 kB / 400 MB, free: 69.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.769, allocations: 39.33 kB / 400.1 MB, free: 69.29 MB / 314.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 (142): * Single equations (assignments): 139 * 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%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003955/0.7694, allocations: 164.8 kB / 400.2 MB, free: 69.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/0.7699, allocations: 96.8 kB / 400.3 MB, free: 69.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.7718, allocations: 0.7987 MB / 401.1 MB, free: 68.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.7718, allocations: 12 kB / 401.1 MB, free: 68.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.7719, allocations: 4 kB / 401.2 MB, free: 68.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.7719, allocations: 3.891 kB / 401.2 MB, free: 68.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00552/0.7774, allocations: 2.981 MB / 404.1 MB, free: 65.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.966e-06/0.7775, allocations: 3.125 kB / 404.1 MB, free: 65.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7788, allocations: 256.6 kB / 404.4 MB, free: 65.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/0.7794, allocations: 127.7 kB / 404.5 MB, free: 65.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.7795, allocations: 28 kB / 404.5 MB, free: 65.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.7833, allocations: 4.381 MB / 408.9 MB, free: 60.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.7834, allocations: 11.11 kB / 408.9 MB, free: 60.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008216/0.7916, allocations: 1.947 MB / 410.9 MB, free: 58.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.7923, allocations: 170.8 kB / 411 MB, free: 58.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000478/0.7928, allocations: 39.09 kB / 411.1 MB, free: 58.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/0.7948, allocations: 73.45 kB / 411.2 MB, free: 58.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.795, allocations: 95.61 kB / 411.3 MB, free: 58.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.7951, allocations: 35.84 kB / 411.3 MB, free: 58.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007081/0.7958, allocations: 436 kB / 411.7 MB, free: 57.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.13e-07/0.7959, allocations: 0 / 411.7 MB, free: 57.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001424/0.7973, allocations: 275.9 kB / 412 MB, free: 57.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,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 (122): * Single equations (assignments): 119 * 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.0002629/0.7976, allocations: 153.8 kB / 412.1 MB, free: 57.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.8001, allocations: 1.322 MB / 413.5 MB, free: 56.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8001, allocations: 0 / 413.5 MB, free: 56.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.8016, allocations: 0.896 MB / 414.4 MB, free: 55.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8028, allocations: 160.9 kB / 414.5 MB, free: 55.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.8066, allocations: 1.779 MB / 416.3 MB, free: 53.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.8072, allocations: 1.06 MB / 417.3 MB, free: 52.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008383/0.8081, allocations: 121.8 kB / 417.5 MB, free: 52.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.8084, allocations: 82.7 kB / 417.5 MB, free: 52.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.769e-06/0.8084, allocations: 0 / 417.5 MB, free: 52.36 MB / 314.7 MB Notification: Performance of Templates: time 0.02728/0.8357, allocations: 11.64 MB / 429.2 MB, free: 41.38 MB / 314.7 MB