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.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 2.121/2.121, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.636e-05, allocations: 7.906 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3417, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008524/0.3503, allocations: 4.898 MB / 308.2 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3549, allocations: 1.641 MB / 309.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.356, allocations: 31.94 kB / 309.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.3566, allocations: 150.9 kB / 310 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.358, allocations: 370.8 kB / 310.4 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.3589, allocations: 207.7 kB / 310.6 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.3612, allocations: 0.7097 MB / 311.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000777/0.3621, allocations: 263.2 kB / 311.5 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009207/0.363, allocations: 367 kB / 311.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.364, allocations: 450.4 kB / 312.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.3643, allocations: 44 kB / 312.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.3646, allocations: 44 kB / 312.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.3649, allocations: 171.3 kB / 312.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.3653, allocations: 100 kB / 312.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.3679, allocations: 1.458 MB / 314.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3679, allocations: 0 / 314.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.368, allocations: 0 / 314.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.341e-05/0.368, allocations: 0 / 314.2 MB, free: 2.801 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.005583/0.3736, allocations: 1.205 MB / 315.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.3737, allocations: 12.03 kB / 315.4 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.3742, allocations: 122.5 kB / 315.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.3768, allocations: 0.6408 MB / 316.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.3771, allocations: 74 kB / 316.2 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/0.3775, allocations: 99.91 kB / 316.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/0.3825, allocations: 1.017 MB / 317.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/0.3826, allocations: 0 / 317.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.3828, allocations: 40 kB / 317.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.3829, allocations: 27.95 kB / 317.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/0.3878, allocations: 0.9108 MB / 318.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.3996, allocations: 3.348 MB / 321.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.4031, allocations: 0.8342 MB / 322.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.4032, allocations: 12.56 kB / 322.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.4033, allocations: 47.11 kB / 322.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 4.889e-06/0.4033, allocations: 0 / 322.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.0227/0.4261, allocations: 4.434 MB / 327 MB, free: 5.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.4262, allocations: 97.77 kB / 327.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.4278, allocations: 0.5296 MB / 327.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.4281, allocations: 45.7 kB / 327.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.4286, allocations: 446.7 kB / 328.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.4292, allocations: 394.2 kB / 328.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4294, allocations: 27.94 kB / 328.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.4296, allocations: 350.8 kB / 328.8 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4314, allocations: 398.4 kB / 329.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.4332, allocations: 0.5276 MB / 329.7 MB, free: 2.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.4349, allocations: 448 kB / 330.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.435, allocations: 0 / 330.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004083/0.439, allocations: 1.189 MB / 331.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4391, allocations: 8 kB / 331.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4391, allocations: 3.984 kB / 331.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.4398, allocations: 130.5 kB / 331.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.4419, allocations: 271.6 kB / 331.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.4471, allocations: 4.552 MB / 336.3 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4486, allocations: 64.09 kB / 336.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4487, allocations: 35.98 kB / 336.4 MB, free: 11.55 MB / 282.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.0006832/0.4494, allocations: 285 kB / 336.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.4497, allocations: 94.94 kB / 336.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.4525, allocations: 0.7918 MB / 337.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.4525, allocations: 12 kB / 337.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.4526, allocations: 7.953 kB / 337.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.4526, allocations: 3.984 kB / 337.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007388/0.46, allocations: 2.69 MB / 340.3 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.4601, allocations: 8.062 kB / 340.3 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.462, allocations: 207.8 kB / 340.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/0.4628, allocations: 155.3 kB / 340.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.4629, allocations: 27.98 kB / 340.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/0.469, allocations: 5.619 MB / 346.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4691, allocations: 0 / 346.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/0.475, allocations: 1.831 MB / 348.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.4755, allocations: 168 kB / 348.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.4757, allocations: 20 kB / 348.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4768, allocations: 67.95 kB / 348.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.4771, allocations: 72.45 kB / 348.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/0.4772, allocations: 32 kB / 348.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008969/0.4781, allocations: 443.1 kB / 348.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4781, allocations: 3.938 kB / 348.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001392/0.4795, allocations: 252 kB / 349.2 MB, free: 14.05 MB / 298.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.0002693/0.4798, allocations: 136.4 kB / 349.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004265/0.4841, allocations: 1.377 MB / 350.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.4841, allocations: 0 / 350.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002676/0.4868, allocations: 1.018 MB / 351.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.4884, allocations: 155.1 kB / 351.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/0.4952, allocations: 2.668 MB / 354.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/0.4961, allocations: 1.04 MB / 355.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.4967, allocations: 87.41 kB / 355.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.4968, allocations: 0 / 355.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of Templates: time 0.06534/0.5621, allocations: 27.49 MB / 383.1 MB, free: 11.89 MB / 330.7 MB