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.78/1.78, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.4e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 38.77 MB / 263.9 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.402, allocations: 77.79 MB / 341.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4024, allocations: 83.95 kB / 341.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3835/0.786, allocations: 35.75 MB / 377.5 MB, free: 83.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7861, allocations: 2.844 kB / 377.5 MB, free: 83.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.954e-05/0.7861, allocations: 22.47 kB / 377.5 MB, free: 83.54 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.003734/0.7899, allocations: 1.135 MB / 378.6 MB, free: 82.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.79, allocations: 10.75 kB / 378.6 MB, free: 82.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004042/0.7904, allocations: 148.8 kB / 378.8 MB, free: 82.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.7907, allocations: 119.3 kB / 378.9 MB, free: 82.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.7923, allocations: 0.6043 MB / 379.5 MB, free: 82.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.7925, allocations: 78.72 kB / 379.6 MB, free: 82.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.7928, allocations: 97.2 kB / 379.7 MB, free: 82.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.7952, allocations: 0.9228 MB / 380.6 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.474e-05/0.7953, allocations: 10.5 kB / 380.6 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.7954, allocations: 40.72 kB / 380.7 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.7955, allocations: 23.56 kB / 380.7 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.7977, allocations: 0.7601 MB / 381.4 MB, free: 82.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008069/0.8058, allocations: 3.56 MB / 385 MB, free: 81.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.8076, allocations: 0.7883 MB / 385.8 MB, free: 80.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.8087, allocations: 460.4 kB / 386.2 MB, free: 80.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/0.8088, allocations: 11.69 kB / 386.2 MB, free: 80.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.8088, allocations: 48.33 kB / 386.3 MB, free: 80.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.958e-06/0.8088, allocations: 0 / 386.3 MB, free: 80.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01444/0.8233, allocations: 4.263 MB / 390.6 MB, free: 78.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.8234, allocations: 92.7 kB / 390.6 MB, free: 78.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/0.8244, allocations: 0.5337 MB / 391.2 MB, free: 77.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.8246, allocations: 46.98 kB / 391.2 MB, free: 77.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.8248, allocations: 439.7 kB / 391.7 MB, free: 77.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.8253, allocations: 446.7 kB / 392.1 MB, free: 77.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.8254, allocations: 34.06 kB / 392.1 MB, free: 77.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.8255, allocations: 352.4 kB / 392.5 MB, free: 76.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.8265, allocations: 373.1 kB / 392.8 MB, free: 76.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.8276, allocations: 0.4944 MB / 393.3 MB, free: 76.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8287, allocations: 431.8 kB / 393.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.8287, allocations: 0 / 393.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002916/0.8316, allocations: 1.161 MB / 394.9 MB, free: 74.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.8317, allocations: 5.719 kB / 394.9 MB, free: 74.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.8317, allocations: 4 kB / 394.9 MB, free: 74.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000664/0.8324, allocations: 150.3 kB / 395.1 MB, free: 74.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.8347, allocations: 293.5 kB / 395.4 MB, free: 74.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.8392, allocations: 4.761 MB / 400.1 MB, free: 69.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.8409, allocations: 77.55 kB / 400.2 MB, free: 69.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.841, allocations: 46.77 kB / 400.2 MB, free: 69.29 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.000314/0.8414, allocations: 168.2 kB / 400.4 MB, free: 69.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.8416, allocations: 98.83 kB / 400.5 MB, free: 69.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.8436, allocations: 0.7877 MB / 401.3 MB, free: 68.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.8437, allocations: 12 kB / 401.3 MB, free: 68.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.8437, allocations: 4 kB / 401.3 MB, free: 68.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.8437, allocations: 6 kB / 401.3 MB, free: 68.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005959/0.8497, allocations: 2.985 MB / 404.3 MB, free: 65.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.8497, allocations: 4 kB / 404.3 MB, free: 65.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.8518, allocations: 255.3 kB / 404.5 MB, free: 65.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/0.8524, allocations: 122.5 kB / 404.7 MB, free: 65.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/0.8526, allocations: 35.47 kB / 404.7 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/0.8562, allocations: 4.385 MB / 409.1 MB, free: 60.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.8563, allocations: 7.938 kB / 409.1 MB, free: 60.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.8602, allocations: 1.952 MB / 411 MB, free: 58.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.8607, allocations: 175.5 kB / 411.2 MB, free: 58.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.8609, allocations: 24 kB / 411.2 MB, free: 58.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.8622, allocations: 86.02 kB / 411.3 MB, free: 58.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.8625, allocations: 96.5 kB / 411.4 MB, free: 58.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-05/0.8626, allocations: 35.14 kB / 411.5 MB, free: 58.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007714/0.8634, allocations: 435 kB / 411.9 MB, free: 57.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8634, allocations: 0 / 411.9 MB, free: 57.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001672/0.8651, allocations: 268 kB / 412.1 MB, free: 57.61 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.004466/0.8696, allocations: 3.297 MB / 415.4 MB, free: 54.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.8725, allocations: 1.326 MB / 416.8 MB, free: 52.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.8726, allocations: 0 / 416.8 MB, free: 52.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.8743, allocations: 0.8892 MB / 417.6 MB, free: 52.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.8759, allocations: 164 kB / 417.8 MB, free: 51.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.8817, allocations: 1.991 MB / 419.8 MB, free: 50.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.8823, allocations: 1.058 MB / 420.9 MB, free: 49.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.8834, allocations: 407.2 kB / 421.3 MB, free: 48.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8834, allocations: 0 / 421.3 MB, free: 48.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.187/4.07, allocations: 31.21 MB / 452.5 MB, free: 18.03 MB / 314.7 MB