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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 2.156/2.156, allocations: 194.9 MB / 211.2 MB, free: 8.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.1e-05, allocations: 4 kB / 258.8 MB, free: 9.184 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.009704/0.3493, allocations: 3.559 MB / 306.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.3561, allocations: 1.487 MB / 308.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009848/0.3571, allocations: 19.94 kB / 308.4 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.3593, allocations: 370.8 kB / 308.7 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.3623, allocations: 390.9 kB / 309.1 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3639, allocations: 163.5 kB / 309.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.3671, allocations: 495.3 kB / 309.7 MB, free: 7.297 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.3679, allocations: 154.1 kB / 309.9 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.3691, allocations: 271.3 kB / 310.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3706, allocations: 374.9 kB / 310.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.3713, allocations: 51.92 kB / 310.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.3717, allocations: 28 kB / 310.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000687/0.3725, allocations: 155.3 kB / 310.8 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.3732, allocations: 68 kB / 310.8 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.3761, allocations: 0.9756 MB / 311.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3761, allocations: 0 / 311.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3762, allocations: 4 kB / 311.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.804e-05/0.3762, allocations: 0 / 311.8 MB, free: 5.223 MB / 250.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.003244/0.3795, allocations: 1.002 MB / 312.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.3796, allocations: 12.03 kB / 312.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.3799, allocations: 94.83 kB / 312.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3813, allocations: 0.5309 MB / 313.4 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.3814, allocations: 49.31 kB / 313.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.3816, allocations: 56 kB / 313.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3838, allocations: 0.6596 MB / 314.2 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.3838, allocations: 0 / 314.2 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.384, allocations: 24 kB / 314.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.384, allocations: 19.95 kB / 314.2 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.3863, allocations: 0.5907 MB / 314.8 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006243/0.3926, allocations: 2.56 MB / 317.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.3943, allocations: 489.7 kB / 317.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.3945, allocations: 12.44 kB / 317.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3945, allocations: 38.92 kB / 317.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.437e-06/0.3945, allocations: 0 / 317.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=60): time 0.008192/0.4027, allocations: 1.641 MB / 319.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.4028, allocations: 55.97 kB / 319.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.4045, allocations: 0.8551 MB / 320.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.4047, allocations: 33.7 kB / 320.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.4051, allocations: 410.5 kB / 320.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.4053, allocations: 205 kB / 321.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.4054, allocations: 23.94 kB / 321.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4056, allocations: 330.8 kB / 321.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4068, allocations: 269.9 kB / 321.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.408, allocations: 355.1 kB / 322.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4093, allocations: 332.7 kB / 322.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4094, allocations: 4 kB / 322.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002815/0.4122, allocations: 0.7524 MB / 323.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.4123, allocations: 29.7 kB / 323.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4123, allocations: 8.062 kB / 323.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4123, allocations: 4 kB / 323.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.4138, allocations: 183.7 kB / 323.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.4139, allocations: 7.984 kB / 323.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.4149, allocations: 51.97 kB / 323.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.415, allocations: 31.98 kB / 323.5 MB, free: 9.199 MB / 266.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 (83): * Single equations (assignments): 82 * 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.0005539/0.4155, allocations: 265.7 kB / 323.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.4158, allocations: 83.02 kB / 323.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.4183, allocations: 0.6669 MB / 324.5 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.4184, allocations: 11.98 kB / 324.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4184, allocations: 0 / 324.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.4184, allocations: 7.984 kB / 324.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.4234, allocations: 1.811 MB / 326.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.4235, allocations: 4 kB / 326.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.4246, allocations: 144 kB / 326.4 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.4246, allocations: 4 kB / 326.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.4247, allocations: 19.94 kB / 326.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.4247, allocations: 8 kB / 326.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4247, allocations: 3.984 kB / 326.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.4272, allocations: 0.8582 MB / 327.3 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.4278, allocations: 208 kB / 327.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.4279, allocations: 12 kB / 327.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/0.4287, allocations: 51.95 kB / 327.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4289, allocations: 44.33 kB / 327.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.429, allocations: 19.98 kB / 327.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001323/0.4303, allocations: 0.6748 MB / 328.3 MB, free: 4.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4303, allocations: 3.938 kB / 328.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008843/0.4312, allocations: 155.9 kB / 328.5 MB, free: 3.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 60 * 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.00076/0.432, allocations: 237.8 kB / 328.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.4346, allocations: 0.6664 MB / 329.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.4346, allocations: 0 / 329.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.4358, allocations: 307.1 kB / 329.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4369, allocations: 111 kB / 329.8 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.4412, allocations: 1.878 MB / 331.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/0.4421, allocations: 0.9749 MB / 332.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.4425, allocations: 59.42 kB / 332.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4425, allocations: 0 / 332.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of Templates: time 0.02373/0.4663, allocations: 9.343 MB / 342.1 MB, free: 6.281 MB / 282.7 MB