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.743/1.743, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.336e-05, allocations: 4 kB / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006324/0.1129, allocations: 3.539 MB / 270.5 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.1166, allocations: 1.478 MB / 271.9 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005723/0.1172, allocations: 19.94 kB / 272 MB, free: 11.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.1181, allocations: 366.8 kB / 272.3 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1193, allocations: 386.9 kB / 272.7 MB, free: 10.67 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006724/0.12, allocations: 167.6 kB / 272.9 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1212, allocations: 491.4 kB / 273.3 MB, free: 10.02 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.1216, allocations: 146.2 kB / 273.5 MB, free: 9.875 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.1222, allocations: 283.3 kB / 273.8 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.123, allocations: 374.9 kB / 274.1 MB, free: 9.23 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.1232, allocations: 43.94 kB / 274.2 MB, free: 9.188 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.1234, allocations: 32 kB / 274.2 MB, free: 9.156 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.1236, allocations: 155.4 kB / 274.4 MB, free: 9.004 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1238, allocations: 64 kB / 274.4 MB, free: 8.941 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.1253, allocations: 0.978 MB / 275.4 MB, free: 7.961 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1253, allocations: 4 kB / 275.4 MB, free: 7.957 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1253, allocations: 0 / 275.4 MB, free: 7.957 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.1253, allocations: 4 kB / 275.4 MB, free: 7.953 MB / 234.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.002966/0.1283, allocations: 0.9997 MB / 276.4 MB, free: 6.898 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.271e-05/0.1284, allocations: 8.031 kB / 276.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.1287, allocations: 102.8 kB / 276.5 MB, free: 6.789 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.1301, allocations: 0.5232 MB / 277 MB, free: 6.219 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.1303, allocations: 53.3 kB / 277.1 MB, free: 6.168 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.1305, allocations: 56 kB / 277.1 MB, free: 6.113 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.1326, allocations: 0.6558 MB / 277.8 MB, free: 5.441 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.1327, allocations: 3.906 kB / 277.8 MB, free: 5.438 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.1328, allocations: 24 kB / 277.8 MB, free: 5.414 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.1328, allocations: 16 kB / 277.8 MB, free: 5.398 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.1351, allocations: 0.5907 MB / 278.4 MB, free: 4.809 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006079/0.1413, allocations: 2.564 MB / 281 MB, free: 2.105 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.1429, allocations: 489.8 kB / 281.5 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.143, allocations: 8.438 kB / 281.5 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.143, allocations: 35 kB / 281.5 MB, free: 1.562 MB / 234.7 MB Notification: Performance of pre-optimization done (n=48): time 3.426e-06/0.1431, allocations: 4 kB / 281.5 MB, free: 1.559 MB / 234.7 MB Notification: Performance of matching and sorting (n=60): time 0.007799/0.1509, allocations: 1.645 MB / 283.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1509, allocations: 59.97 kB / 283.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.1526, allocations: 0.8512 MB / 284.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.1527, allocations: 41.58 kB / 284.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.1531, allocations: 408 kB / 284.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.1534, allocations: 197 kB / 284.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.1534, allocations: 12 kB / 284.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.1537, allocations: 386.8 kB / 285.1 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.1548, allocations: 269.8 kB / 285.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.1561, allocations: 359.1 kB / 285.7 MB, free: 13.3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1573, allocations: 328.8 kB / 286 MB, free: 12.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1574, allocations: 0 / 286 MB, free: 12.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002936/0.1603, allocations: 0.791 MB / 286.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/0.1604, allocations: 41.69 kB / 286.9 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1604, allocations: 8 kB / 286.9 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1605, allocations: 4 kB / 286.9 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.1619, allocations: 183.7 kB / 287 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.162, allocations: 11.94 kB / 287.1 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.1629, allocations: 51.95 kB / 287.1 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/0.163, allocations: 27.98 kB / 287.1 MB, free: 11.84 MB / 250.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.0005504/0.1636, allocations: 261.6 kB / 287.4 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.1638, allocations: 86.95 kB / 287.5 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.1663, allocations: 0.6593 MB / 288.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.1663, allocations: 11.94 kB / 288.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1663, allocations: 3.953 kB / 288.2 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.1664, allocations: 3.984 kB / 288.2 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/0.1711, allocations: 1.823 MB / 290 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1712, allocations: 0 / 290 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.1723, allocations: 140.1 kB / 290.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.734e-05/0.1724, allocations: 8 kB / 290.1 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.418e-05/0.1725, allocations: 15.98 kB / 290.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/0.1725, allocations: 7.938 kB / 290.1 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.1725, allocations: 4 kB / 290.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/0.1764, allocations: 0.862 MB / 291 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/0.1772, allocations: 200.1 kB / 291.2 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.1775, allocations: 19.95 kB / 291.2 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.1789, allocations: 51.95 kB / 291.3 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.1791, allocations: 40.33 kB / 291.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.1793, allocations: 24 kB / 291.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.002175/0.1815, allocations: 0.6786 MB / 292 MB, free: 6.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1815, allocations: 0 / 292 MB, free: 6.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001429/0.183, allocations: 152 kB / 292.2 MB, free: 6.559 MB / 250.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.0008601/0.1839, allocations: 207.6 kB / 292.4 MB, free: 6.383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003863/0.1878, allocations: 0.6625 MB / 293 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.1878, allocations: 0 / 293 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.1895, allocations: 311.2 kB / 293.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.191, allocations: 116.7 kB / 293.5 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/0.1977, allocations: 1.838 MB / 295.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.199, allocations: 0.9749 MB / 296.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001237/0.2002, allocations: 89.02 kB / 296.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.2008, allocations: 51.42 kB / 296.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of SimCode: time 1.522e-06/0.2008, allocations: 4 kB / 296.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of Templates: time 0.2665/0.4673, allocations: 6.629 MB / 303 MB, free: 28.64 MB / 250.7 MB