Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.212e-05, allocations: 0 / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09467, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5309, allocations: 73.48 MB / 373.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5312, allocations: 69.34 kB / 373.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03956/0.5708, allocations: 9.108 MB / 382.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5708, allocations: 1.312 kB / 382.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.188e-05/0.5709, allocations: 9.344 kB / 382.6 MB, free: 11.51 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001874/0.5728, allocations: 0.7217 MB / 383.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.5728, allocations: 10.84 kB / 383.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.573, allocations: 84.33 kB / 383.4 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5731, allocations: 62.89 kB / 383.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.5736, allocations: 314.1 kB / 383.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.5737, allocations: 35.34 kB / 383.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5738, allocations: 56.53 kB / 383.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.5748, allocations: 395.7 kB / 384.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.5749, allocations: 7.984 kB / 384.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.5749, allocations: 21.31 kB / 384.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.575, allocations: 11 kB / 384.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.576, allocations: 370.1 kB / 384.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.5796, allocations: 1.394 MB / 386.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5808, allocations: 494.2 kB / 386.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/0.5817, allocations: 326.8 kB / 386.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.513e-05/0.5818, allocations: 10.84 kB / 386.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5819, allocations: 47.12 kB / 386.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.208e-06/0.5819, allocations: 0 / 386.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.009924/0.5918, allocations: 2.755 MB / 389.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.5919, allocations: 63.91 kB / 389.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.5922, allocations: 216.3 kB / 389.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.5923, allocations: 40.92 kB / 390 MB, free: 9.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5924, allocations: 244.4 kB / 390.2 MB, free: 9.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.5926, allocations: 354.4 kB / 390.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.5927, allocations: 19.31 kB / 390.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.5928, allocations: 344.8 kB / 390.9 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.5933, allocations: 223.5 kB / 391.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.594, allocations: 300 kB / 391.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.5946, allocations: 253.4 kB / 391.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5946, allocations: 0 / 391.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001459/0.5961, allocations: 0.68 MB / 392.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5961, allocations: 3.875 kB / 392.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5961, allocations: 0 / 392.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.5962, allocations: 3.906 kB / 392.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.5977, allocations: 220.8 kB / 392.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.5977, allocations: 7.844 kB / 392.6 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/0.5984, allocations: 61.48 kB / 392.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.5985, allocations: 28.33 kB / 392.7 MB, free: 8.395 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.5987, allocations: 160.2 kB / 392.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5988, allocations: 57.7 kB / 392.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.5991, allocations: 74.98 kB / 393 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.5991, allocations: 11.47 kB / 393 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.5991, allocations: 0 / 393 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5991, allocations: 3.891 kB / 393 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.6028, allocations: 1.906 MB / 394.9 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6029, allocations: 4.469 kB / 394.9 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.6045, allocations: 217.3 kB / 395.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.6045, allocations: 15.7 kB / 395.1 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.6046, allocations: 28.97 kB / 395.1 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/0.6046, allocations: 11.69 kB / 395.2 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6047, allocations: 7.844 kB / 395.2 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.6071, allocations: 1.452 MB / 396.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.6074, allocations: 129.8 kB / 396.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6075, allocations: 27.02 kB / 396.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.6083, allocations: 58.88 kB / 396.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.6084, allocations: 76.03 kB / 396.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.6085, allocations: 33.25 kB / 396.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.6087, allocations: 170.8 kB / 397.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6088, allocations: 0 / 397.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007318/0.6095, allocations: 156.8 kB / 397.3 MB, free: 6.699 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003439/0.613, allocations: 3.333 MB / 400.6 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.6145, allocations: 0.636 MB / 401.2 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6145, allocations: 0 / 401.2 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.6154, allocations: 395.1 kB / 401.6 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.6163, allocations: 92.98 kB / 401.7 MB, free: 20.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.6196, allocations: 1.419 MB / 403.1 MB, free: 19.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.6201, allocations: 0.8811 MB / 404 MB, free: 18.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.6206, allocations: 204.8 kB / 404.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6206, allocations: 0 / 404.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.488/3.108, allocations: 9.305 MB / 413.5 MB, free: 16.34 MB / 330.7 MB