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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.631/1.631, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.068e-05, allocations: 4 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2106, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.3262, allocations: 77.79 MB / 341.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.3265, allocations: 79.95 kB / 341.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3238/0.6502, allocations: 35.75 MB / 377.4 MB, free: 83.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.04e-06/0.6503, allocations: 0 / 377.4 MB, free: 83.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.735e-05/0.6503, allocations: 21.81 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.002487/0.6528, allocations: 1.132 MB / 378.5 MB, free: 82.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6529, allocations: 14.72 kB / 378.5 MB, free: 82.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.6532, allocations: 123.2 kB / 378.7 MB, free: 82.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6544, allocations: 0.5946 MB / 379.3 MB, free: 82.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.6546, allocations: 87 kB / 379.3 MB, free: 82.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.6548, allocations: 97.25 kB / 379.4 MB, free: 82.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.6568, allocations: 0.9204 MB / 380.4 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.6569, allocations: 14.55 kB / 380.4 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.657, allocations: 37.44 kB / 380.4 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.6571, allocations: 26.34 kB / 380.4 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.659, allocations: 0.7582 MB / 381.2 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006757/0.6657, allocations: 3.555 MB / 384.8 MB, free: 81.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.6673, allocations: 0.7833 MB / 385.5 MB, free: 80.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/0.6683, allocations: 463 kB / 386 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.6684, allocations: 19.12 kB / 386 MB, free: 80.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6684, allocations: 42.97 kB / 386 MB, free: 80.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.604e-06/0.6685, allocations: 0 / 386 MB, free: 80.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01146/0.6799, allocations: 4.264 MB / 390.3 MB, free: 78.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.68, allocations: 97.36 kB / 390.4 MB, free: 78.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.6809, allocations: 0.5304 MB / 390.9 MB, free: 77.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.681, allocations: 52.14 kB / 391 MB, free: 77.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.6812, allocations: 440.5 kB / 391.4 MB, free: 77.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.6816, allocations: 449.3 kB / 391.9 MB, free: 77.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.6817, allocations: 23.94 kB / 391.9 MB, free: 77.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.6818, allocations: 364.5 kB / 392.2 MB, free: 76.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/0.6827, allocations: 369.4 kB / 392.6 MB, free: 76.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009812/0.6837, allocations: 0.4916 MB / 393.1 MB, free: 76.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.6847, allocations: 428.4 kB / 393.5 MB, free: 76.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6847, allocations: 7.953 kB / 393.5 MB, free: 76.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002735/0.6874, allocations: 1.157 MB / 394.7 MB, free: 74.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6875, allocations: 8 kB / 394.7 MB, free: 74.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6875, allocations: 0 / 394.7 MB, free: 74.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.6881, allocations: 153.3 kB / 394.8 MB, free: 74.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.6897, allocations: 291.4 kB / 395.1 MB, free: 74.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.6937, allocations: 4.761 MB / 399.9 MB, free: 69.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.6949, allocations: 80.81 kB / 400 MB, free: 69.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.6951, allocations: 43.7 kB / 400 MB, free: 69.41 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.0002664/0.6954, allocations: 172.5 kB / 400.2 MB, free: 69.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.6956, allocations: 94.83 kB / 400.3 MB, free: 69.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.6974, allocations: 0.7867 MB / 401 MB, free: 68.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.6974, allocations: 16 kB / 401.1 MB, free: 68.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.6974, allocations: 0 / 401.1 MB, free: 68.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.6975, allocations: 7.312 kB / 401.1 MB, free: 68.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.703, allocations: 2.983 MB / 404.1 MB, free: 65.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.7031, allocations: 0 / 404.1 MB, free: 65.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.7045, allocations: 253.1 kB / 404.3 MB, free: 65.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.705, allocations: 128.5 kB / 404.4 MB, free: 65.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.7051, allocations: 27.94 kB / 404.5 MB, free: 65.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.7084, allocations: 4.388 MB / 408.8 MB, free: 60.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-06/0.7084, allocations: 7.969 kB / 408.8 MB, free: 60.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/0.7119, allocations: 1.951 MB / 410.8 MB, free: 58.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.7122, allocations: 171.5 kB / 411 MB, free: 58.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.7124, allocations: 28 kB / 411 MB, free: 58.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009175/0.7134, allocations: 77.36 kB / 411.1 MB, free: 58.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.7136, allocations: 91.48 kB / 411.2 MB, free: 58.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7137, allocations: 42.64 kB / 411.2 MB, free: 58.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000722/0.7144, allocations: 432.2 kB / 411.6 MB, free: 58 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.7144, allocations: 3.938 kB / 411.6 MB, free: 58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00144/0.7159, allocations: 276 kB / 411.9 MB, free: 57.73 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.0002677/0.7162, allocations: 158.6 kB / 412.1 MB, free: 57.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.7187, allocations: 1.324 MB / 413.4 MB, free: 56.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.344e-06/0.7188, allocations: 0 / 413.4 MB, free: 56.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.7202, allocations: 0.8965 MB / 414.3 MB, free: 55.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.7215, allocations: 152.9 kB / 414.4 MB, free: 55.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.7256, allocations: 1.81 MB / 416.2 MB, free: 53.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.7262, allocations: 1.06 MB / 417.3 MB, free: 52.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.7268, allocations: 97.86 kB / 417.4 MB, free: 52.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.7268, allocations: 4 kB / 417.4 MB, free: 52.51 MB / 314.7 MB Notification: Performance of Templates: time 0.03017/0.757, allocations: 26.41 MB / 443.8 MB, free: 26.71 MB / 314.7 MB