Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.756e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.413, allocations: 77.79 MB / 341.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.4134, allocations: 83.89 kB / 341.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3857/0.799, allocations: 35.75 MB / 377.5 MB, free: 83.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7991, allocations: 0 / 377.5 MB, free: 83.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.999e-05/0.7992, allocations: 24.28 kB / 377.5 MB, free: 83.59 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.003238/0.8024, allocations: 1.131 MB / 378.7 MB, free: 82.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.8025, allocations: 15.41 kB / 378.7 MB, free: 82.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.8027, allocations: 146.1 kB / 378.8 MB, free: 82.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.803, allocations: 125 kB / 378.9 MB, free: 82.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.8042, allocations: 0.5981 MB / 379.5 MB, free: 82.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.8044, allocations: 82.08 kB / 379.6 MB, free: 82.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.8046, allocations: 98.59 kB / 379.7 MB, free: 82.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.8068, allocations: 0.9198 MB / 380.6 MB, free: 82.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/0.8069, allocations: 6.906 kB / 380.6 MB, free: 82.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.807, allocations: 39.91 kB / 380.7 MB, free: 82.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.8071, allocations: 23.47 kB / 380.7 MB, free: 82.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.809, allocations: 0.7642 MB / 381.5 MB, free: 82.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007189/0.8162, allocations: 3.55 MB / 385 MB, free: 81.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.8179, allocations: 0.7914 MB / 385.8 MB, free: 80.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.819, allocations: 456.3 kB / 386.2 MB, free: 80.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.8191, allocations: 16.44 kB / 386.3 MB, free: 80.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.8191, allocations: 45.19 kB / 386.3 MB, free: 80.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.626e-06/0.8191, allocations: 0 / 386.3 MB, free: 80.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01333/0.8325, allocations: 4.268 MB / 390.6 MB, free: 78.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.8326, allocations: 92.83 kB / 390.7 MB, free: 78.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.8335, allocations: 0.5266 MB / 391.2 MB, free: 77.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.8336, allocations: 52.08 kB / 391.2 MB, free: 77.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.8339, allocations: 412.7 kB / 391.6 MB, free: 77.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.8342, allocations: 452.1 kB / 392.1 MB, free: 77.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.8343, allocations: 23.41 kB / 392.1 MB, free: 77.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8345, allocations: 404.2 kB / 392.5 MB, free: 76.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/0.8354, allocations: 372.8 kB / 392.9 MB, free: 76.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.8364, allocations: 0.4957 MB / 393.4 MB, free: 76.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.8375, allocations: 430.5 kB / 393.8 MB, free: 75.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8375, allocations: 0 / 393.8 MB, free: 75.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002829/0.8403, allocations: 1.201 MB / 395 MB, free: 74.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8404, allocations: 8 kB / 395 MB, free: 74.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8404, allocations: 0 / 395 MB, free: 74.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.841, allocations: 154.4 kB / 395.1 MB, free: 74.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.8432, allocations: 284.7 kB / 395.4 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.8474, allocations: 4.77 MB / 400.2 MB, free: 69.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.8491, allocations: 81.89 kB / 400.3 MB, free: 69.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.8492, allocations: 39.42 kB / 400.3 MB, free: 69.07 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.0002947/0.8495, allocations: 172.8 kB / 400.5 MB, free: 68.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.8498, allocations: 94.83 kB / 400.6 MB, free: 68.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.8517, allocations: 0.7984 MB / 401.4 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.8517, allocations: 16 kB / 401.4 MB, free: 68.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.8518, allocations: 0 / 401.4 MB, free: 68.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.8518, allocations: 7.641 kB / 401.4 MB, free: 68.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/0.8577, allocations: 2.984 MB / 404.4 MB, free: 65.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.8577, allocations: 320 / 404.4 MB, free: 65.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.8597, allocations: 252.3 kB / 404.6 MB, free: 65.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/0.8603, allocations: 132.8 kB / 404.8 MB, free: 65.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.8604, allocations: 27.33 kB / 404.8 MB, free: 65.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.8638, allocations: 4.392 MB / 409.2 MB, free: 60.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8638, allocations: 3.938 kB / 409.2 MB, free: 60.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.8676, allocations: 1.948 MB / 411.1 MB, free: 58.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.8679, allocations: 174.8 kB / 411.3 MB, free: 58.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.8681, allocations: 24 kB / 411.3 MB, free: 58.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.8694, allocations: 77.73 kB / 411.4 MB, free: 58.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.8696, allocations: 90.81 kB / 411.5 MB, free: 58.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.8697, allocations: 42.56 kB / 411.5 MB, free: 58.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000709/0.8704, allocations: 435.6 kB / 412 MB, free: 57.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8705, allocations: 3.938 kB / 412 MB, free: 57.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001408/0.8719, allocations: 276 kB / 412.2 MB, free: 57.38 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.004041/0.8759, allocations: 3.302 MB / 415.5 MB, free: 54.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.8787, allocations: 1.325 MB / 416.9 MB, free: 52.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8787, allocations: 0.625 kB / 416.9 MB, free: 52.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.8803, allocations: 0.8882 MB / 417.7 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.001396/0.8817, allocations: 159 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.00498/0.8867, allocations: 1.956 MB / 419.9 MB, free: 49.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.8873, allocations: 1.052 MB / 420.9 MB, free: 48.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009152/0.8882, allocations: 127.4 kB / 421 MB, free: 48.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/0.889, allocations: 383 kB / 421.4 MB, free: 48.55 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.889, allocations: 0 / 421.4 MB, free: 48.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/0.9651, allocations: 20.27 MB / 441.7 MB, free: 28.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.9654, allocations: 195.7 kB / 441.9 MB, free: 28.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/4.164, allocations: 3.938 kB / 441.9 MB, free: 28.43 MB / 314.7 MB