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.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 194.9 MB / 211.2 MB, free: 7.859 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.651e-05, allocations: 4 kB / 258.8 MB, free: 8.215 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3028, allocations: 44.5 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008471/0.3113, allocations: 4.984 MB / 308.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.3161, allocations: 1.841 MB / 310.1 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.3171, allocations: 27.94 kB / 310.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007711/0.3179, allocations: 278.6 kB / 310.4 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.3194, allocations: 450.6 kB / 310.9 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.3202, allocations: 227.5 kB / 311.1 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.322, allocations: 0.7253 MB / 311.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.3225, allocations: 263.3 kB / 312.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.3233, allocations: 387 kB / 312.4 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009311/0.3242, allocations: 490.4 kB / 312.9 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.3246, allocations: 67.8 kB / 313 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.3248, allocations: 48 kB / 313 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.3251, allocations: 191.2 kB / 313.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.3255, allocations: 100 kB / 313.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.3276, allocations: 1.513 MB / 314.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3277, allocations: 0 / 314.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3277, allocations: 0 / 314.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.737e-05/0.3277, allocations: 0 / 314.8 MB, free: 2.066 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004417/0.3321, allocations: 1.284 MB / 316.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3322, allocations: 8.031 kB / 316.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.3327, allocations: 130.5 kB / 316.3 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3345, allocations: 0.6796 MB / 316.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3347, allocations: 73.98 kB / 317 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.335, allocations: 99.91 kB / 317.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.3384, allocations: 1.036 MB / 318.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.3385, allocations: 0 / 318.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.3386, allocations: 36 kB / 318.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.3387, allocations: 27.95 kB / 318.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.3425, allocations: 0.9382 MB / 319.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009584/0.3522, allocations: 3.68 MB / 322.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006093/0.3583, allocations: 1.103 MB / 323.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3585, allocations: 12.17 kB / 323.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.3585, allocations: 42.75 kB / 324 MB, free: 8.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.907e-06/0.3586, allocations: 0 / 324 MB, free: 8.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.009022/0.3676, allocations: 1.969 MB / 325.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.3677, allocations: 89 kB / 326 MB, free: 6.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.3696, allocations: 0.8678 MB / 326.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.3698, allocations: 37.7 kB / 326.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.3703, allocations: 0.5167 MB / 327.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.3706, allocations: 236.7 kB / 327.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.3707, allocations: 16 kB / 327.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3708, allocations: 346.8 kB / 328 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.3727, allocations: 381.8 kB / 328.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.3747, allocations: 0.5553 MB / 329 MB, free: 3.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.3766, allocations: 452.8 kB / 329.4 MB, free: 3.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.3767, allocations: 4 kB / 329.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004287/0.381, allocations: 1.064 MB / 330.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.3811, allocations: 33.7 kB / 330.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.3811, allocations: 4 kB / 330.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/0.3812, allocations: 15.95 kB / 330.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.3837, allocations: 323.6 kB / 330.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/0.3838, allocations: 11.94 kB / 330.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.3854, allocations: 99.83 kB / 331 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.3855, allocations: 35.98 kB / 331 MB, free: 1.434 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0006732/0.3862, allocations: 281.6 kB / 331.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.3865, allocations: 94.88 kB / 331.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.3882, allocations: 418.1 kB / 331.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3883, allocations: 8 kB / 331.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/0.3883, allocations: 7.953 kB / 331.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.3883, allocations: 7.984 kB / 331.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/0.3951, allocations: 2.326 MB / 334.1 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.3952, allocations: 12.03 kB / 334.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.397, allocations: 235.6 kB / 334.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.288e-05/0.3971, allocations: 8 kB / 334.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.18e-05/0.3972, allocations: 23.98 kB / 334.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-05/0.3972, allocations: 15.94 kB / 334.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.3973, allocations: 11.98 kB / 334.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.4007, allocations: 1.392 MB / 335.8 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/0.4012, allocations: 191.8 kB / 336 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.4014, allocations: 28 kB / 336 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4027, allocations: 55.95 kB / 336.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.4029, allocations: 67.81 kB / 336.1 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/0.403, allocations: 27.94 kB / 336.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001539/0.4045, allocations: 0.6747 MB / 336.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4046, allocations: 0 / 336.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001407/0.406, allocations: 208 kB / 337 MB, free: 10.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0007515/0.4068, allocations: 249.9 kB / 337.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.4106, allocations: 0.8702 MB / 338.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.4107, allocations: 3.938 kB / 338.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4123, allocations: 389.7 kB / 338.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.414, allocations: 171.9 kB / 338.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.4205, allocations: 2.293 MB / 341 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.4217, allocations: 1.045 MB / 342.1 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/0.4225, allocations: 79.41 kB / 342.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4225, allocations: 0 / 342.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Templates: time 0.04075/0.4633, allocations: 12.36 MB / 354.5 MB, free: 9.336 MB / 298.7 MB