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 2.322/2.322, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.149e-05, allocations: 4 kB / 225.1 MB, free: 2.199 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2556, allocations: 38.77 MB / 263.9 MB, free: 9.68 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4052, allocations: 77.78 MB / 341.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/0.4056, allocations: 83.94 kB / 341.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4/0.8056, allocations: 35.75 MB / 377.5 MB, free: 83.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.8056, allocations: 1.688 kB / 377.5 MB, free: 83.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.851e-05/0.8057, allocations: 22.11 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.00307/0.8087, allocations: 1.136 MB / 378.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8088, allocations: 7.375 kB / 378.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.809, allocations: 147.6 kB / 378.8 MB, free: 82.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.8093, allocations: 117.9 kB / 378.9 MB, free: 82.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.8105, allocations: 0.6095 MB / 379.5 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.8107, allocations: 76.83 kB / 379.6 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.8109, allocations: 99.62 kB / 379.7 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.8131, allocations: 0.9395 MB / 380.6 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.8131, allocations: 3.906 kB / 380.6 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.8133, allocations: 38.38 kB / 380.7 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.8133, allocations: 23.41 kB / 380.7 MB, free: 82.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.8153, allocations: 0.7777 MB / 381.5 MB, free: 82.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007081/0.8224, allocations: 3.549 MB / 385 MB, free: 80.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.824, allocations: 0.7999 MB / 385.8 MB, free: 80.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.825, allocations: 461.5 kB / 386.3 MB, free: 80.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/0.8251, allocations: 13.47 kB / 386.3 MB, free: 80.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8252, allocations: 57.92 kB / 386.3 MB, free: 80.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.306e-06/0.8252, allocations: 0 / 386.3 MB, free: 80.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01299/0.8382, allocations: 4.262 MB / 390.6 MB, free: 78.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.8383, allocations: 93.08 kB / 390.7 MB, free: 77.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/0.8392, allocations: 0.5298 MB / 391.2 MB, free: 77.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.8393, allocations: 48.89 kB / 391.3 MB, free: 77.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.8396, allocations: 417.6 kB / 391.7 MB, free: 77.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.8399, allocations: 450.9 kB / 392.1 MB, free: 77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.8401, allocations: 27.19 kB / 392.1 MB, free: 76.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8402, allocations: 401.8 kB / 392.5 MB, free: 76.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009598/0.8412, allocations: 374.5 kB / 392.9 MB, free: 76.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.8422, allocations: 0.5051 MB / 393.4 MB, free: 75.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.8432, allocations: 428.9 kB / 393.8 MB, free: 75.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8432, allocations: 0 / 393.8 MB, free: 75.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002859/0.8461, allocations: 1.208 MB / 395 MB, free: 74.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.8461, allocations: 11.42 kB / 395 MB, free: 74.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.8462, allocations: 0 / 395 MB, free: 74.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.8468, allocations: 148.9 kB / 395.2 MB, free: 74.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.8489, allocations: 291.5 kB / 395.5 MB, free: 74.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.853, allocations: 4.757 MB / 400.2 MB, free: 69.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.8545, allocations: 81.03 kB / 400.3 MB, free: 68.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.8547, allocations: 50.61 kB / 400.3 MB, free: 68.94 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.000284/0.855, allocations: 164.7 kB / 400.5 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.8552, allocations: 98.83 kB / 400.6 MB, free: 68.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.8572, allocations: 0.792 MB / 401.4 MB, free: 67.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.8572, allocations: 14.3 kB / 401.4 MB, free: 67.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.8572, allocations: 4 kB / 401.4 MB, free: 67.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.8572, allocations: 6.281 kB / 401.4 MB, free: 67.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00569/0.8629, allocations: 2.995 MB / 404.4 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.863, allocations: 0 / 404.4 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.8649, allocations: 252.8 kB / 404.7 MB, free: 65.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005579/0.8655, allocations: 135.2 kB / 404.8 MB, free: 64.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.8656, allocations: 27.84 kB / 404.8 MB, free: 64.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.869, allocations: 4.385 MB / 409.2 MB, free: 60.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.869, allocations: 4 kB / 409.2 MB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.8728, allocations: 1.952 MB / 411.2 MB, free: 58.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.8731, allocations: 174.6 kB / 411.3 MB, free: 58.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.8733, allocations: 24 kB / 411.4 MB, free: 58.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.8745, allocations: 81.17 kB / 411.4 MB, free: 58.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.8747, allocations: 97.41 kB / 411.5 MB, free: 57.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/0.8748, allocations: 35.94 kB / 411.6 MB, free: 57.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007126/0.8756, allocations: 438.7 kB / 412 MB, free: 57.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8756, allocations: 0 / 412 MB, free: 57.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001339/0.8769, allocations: 268 kB / 412.3 MB, free: 57.25 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.004042/0.881, allocations: 3.303 MB / 415.6 MB, free: 53.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.8838, allocations: 1.37 MB / 416.9 MB, free: 52.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8838, allocations: 3.938 kB / 416.9 MB, free: 52.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.8854, allocations: 0.9046 MB / 417.8 MB, free: 51.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.8868, allocations: 166.1 kB / 418 MB, free: 51.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.8918, allocations: 1.966 MB / 420 MB, free: 49.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.8923, allocations: 1.059 MB / 421 MB, free: 48.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009219/0.8933, allocations: 125.6 kB / 421.1 MB, free: 48.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/0.894, allocations: 387.8 kB / 421.5 MB, free: 48.31 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.894, allocations: 0 / 421.5 MB, free: 48.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07701/0.9711, allocations: 20.4 MB / 441.9 MB, free: 28.34 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.9713, allocations: 189 kB / 442.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/4.381, allocations: 0 / 442.1 MB, free: 28.12 MB / 314.7 MB