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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.66/1.66, allocations: 171.2 MB / 183.8 MB, free: 12.01 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.937e-05, allocations: 0 / 225 MB, free: 2.77 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3286, allocations: 79.2 MB / 343 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3289, allocations: 83.95 kB / 343 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08578/0.4147, allocations: 21.31 MB / 364.4 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.406e-06/0.4148, allocations: 0 / 364.4 MB, free: 5.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.965e-05/0.4148, allocations: 24 kB / 364.4 MB, free: 5.047 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.003082/0.4179, allocations: 1.245 MB / 365.6 MB, free: 3.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.418, allocations: 8.031 kB / 365.6 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.4184, allocations: 131.1 kB / 365.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.4199, allocations: 0.6445 MB / 366.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.4201, allocations: 81.92 kB / 366.5 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.4203, allocations: 100 kB / 366.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.4227, allocations: 0.9113 MB / 367.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.4228, allocations: 3.906 kB / 367.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.4229, allocations: 40 kB / 367.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.423, allocations: 24 kB / 367.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.4251, allocations: 0.7539 MB / 368.3 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/0.6152, allocations: 3.842 MB / 372.2 MB, free: 82.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.6175, allocations: 0.8328 MB / 373 MB, free: 81.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000809/0.6184, allocations: 371.3 kB / 373.4 MB, free: 81.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.6185, allocations: 19.91 kB / 373.4 MB, free: 81.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6185, allocations: 40.62 kB / 373.4 MB, free: 81.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 3.861e-06/0.6185, allocations: 0 / 373.4 MB, free: 81.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.004562/0.6231, allocations: 1.638 MB / 375 MB, free: 81.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6232, allocations: 90.52 kB / 375.1 MB, free: 81.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.6245, allocations: 0.8 MB / 375.9 MB, free: 81.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/0.6246, allocations: 39.61 kB / 376 MB, free: 81.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.6249, allocations: 0.5141 MB / 376.5 MB, free: 81.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.6252, allocations: 292.4 kB / 376.8 MB, free: 80.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.6253, allocations: 16.12 kB / 376.8 MB, free: 80.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.6254, allocations: 349.9 kB / 377.1 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/0.6262, allocations: 295.8 kB / 377.4 MB, free: 80.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.627, allocations: 461 kB / 377.9 MB, free: 80.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.6278, allocations: 367.5 kB / 378.2 MB, free: 80.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.6279, allocations: 0 / 378.2 MB, free: 80.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002051/0.6299, allocations: 0.8846 MB / 379.1 MB, free: 80.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.63, allocations: 41.69 kB / 379.2 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.63, allocations: 3.531 kB / 379.2 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.6301, allocations: 7.719 kB / 379.2 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.6318, allocations: 349.9 kB / 379.5 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.6318, allocations: 12.66 kB / 379.5 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.6331, allocations: 114.7 kB / 379.6 MB, free: 80.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6332, allocations: 40.92 kB / 379.7 MB, free: 80.29 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.0002211/0.6334, allocations: 158.9 kB / 379.8 MB, free: 80.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.6337, allocations: 100.9 kB / 379.9 MB, free: 80.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.6346, allocations: 371.8 kB / 380.3 MB, free: 80.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.633e-06/0.6346, allocations: 7.844 kB / 380.3 MB, free: 80.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.753e-06/0.6346, allocations: 3.344 kB / 380.3 MB, free: 80.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.6346, allocations: 3.328 kB / 380.3 MB, free: 80.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005832/0.6405, allocations: 2.85 MB / 383.2 MB, free: 78.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.6405, allocations: 15.31 kB / 383.2 MB, free: 78.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.642, allocations: 274.4 kB / 383.4 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/0.6421, allocations: 14.22 kB / 383.5 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.6422, allocations: 29.62 kB / 383.5 MB, free: 78.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/0.6422, allocations: 22.12 kB / 383.5 MB, free: 78.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.6422, allocations: 14.78 kB / 383.5 MB, free: 78.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.6441, allocations: 1.681 MB / 385.2 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.6444, allocations: 218.6 kB / 385.4 MB, free: 76.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.6446, allocations: 30.47 kB / 385.4 MB, free: 76.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6458, allocations: 83.2 kB / 385.5 MB, free: 76.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.646, allocations: 92.94 kB / 385.6 MB, free: 76.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.6461, allocations: 32.94 kB / 385.6 MB, free: 76.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.6471, allocations: 0.6207 MB / 386.3 MB, free: 76.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.6472, allocations: 7.875 kB / 386.3 MB, free: 76.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001271/0.6484, allocations: 228.5 kB / 386.5 MB, free: 76.24 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.0006918/0.6492, allocations: 263.4 kB / 386.8 MB, free: 76.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.6508, allocations: 0.7447 MB / 387.5 MB, free: 75.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.391e-06/0.6508, allocations: 3.938 kB / 387.5 MB, free: 75.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009027/0.6517, allocations: 392 kB / 387.9 MB, free: 75.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.6531, allocations: 189.1 kB / 388.1 MB, free: 75.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.6565, allocations: 1.59 MB / 389.7 MB, free: 74.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000665/0.6572, allocations: 1.057 MB / 390.7 MB, free: 73.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.6578, allocations: 84.05 kB / 390.8 MB, free: 73.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.69e-06/0.6578, allocations: 0 / 390.8 MB, free: 73.77 MB / 314.7 MB Notification: Performance of Templates: time 0.021/0.6788, allocations: 12.87 MB / 403.7 MB, free: 65.65 MB / 314.7 MB