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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 171.1 MB / 186.3 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.36e-05, allocations: 4 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08462, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006236/0.09091, allocations: 3.546 MB / 270.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.09478, allocations: 1.482 MB / 271.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.09549, allocations: 19.94 kB / 271.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008544/0.09637, allocations: 366.8 kB / 272.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.09768, allocations: 386.9 kB / 272.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.09845, allocations: 159.7 kB / 272.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.09974, allocations: 491.4 kB / 273.3 MB, free: 10.66 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.1001, allocations: 154.1 kB / 273.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.1007, allocations: 275.3 kB / 273.7 MB, free: 10.24 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.1015, allocations: 374.9 kB / 274.1 MB, free: 9.875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.1017, allocations: 43.94 kB / 274.1 MB, free: 9.832 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.1019, allocations: 32 kB / 274.2 MB, free: 9.801 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1021, allocations: 159.4 kB / 274.3 MB, free: 9.645 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1024, allocations: 68 kB / 274.4 MB, free: 9.578 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1038, allocations: 0.978 MB / 275.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1038, allocations: 0 / 275.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1039, allocations: 0 / 275.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.1039, allocations: 0 / 275.4 MB, free: 8.598 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.003164/0.1071, allocations: 0.9997 MB / 276.4 MB, free: 7.543 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1071, allocations: 12.03 kB / 276.4 MB, free: 7.531 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.1075, allocations: 98.78 kB / 276.5 MB, free: 7.434 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.1091, allocations: 0.5193 MB / 277 MB, free: 6.867 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.1093, allocations: 57.3 kB / 277.1 MB, free: 6.812 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.1096, allocations: 59.94 kB / 277.1 MB, free: 6.754 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.112, allocations: 0.6558 MB / 277.8 MB, free: 6.082 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.1121, allocations: 3.906 kB / 277.8 MB, free: 6.078 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/0.1122, allocations: 24 kB / 277.8 MB, free: 6.055 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.1122, allocations: 16 kB / 277.8 MB, free: 6.039 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.115, allocations: 0.5907 MB / 278.4 MB, free: 5.449 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006989/0.122, allocations: 2.56 MB / 281 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1239, allocations: 489.7 kB / 281.4 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.124, allocations: 12.44 kB / 281.5 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.1241, allocations: 35 kB / 281.5 MB, free: 2.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=48): time 3.827e-06/0.1241, allocations: 0 / 281.5 MB, free: 2.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=60): time 0.008846/0.1329, allocations: 1.645 MB / 283.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.133, allocations: 59.95 kB / 283.2 MB, free: 500 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.1348, allocations: 0.8513 MB / 284 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.135, allocations: 37.7 kB / 284.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.1354, allocations: 418.4 kB / 284.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.1357, allocations: 201 kB / 284.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.1358, allocations: 16 kB / 284.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1359, allocations: 330.8 kB / 285 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.1371, allocations: 265.9 kB / 285.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.1384, allocations: 371 kB / 285.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1396, allocations: 316.8 kB / 286 MB, free: 13.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1396, allocations: 0 / 286 MB, free: 13.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002768/0.1424, allocations: 0.7525 MB / 286.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.1425, allocations: 29.7 kB / 286.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1425, allocations: 4 kB / 286.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1426, allocations: 4 kB / 286.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.1441, allocations: 191.8 kB / 286.9 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1441, allocations: 4 kB / 286.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.1451, allocations: 51.95 kB / 287 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.1452, allocations: 24 kB / 287 MB, free: 12.59 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.0005658/0.1458, allocations: 273.5 kB / 287.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.146, allocations: 82.97 kB / 287.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.1486, allocations: 0.6593 MB / 288 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1486, allocations: 4 kB / 288 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.1486, allocations: 3.953 kB / 288 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.1487, allocations: 3.984 kB / 288 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.1537, allocations: 1.823 MB / 289.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.1538, allocations: 7.938 kB / 289.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.155, allocations: 140.1 kB / 290 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/0.1551, allocations: 4 kB / 290 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.1551, allocations: 12 kB / 290 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.1552, allocations: 4 kB / 290 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.1552, allocations: 7.938 kB / 290 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.1577, allocations: 0.8659 MB / 290.9 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.1581, allocations: 200.1 kB / 291.1 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.1583, allocations: 19.94 kB / 291.1 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.1591, allocations: 47.97 kB / 291.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.1593, allocations: 44.38 kB / 291.2 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.1593, allocations: 19.94 kB / 291.2 MB, free: 8.133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.1607, allocations: 0.6826 MB / 291.9 MB, free: 7.453 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1607, allocations: 0 / 291.9 MB, free: 7.453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008667/0.1616, allocations: 152 kB / 292 MB, free: 7.305 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.0006244/0.1622, allocations: 215.7 kB / 292.3 MB, free: 7.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.1649, allocations: 0.6664 MB / 292.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.165, allocations: 0 / 292.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.1662, allocations: 311.2 kB / 293.2 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.1672, allocations: 112.7 kB / 293.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.1716, allocations: 1.878 MB / 295.2 MB, free: 4.086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.1724, allocations: 0.971 MB / 296.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.1728, allocations: 59.42 kB / 296.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1728, allocations: 0 / 296.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of Templates: time 0.232/0.4048, allocations: 9.319 MB / 305.6 MB, free: 27.16 MB / 250.7 MB