Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.497e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08277/0.08282, allocations: 38.76 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008323/0.09121, allocations: 4.876 MB / 271.8 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.09561, allocations: 1.625 MB / 273.4 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009904/0.09666, allocations: 31.94 kB / 273.4 MB, free: 9.914 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.09722, allocations: 158.8 kB / 273.6 MB, free: 9.758 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.09878, allocations: 374.8 kB / 274 MB, free: 9.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.09971, allocations: 207.7 kB / 274.2 MB, free: 9.188 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1016, allocations: 0.702 MB / 274.9 MB, free: 8.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.1022, allocations: 250.9 kB / 275.1 MB, free: 8.238 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.103, allocations: 371 kB / 275.5 MB, free: 7.875 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/0.1039, allocations: 442.4 kB / 275.9 MB, free: 7.441 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1041, allocations: 44 kB / 276 MB, free: 7.398 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.1043, allocations: 44 kB / 276 MB, free: 7.355 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.1045, allocations: 179.2 kB / 276.2 MB, free: 7.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.1048, allocations: 104 kB / 276.3 MB, free: 7.078 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.1069, allocations: 1.445 MB / 277.7 MB, free: 5.629 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.107, allocations: 0 / 277.7 MB, free: 5.629 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.107, allocations: 0 / 277.7 MB, free: 5.629 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.603e-05/0.107, allocations: 0 / 277.7 MB, free: 5.629 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004285/0.1113, allocations: 1.201 MB / 278.9 MB, free: 4.375 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1114, allocations: 12.03 kB / 278.9 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/0.1118, allocations: 122.6 kB / 279 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.1137, allocations: 0.6369 MB / 279.7 MB, free: 3.562 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.114, allocations: 77.98 kB / 279.8 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.1142, allocations: 100 kB / 279.9 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.1177, allocations: 1.005 MB / 280.9 MB, free: 2.367 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/0.1178, allocations: 7.906 kB / 280.9 MB, free: 2.359 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.118, allocations: 36 kB / 280.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.118, allocations: 24 kB / 280.9 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.1217, allocations: 0.9108 MB / 281.8 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009423/0.1312, allocations: 3.341 MB / 285.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/0.1355, allocations: 0.8353 MB / 286 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.1357, allocations: 21.09 kB / 286 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/0.1358, allocations: 43.12 kB / 286.1 MB, free: 13 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 5.41e-06/0.1358, allocations: 0 / 286.1 MB, free: 13 MB / 250.7 MB Notification: Performance of matching and sorting (n=115): time 0.01893/0.1548, allocations: 4.446 MB / 290.5 MB, free: 8.355 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.1549, allocations: 93.77 kB / 290.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1561, allocations: 0.5335 MB / 291.2 MB, free: 7.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.1563, allocations: 45.7 kB / 291.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.1567, allocations: 420.2 kB / 291.6 MB, free: 7.238 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.1572, allocations: 398.2 kB / 292 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.1574, allocations: 20 kB / 292 MB, free: 6.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.1576, allocations: 390.7 kB / 292.4 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.1593, allocations: 398.4 kB / 292.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.1611, allocations: 0.5354 MB / 293.3 MB, free: 5.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.1629, allocations: 447.9 kB / 293.8 MB, free: 5.039 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1629, allocations: 0 / 293.8 MB, free: 5.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00455/0.1675, allocations: 1.227 MB / 295 MB, free: 3.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.1676, allocations: 4 kB / 295 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.1676, allocations: 4 kB / 295 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.1682, allocations: 130.5 kB / 295.1 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.1704, allocations: 259.7 kB / 295.4 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2172/0.3876, allocations: 4.542 MB / 299.9 MB, free: 27.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.3891, allocations: 69.19 kB / 300 MB, free: 27.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.3894, allocations: 41.66 kB / 300 MB, free: 27.53 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008688/0.3903, allocations: 280.9 kB / 300.3 MB, free: 27.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.3906, allocations: 86.62 kB / 300.4 MB, free: 27.42 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.3935, allocations: 0.7915 MB / 301.2 MB, free: 27.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.3936, allocations: 14.94 kB / 301.2 MB, free: 27.35 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.3936, allocations: 3.453 kB / 301.2 MB, free: 27.35 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/0.3937, allocations: 7.422 kB / 301.2 MB, free: 27.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008194/0.4019, allocations: 2.696 MB / 303.9 MB, free: 26.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.4019, allocations: 1.25 kB / 303.9 MB, free: 26.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.4039, allocations: 215.1 kB / 304.1 MB, free: 26.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008248/0.4048, allocations: 157.6 kB / 304.3 MB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.4051, allocations: 26.53 kB / 304.3 MB, free: 26.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.4102, allocations: 5.615 MB / 309.9 MB, free: 20.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.4102, allocations: 1.953 kB / 309.9 MB, free: 20.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006107/0.4163, allocations: 1.83 MB / 311.7 MB, free: 19.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.4168, allocations: 166.8 kB / 311.9 MB, free: 19.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.4171, allocations: 23.05 kB / 311.9 MB, free: 19.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.4183, allocations: 64.55 kB / 312 MB, free: 19.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.4187, allocations: 76.83 kB / 312.1 MB, free: 19.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.4188, allocations: 35.05 kB / 312.1 MB, free: 19.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.4198, allocations: 440.3 kB / 312.5 MB, free: 19.36 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4198, allocations: 0 / 312.5 MB, free: 19.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001763/0.4216, allocations: 255.8 kB / 312.8 MB, free: 19.33 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/0.422, allocations: 133.5 kB / 312.9 MB, free: 19.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00466/0.4267, allocations: 1.379 MB / 314.3 MB, free: 18.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.4267, allocations: 1.531 kB / 314.3 MB, free: 18.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.4295, allocations: 1.02 MB / 315.3 MB, free: 17.89 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.4311, allocations: 150.8 kB / 315.5 MB, free: 17.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.4373, allocations: 2.616 MB / 318.1 MB, free: 16.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.438, allocations: 1.041 MB / 319.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4391, allocations: 123.5 kB / 319.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.4395, allocations: 76.27 kB / 319.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of SimCode: time 2.425e-06/0.4395, allocations: 1.312 kB / 319.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of Templates: time 0.02998/0.4695, allocations: 10.79 MB / 330.1 MB, free: 7.422 MB / 250.7 MB