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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.793e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.4 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008614/0.1189, allocations: 4.948 MB / 349.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.1232, allocations: 1.629 MB / 351.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1243, allocations: 31.94 kB / 351.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.125, allocations: 146.9 kB / 351.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1267, allocations: 382.8 kB / 352.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.1277, allocations: 203.7 kB / 352.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.1298, allocations: 0.7059 MB / 353 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.1305, allocations: 263.2 kB / 353.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.1314, allocations: 375 kB / 353.6 MB, free: 276 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009216/0.1323, allocations: 442.5 kB / 354.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.1326, allocations: 44 kB / 354.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1328, allocations: 44 kB / 354.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.1331, allocations: 175.2 kB / 354.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.1334, allocations: 100 kB / 354.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.1356, allocations: 1.457 MB / 355.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1356, allocations: 4 kB / 355.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1356, allocations: 3.938 kB / 355.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.442e-05/0.1357, allocations: 0 / 355.9 MB, free: 14.01 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004338/0.1401, allocations: 1.196 MB / 357.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1401, allocations: 15.97 kB / 357.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.1406, allocations: 118.6 kB / 357.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.1425, allocations: 0.6485 MB / 357.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.1427, allocations: 74 kB / 357.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.143, allocations: 96 kB / 358 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.1465, allocations: 1.017 MB / 359 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.1466, allocations: 11.86 kB / 359 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.1467, allocations: 40 kB / 359.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.1468, allocations: 20 kB / 359.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.1504, allocations: 0.9148 MB / 360 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00905/0.1595, allocations: 3.356 MB / 363.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.1621, allocations: 0.8235 MB / 364.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.1623, allocations: 20.55 kB / 364.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.1623, allocations: 39.12 kB / 364.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.717e-06/0.1624, allocations: 4 kB / 364.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.01728/0.1796, allocations: 4.421 MB / 368.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.1798, allocations: 89.77 kB / 368.8 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.181, allocations: 0.5451 MB / 369.3 MB, free: 100 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.1813, allocations: 41.7 kB / 369.4 MB, free: 52 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.1817, allocations: 462.5 kB / 369.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/0.1822, allocations: 390.2 kB / 370.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.733e-05/0.1823, allocations: 20 kB / 370.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1825, allocations: 358.7 kB / 370.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.1841, allocations: 398.4 kB / 370.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.1859, allocations: 0.5237 MB / 371.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.1876, allocations: 451.9 kB / 371.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1876, allocations: 0 / 371.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004391/0.192, allocations: 1.173 MB / 373.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.1921, allocations: 8 kB / 373.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.1921, allocations: 4 kB / 373.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.1928, allocations: 130.4 kB / 373.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/0.195, allocations: 263.7 kB / 373.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.2004, allocations: 4.552 MB / 378 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.2018, allocations: 68.03 kB / 378.1 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.202, allocations: 35.98 kB / 378.1 MB, free: 6.789 MB / 314.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.000699/0.2027, allocations: 281.1 kB / 378.4 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.203, allocations: 90.97 kB / 378.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.2058, allocations: 0.7879 MB / 379.3 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.2059, allocations: 20.14 kB / 379.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.2059, allocations: 4 kB / 379.3 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.2059, allocations: 7.969 kB / 379.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007515/0.2134, allocations: 2.691 MB / 382 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.2135, allocations: 8.062 kB / 382 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.2155, allocations: 211.8 kB / 382.2 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007855/0.2163, allocations: 155.3 kB / 382.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.2165, allocations: 23.98 kB / 382.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.2226, allocations: 5.616 MB / 388 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2227, allocations: 0 / 388 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/0.2287, allocations: 1.834 MB / 389.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.2291, allocations: 164.1 kB / 390 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/0.2294, allocations: 20 kB / 390 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.2307, allocations: 59.97 kB / 390.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.231, allocations: 84.38 kB / 390.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.2311, allocations: 31.95 kB / 390.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009371/0.232, allocations: 443.1 kB / 390.6 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2321, allocations: 0 / 390.6 MB, free: 9.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001508/0.2336, allocations: 256 kB / 390.9 MB, free: 9.289 MB / 330.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.0002934/0.2339, allocations: 135.1 kB / 391 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004353/0.2383, allocations: 1.38 MB / 392.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.2383, allocations: 0 / 392.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.2411, allocations: 1.021 MB / 393.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.2427, allocations: 158.1 kB / 393.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.2496, allocations: 2.669 MB / 396.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/0.2505, allocations: 1.047 MB / 397.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/0.2511, allocations: 83.41 kB / 397.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2512, allocations: 0 / 397.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of Templates: time 0.3172/0.5683, allocations: 27.49 MB / 424.9 MB, free: 34.85 MB / 330.7 MB