Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.57e-05, allocations: 4 kB / 225.1 MB, free: 2.73 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4161, allocations: 77.78 MB / 341.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4164, allocations: 83.95 kB / 341.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3788/0.7952, allocations: 35.75 MB / 377.4 MB, free: 83.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7953, allocations: 0 / 377.4 MB, free: 83.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.336e-05/0.7953, allocations: 22.34 kB / 377.5 MB, free: 83.5 MB / 314.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.003396/0.7988, allocations: 1.138 MB / 378.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7988, allocations: 11.44 kB / 378.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003507/0.7992, allocations: 145.8 kB / 378.8 MB, free: 82.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.7995, allocations: 120.2 kB / 378.9 MB, free: 82.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.8009, allocations: 0.61 MB / 379.5 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.8011, allocations: 73.06 kB / 379.6 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.8013, allocations: 97.12 kB / 379.7 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.8038, allocations: 0.9332 MB / 380.6 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.8039, allocations: 11.08 kB / 380.6 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.804, allocations: 38.69 kB / 380.6 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.8041, allocations: 25.47 kB / 380.7 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.8062, allocations: 0.7708 MB / 381.4 MB, free: 82.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007836/0.8141, allocations: 3.555 MB / 385 MB, free: 81.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.8158, allocations: 0.8121 MB / 385.8 MB, free: 80.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.8169, allocations: 455.5 kB / 386.2 MB, free: 80.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.817, allocations: 14.98 kB / 386.3 MB, free: 80.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.8171, allocations: 53.88 kB / 386.3 MB, free: 80.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.567e-06/0.8171, allocations: 0 / 386.3 MB, free: 80.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01366/0.8308, allocations: 4.259 MB / 390.6 MB, free: 78.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.8309, allocations: 94.3 kB / 390.7 MB, free: 78.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.8318, allocations: 0.5313 MB / 391.2 MB, free: 77.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.832, allocations: 45.08 kB / 391.2 MB, free: 77.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.8322, allocations: 439.4 kB / 391.7 MB, free: 77.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.8326, allocations: 456.7 kB / 392.1 MB, free: 77.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.8327, allocations: 27.81 kB / 392.1 MB, free: 77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.8328, allocations: 353.8 kB / 392.5 MB, free: 76.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009865/0.8338, allocations: 372 kB / 392.8 MB, free: 76.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.8349, allocations: 0.5074 MB / 393.4 MB, free: 76.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.8359, allocations: 434 kB / 393.8 MB, free: 75.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.836, allocations: 0 / 393.8 MB, free: 75.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002848/0.8388, allocations: 1.165 MB / 394.9 MB, free: 74.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.8389, allocations: 4 kB / 394.9 MB, free: 74.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.8389, allocations: 4 kB / 395 MB, free: 74.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.8395, allocations: 150.2 kB / 395.1 MB, free: 74.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.8417, allocations: 283.7 kB / 395.4 MB, free: 74.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.8459, allocations: 4.765 MB / 400.1 MB, free: 69.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.8476, allocations: 81.66 kB / 400.2 MB, free: 69.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.8478, allocations: 43.28 kB / 400.3 MB, free: 69.15 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002966/0.8481, allocations: 172.7 kB / 400.4 MB, free: 68.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.8483, allocations: 98.83 kB / 400.5 MB, free: 68.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.8504, allocations: 0.7944 MB / 401.3 MB, free: 68.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.8504, allocations: 12 kB / 401.3 MB, free: 68.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.8504, allocations: 4 kB / 401.3 MB, free: 68.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.8505, allocations: 7.125 kB / 401.3 MB, free: 68.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.8566, allocations: 2.981 MB / 404.3 MB, free: 65.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.8566, allocations: 4 kB / 404.3 MB, free: 65.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/0.8588, allocations: 256.1 kB / 404.6 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.8594, allocations: 126.7 kB / 404.7 MB, free: 65.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.8595, allocations: 35.61 kB / 404.7 MB, free: 65.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/0.863, allocations: 4.388 MB / 409.1 MB, free: 60.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.863, allocations: 0 / 409.1 MB, free: 60.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/0.867, allocations: 1.957 MB / 411.1 MB, free: 58.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.8674, allocations: 175 kB / 411.3 MB, free: 58.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.8676, allocations: 27.94 kB / 411.3 MB, free: 58.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8688, allocations: 81.2 kB / 411.4 MB, free: 58.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.8691, allocations: 94.52 kB / 411.5 MB, free: 58.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.8692, allocations: 36 kB / 411.5 MB, free: 58.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007386/0.8699, allocations: 439.5 kB / 411.9 MB, free: 57.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8699, allocations: 0 / 411.9 MB, free: 57.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001417/0.8714, allocations: 276 kB / 412.2 MB, free: 57.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004208/0.8756, allocations: 3.294 MB / 415.5 MB, free: 54.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.8785, allocations: 1.364 MB / 416.8 MB, free: 52.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.8786, allocations: 4.188 kB / 416.8 MB, free: 52.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.8802, allocations: 0.911 MB / 417.8 MB, free: 51.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.8817, allocations: 163.6 kB / 417.9 MB, free: 51.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.8873, allocations: 2.004 MB / 419.9 MB, free: 49.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.8879, allocations: 1.063 MB / 421 MB, free: 48.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009513/0.8888, allocations: 397.4 kB / 421.4 MB, free: 48.56 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.8889, allocations: 4 kB / 421.4 MB, free: 48.56 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.18/4.069, allocations: 31.31 MB / 452.7 MB, free: 17.76 MB / 314.7 MB