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.915/1.915, allocations: 171.3 MB / 178.8 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.539e-05, allocations: 0 / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 38.77 MB / 258.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4318, allocations: 77.11 MB / 335.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4321, allocations: 79.95 kB / 335.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3757/0.8079, allocations: 35.39 MB / 370.9 MB, free: 82.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.808, allocations: 0 / 370.9 MB, free: 82.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.626e-05/0.8081, allocations: 25.31 kB / 370.9 MB, free: 82.26 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.004013/0.8121, allocations: 1.137 MB / 372.1 MB, free: 81.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.8122, allocations: 8.75 kB / 372.1 MB, free: 81.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.8127, allocations: 118.6 kB / 372.2 MB, free: 81.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.8144, allocations: 0.6042 MB / 372.8 MB, free: 81.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.8146, allocations: 51.41 kB / 372.9 MB, free: 81.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.8149, allocations: 66.27 kB / 372.9 MB, free: 81.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002365/0.8173, allocations: 0.7221 MB / 373.6 MB, free: 81.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.8198, allocations: 0.8024 MB / 374.4 MB, free: 81.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.8199, allocations: 4.812 kB / 374.4 MB, free: 81.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.8201, allocations: 7.141 kB / 374.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.8201, allocations: 23.03 kB / 374.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00804/0.8281, allocations: 3.371 MB / 377.8 MB, free: 80.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.8298, allocations: 0.752 MB / 378.6 MB, free: 80.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.8308, allocations: 425 kB / 379 MB, free: 80.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.8309, allocations: 14.97 kB / 379 MB, free: 80.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.831, allocations: 43.62 kB / 379.1 MB, free: 80.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.088e-06/0.831, allocations: 0 / 379.1 MB, free: 80.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01117/0.8422, allocations: 3.657 MB / 382.7 MB, free: 78.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.8423, allocations: 95.95 kB / 382.8 MB, free: 78.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.8431, allocations: 464.3 kB / 383.3 MB, free: 78.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.8434, allocations: 25.7 kB / 383.3 MB, free: 78.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.8436, allocations: 457.2 kB / 383.7 MB, free: 78.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/0.8441, allocations: 432.5 kB / 384.2 MB, free: 78.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.8442, allocations: 0 / 384.2 MB, free: 78.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8443, allocations: 358.9 kB / 384.5 MB, free: 77.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.8452, allocations: 348.9 kB / 384.9 MB, free: 77.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.8461, allocations: 477 kB / 385.3 MB, free: 77.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.8472, allocations: 400.9 kB / 385.7 MB, free: 77.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.8472, allocations: 3.875 kB / 385.7 MB, free: 77.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002777/0.85, allocations: 1.068 MB / 386.8 MB, free: 76.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.8501, allocations: 10.81 kB / 386.8 MB, free: 76.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.8501, allocations: 6.656 kB / 386.8 MB, free: 76.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.8508, allocations: 141.4 kB / 386.9 MB, free: 76.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.8531, allocations: 292.7 kB / 387.2 MB, free: 76.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004383/0.8575, allocations: 4.606 MB / 391.8 MB, free: 72.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.8592, allocations: 56.55 kB / 391.9 MB, free: 72.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.8593, allocations: 46.77 kB / 391.9 MB, free: 72.43 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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.8596, allocations: 132.4 kB / 392.1 MB, free: 72.3 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002577/0.8622, allocations: 0.9686 MB / 393 MB, free: 71.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.8626, allocations: 89 kB / 393.1 MB, free: 71.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.8644, allocations: 0.7156 MB / 393.8 MB, free: 71.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.8645, allocations: 12.97 kB / 393.9 MB, free: 71.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.8645, allocations: 3.125 kB / 393.9 MB, free: 71.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.8645, allocations: 11.58 kB / 393.9 MB, free: 71.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006235/0.8708, allocations: 2.745 MB / 396.6 MB, free: 69.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.8709, allocations: 3.812 kB / 396.6 MB, free: 69.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.873, allocations: 253.8 kB / 396.9 MB, free: 69.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006148/0.8736, allocations: 127.7 kB / 397 MB, free: 69.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.8738, allocations: 13.64 kB / 397 MB, free: 69.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.8774, allocations: 4.221 MB / 401.2 MB, free: 65.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.8774, allocations: 3.938 kB / 401.2 MB, free: 65.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/0.8813, allocations: 1.847 MB / 403.1 MB, free: 64.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.8818, allocations: 165.2 kB / 403.2 MB, free: 64.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.8822, allocations: 3.844 kB / 403.2 MB, free: 64.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.8836, allocations: 61.12 kB / 403.3 MB, free: 64.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.884, allocations: 90.28 kB / 403.4 MB, free: 64.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.8841, allocations: 37.25 kB / 403.4 MB, free: 64.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006584/0.8848, allocations: 361.7 kB / 403.8 MB, free: 64.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8848, allocations: 4 kB / 403.8 MB, free: 64.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001887/0.8867, allocations: 219.8 kB / 404 MB, free: 64.26 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.004289/0.891, allocations: 3.18 MB / 407.2 MB, free: 61.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.8939, allocations: 1.299 MB / 408.5 MB, free: 60.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.894, allocations: 9.828 kB / 408.5 MB, free: 60.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.8957, allocations: 0.867 MB / 409.3 MB, free: 59.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.8973, allocations: 137.7 kB / 409.5 MB, free: 59.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005634/0.9029, allocations: 1.887 MB / 411.4 MB, free: 57.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.9036, allocations: 1.056 MB / 412.4 MB, free: 56.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.9046, allocations: 399 kB / 412.8 MB, free: 56.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.183e-06/0.9046, allocations: 0 / 412.8 MB, free: 56.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.014/3.919, allocations: 30.97 MB / 443.8 MB, free: 28.4 MB / 314.7 MB