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.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.673e-05, allocations: 0 / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08366, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4227, allocations: 86.88 MB / 403.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.423, allocations: 81.83 kB / 403.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06361/0.4867, allocations: 15.81 MB / 419.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.4867, allocations: 0 / 419.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.056e-05/0.4868, allocations: 16 kB / 419.7 MB, free: 3.887 MB / 330.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.002085/0.4889, allocations: 0.9794 MB / 420.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4889, allocations: 11.97 kB / 420.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.4892, allocations: 94.88 kB / 420.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4903, allocations: 0.5309 MB / 421.3 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.4904, allocations: 48.5 kB / 421.4 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4906, allocations: 55.12 kB / 421.4 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.492, allocations: 0.5996 MB / 422 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.492, allocations: 4 kB / 422 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.4921, allocations: 21.88 kB / 422.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.4922, allocations: 16 kB / 422.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.4934, allocations: 0.4904 MB / 422.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.4988, allocations: 2.668 MB / 425.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.4999, allocations: 459 kB / 425.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.5006, allocations: 265.5 kB / 425.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.5006, allocations: 16.48 kB / 426 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5007, allocations: 34.12 kB / 426 MB, free: 14.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.161e-06/0.5007, allocations: 0 / 426 MB, free: 14.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.004727/0.5054, allocations: 1.363 MB / 427.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.5055, allocations: 59.97 kB / 427.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.5072, allocations: 0.839 MB / 428.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.5073, allocations: 33.45 kB / 428.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.5076, allocations: 408.7 kB / 428.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.5079, allocations: 217.4 kB / 428.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.5079, allocations: 13.94 kB / 428.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5081, allocations: 336.4 kB / 429.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.5087, allocations: 206.9 kB / 429.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.5093, allocations: 296.8 kB / 429.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.5099, allocations: 245.1 kB / 430 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.475e-06/0.51, allocations: 0 / 430 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001574/0.5115, allocations: 0.6577 MB / 430.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5116, allocations: 12 kB / 430.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5116, allocations: 0 / 430.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.5116, allocations: 11.95 kB / 430.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.5128, allocations: 194.8 kB / 430.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.5128, allocations: 11.98 kB / 430.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.5136, allocations: 58.39 kB / 430.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.5137, allocations: 27.5 kB / 430.9 MB, free: 11 MB / 346.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 (88): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0001961/0.5139, allocations: 135.3 kB / 431.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.5141, allocations: 86.95 kB / 431.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.5155, allocations: 0.5762 MB / 431.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5156, allocations: 11.94 kB / 431.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5156, allocations: 3.953 kB / 431.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5156, allocations: 3.984 kB / 431.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/0.5194, allocations: 1.865 MB / 433.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5195, allocations: 4 kB / 433.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/0.5204, allocations: 152 kB / 433.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/0.5204, allocations: 8 kB / 433.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.5205, allocations: 14.89 kB / 433.8 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/0.5205, allocations: 11.94 kB / 433.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.507e-06/0.5205, allocations: 4 kB / 433.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.5219, allocations: 0.8211 MB / 434.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.5224, allocations: 241.3 kB / 434.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5226, allocations: 18.19 kB / 434.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/0.5232, allocations: 55.02 kB / 434.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.5234, allocations: 59.88 kB / 435 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.5235, allocations: 19.75 kB / 435 MB, free: 7.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.5246, allocations: 0.6657 MB / 435.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.5247, allocations: 0 / 435.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008313/0.5255, allocations: 181.3 kB / 435.9 MB, free: 6.965 MB / 346.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.001314/0.5268, allocations: 378.3 kB / 436.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.5281, allocations: 0.4926 MB / 436.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.393e-06/0.5282, allocations: 8.5 kB / 436.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.5288, allocations: 271.4 kB / 437 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.5297, allocations: 109.9 kB / 437.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.5326, allocations: 1.2 MB / 438.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.5335, allocations: 0.9781 MB / 439.3 MB, free: 3.973 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006701/0.5342, allocations: 121 kB / 439.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.5345, allocations: 63.11 kB / 439.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.907e-06/0.5345, allocations: 0 / 439.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of Templates: time 0.02288/0.5574, allocations: 7.954 MB / 447.4 MB, free: 11.84 MB / 362.7 MB