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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.932e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2876, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007917/0.2956, allocations: 4.982 MB / 308.3 MB, free: 8.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.3001, allocations: 1.851 MB / 310.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007304/0.3008, allocations: 31.94 kB / 310.2 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007015/0.3016, allocations: 278.6 kB / 310.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.3029, allocations: 442.7 kB / 310.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.3037, allocations: 223.6 kB / 311.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.3052, allocations: 0.7292 MB / 311.8 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.3057, allocations: 259.3 kB / 312.1 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.3064, allocations: 387 kB / 312.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.3072, allocations: 494.4 kB / 313 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.3075, allocations: 59.94 kB / 313 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.3077, allocations: 47.94 kB / 313.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.308, allocations: 191.2 kB / 313.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.3083, allocations: 104 kB / 313.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3102, allocations: 1.503 MB / 314.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3102, allocations: 0 / 314.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.3102, allocations: 0 / 314.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.3103, allocations: 3.938 kB / 314.9 MB, free: 2.039 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.00399/0.3143, allocations: 1.284 MB / 316.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3143, allocations: 16.02 kB / 316.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.3146, allocations: 130.5 kB / 316.3 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.3163, allocations: 0.6795 MB / 317 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.3165, allocations: 74 kB / 317 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.3167, allocations: 95.91 kB / 317.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.3199, allocations: 1.033 MB / 318.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.32, allocations: 7.922 kB / 318.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.3201, allocations: 36 kB / 318.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.3202, allocations: 27.95 kB / 318.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.3238, allocations: 0.9421 MB / 319.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008232/0.332, allocations: 3.68 MB / 322.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.3379, allocations: 1.099 MB / 323.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/0.338, allocations: 8.188 kB / 324 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3381, allocations: 38.75 kB / 324 MB, free: 8.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 3.075e-06/0.3381, allocations: 0 / 324 MB, free: 8.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.008592/0.3467, allocations: 1.965 MB / 326 MB, free: 6.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3468, allocations: 89.06 kB / 326 MB, free: 6.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.3486, allocations: 0.8717 MB / 326.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.3487, allocations: 33.7 kB / 327 MB, free: 5.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/0.3492, allocations: 0.526 MB / 327.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.3494, allocations: 236.7 kB / 327.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.3495, allocations: 16 kB / 327.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3497, allocations: 334 kB / 328.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.3514, allocations: 385.8 kB / 328.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.3533, allocations: 0.5553 MB / 329 MB, free: 3.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.3551, allocations: 456.8 kB / 329.4 MB, free: 3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3551, allocations: 0 / 329.4 MB, free: 3 MB / 266.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004157/0.3593, allocations: 1.118 MB / 330.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.3594, allocations: 33.7 kB / 330.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3594, allocations: 4 kB / 330.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/0.3594, allocations: 19.94 kB / 330.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.3619, allocations: 323.6 kB / 330.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.3619, allocations: 8 kB / 330.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.3634, allocations: 91.92 kB / 331 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3635, allocations: 35.98 kB / 331.1 MB, free: 1.359 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.0006075/0.3641, allocations: 285.5 kB / 331.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.3644, allocations: 102.8 kB / 331.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3661, allocations: 422.1 kB / 331.8 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.3661, allocations: 15.94 kB / 331.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.3661, allocations: 7.938 kB / 331.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3661, allocations: 0 / 331.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.3722, allocations: 2.334 MB / 334.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.3723, allocations: 8 kB / 334.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.374, allocations: 239.8 kB / 334.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.3741, allocations: 8 kB / 334.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.3742, allocations: 20 kB / 334.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.3742, allocations: 15.98 kB / 334.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.3742, allocations: 15.94 kB / 334.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.3773, allocations: 1.385 MB / 335.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.3777, allocations: 199.8 kB / 336.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.3779, allocations: 20 kB / 336.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.3791, allocations: 59.94 kB / 336.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.3792, allocations: 67.77 kB / 336.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.3793, allocations: 31.98 kB / 336.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001334/0.3806, allocations: 0.6669 MB / 336.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.114e-06/0.3807, allocations: 0 / 336.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001086/0.3818, allocations: 211.9 kB / 337.1 MB, free: 10.82 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.000705/0.3825, allocations: 245.5 kB / 337.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.3858, allocations: 0.8662 MB / 338.2 MB, free: 9.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3858, allocations: 3.938 kB / 338.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.3873, allocations: 389.8 kB / 338.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.3886, allocations: 175.2 kB / 338.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.3936, allocations: 2.256 MB / 341 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/0.3944, allocations: 1.034 MB / 342.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001004/0.3954, allocations: 127.1 kB / 342.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.3958, allocations: 71.41 kB / 342.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3958, allocations: 0 / 342.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of Templates: time 0.0282/0.424, allocations: 9.337 MB / 351.6 MB, free: 12.2 MB / 298.7 MB