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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.701/1.701, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.215e-05, allocations: 7.984 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.4294, allocations: 77.13 MB / 340.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4296, allocations: 83.95 kB / 341 MB, free: 12.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06117/0.4908, allocations: 15.13 MB / 356.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4909, allocations: 0 / 356.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.856e-05/0.4909, allocations: 20 kB / 356.2 MB, free: 13.28 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002117/0.4931, allocations: 0.9924 MB / 357.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4931, allocations: 8.031 kB / 357.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.4934, allocations: 98.78 kB / 357.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.4946, allocations: 0.5278 MB / 357.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.4947, allocations: 49.31 kB / 357.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.4949, allocations: 56 kB / 357.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.4964, allocations: 0.6025 MB / 358.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.4964, allocations: 7.938 kB / 358.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.4965, allocations: 20 kB / 358.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4966, allocations: 16 kB / 358.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.4982, allocations: 498.5 kB / 359 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.5043, allocations: 2.666 MB / 361.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.5057, allocations: 467.7 kB / 362.1 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/0.5064, allocations: 274.2 kB / 362.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.5065, allocations: 4.438 kB / 362.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.5066, allocations: 42.94 kB / 362.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.822e-06/0.5066, allocations: 0 / 362.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.00489/0.5115, allocations: 1.375 MB / 363.8 MB, free: 5.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.5116, allocations: 59.97 kB / 363.9 MB, free: 5.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.5133, allocations: 0.8318 MB / 364.7 MB, free: 4.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.5134, allocations: 37.7 kB / 364.7 MB, free: 4.383 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.5138, allocations: 380.1 kB / 365.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.514, allocations: 228.7 kB / 365.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.5141, allocations: 12 kB / 365.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.5144, allocations: 390.8 kB / 365.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.515, allocations: 213.5 kB / 365.9 MB, free: 3.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.5156, allocations: 307.6 kB / 366.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.5163, allocations: 271.8 kB / 366.5 MB, free: 2.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.512e-06/0.5163, allocations: 4 kB / 366.5 MB, free: 2.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001757/0.5181, allocations: 0.7001 MB / 367.2 MB, free: 1.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.5182, allocations: 29.7 kB / 367.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5182, allocations: 4 kB / 367.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5182, allocations: 4 kB / 367.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5194, allocations: 199.8 kB / 367.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.5194, allocations: 8 kB / 367.5 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.5202, allocations: 59.95 kB / 367.5 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.5203, allocations: 27.98 kB / 367.5 MB, free: 1.512 MB / 314.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 (89): * Single equations (assignments): 88 * 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.000202/0.5205, allocations: 144.8 kB / 367.7 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.5207, allocations: 79.06 kB / 367.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.5223, allocations: 0.5775 MB / 368.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5223, allocations: 4 kB / 368.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.822e-06/0.5224, allocations: 3.953 kB / 368.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.5224, allocations: 7.984 kB / 368.4 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.19/0.7124, allocations: 1.857 MB / 370.2 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7124, allocations: 6.484 kB / 370.2 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.7134, allocations: 153.2 kB / 370.4 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/0.7135, allocations: 6.953 kB / 370.4 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.7135, allocations: 17.97 kB / 370.4 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.7136, allocations: 5.031 kB / 370.4 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-06/0.7136, allocations: 3.469 kB / 370.4 MB, free: 87.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.7149, allocations: 0.829 MB / 371.2 MB, free: 87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.7153, allocations: 238 kB / 371.5 MB, free: 86.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.7155, allocations: 14.91 kB / 371.5 MB, free: 86.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.7161, allocations: 60.3 kB / 371.5 MB, free: 86.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.7163, allocations: 53.61 kB / 371.6 MB, free: 86.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.7163, allocations: 22.09 kB / 371.6 MB, free: 86.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009646/0.7173, allocations: 0.6571 MB / 372.3 MB, free: 86.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.7173, allocations: 0 / 372.3 MB, free: 86.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007942/0.7181, allocations: 180.2 kB / 372.4 MB, free: 86.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (66): * Single equations (assignments): 66 * 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.0006304/0.7188, allocations: 232.1 kB / 372.7 MB, free: 86.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.7199, allocations: 0.5574 MB / 373.2 MB, free: 86.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7199, allocations: 2.562 kB / 373.2 MB, free: 86.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.7205, allocations: 268.9 kB / 373.5 MB, free: 86.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.7213, allocations: 110.8 kB / 373.6 MB, free: 86.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.7239, allocations: 1.189 MB / 374.8 MB, free: 86.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.7247, allocations: 0.976 MB / 375.8 MB, free: 85.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000708/0.7255, allocations: 118.2 kB / 375.9 MB, free: 85.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.7257, allocations: 59.33 kB / 375.9 MB, free: 85.53 MB / 314.7 MB Notification: Performance of SimCode: time 2.357e-06/0.7258, allocations: 0 / 375.9 MB, free: 85.53 MB / 314.7 MB Notification: Performance of Templates: time 0.02025/0.746, allocations: 7.752 MB / 383.7 MB, free: 85.09 MB / 314.7 MB