Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.12/1.12, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.656e-05, allocations: 0 / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1812, allocations: 25.15 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06427/0.2455, allocations: 35.19 MB / 211.8 MB, free: 14.17 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.2458, allocations: 67.91 kB / 211.9 MB, free: 14.11 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04209/0.288, allocations: 8.713 MB / 220.6 MB, free: 5.359 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.288, allocations: 4 kB / 220.6 MB, free: 5.355 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.2881, allocations: 12 kB / 220.6 MB, free: 5.344 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002774/0.2909, allocations: 0.6976 MB / 221.3 MB, free: 4.602 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/0.291, allocations: 12.03 kB / 221.3 MB, free: 4.59 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/0.2912, allocations: 82.52 kB / 221.4 MB, free: 4.5 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.2914, allocations: 55.34 kB / 221.5 MB, free: 4.445 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.2921, allocations: 285.4 kB / 221.7 MB, free: 4.129 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.2923, allocations: 37 kB / 221.8 MB, free: 4.094 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.2924, allocations: 40 kB / 221.8 MB, free: 4.055 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.294, allocations: 384.5 kB / 222.2 MB, free: 3.672 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.2941, allocations: 11.91 kB / 222.2 MB, free: 3.66 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.2942, allocations: 20 kB / 222.2 MB, free: 3.641 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.2943, allocations: 8 kB / 222.2 MB, free: 3.633 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.2958, allocations: 341.9 kB / 222.6 MB, free: 3.297 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.3017, allocations: 1.347 MB / 223.9 MB, free: 1.887 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.3036, allocations: 447.7 kB / 224.3 MB, free: 1.441 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009029/0.3126, allocations: 319 kB / 224.7 MB, free: 1.125 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.3128, allocations: 12.55 kB / 224.7 MB, free: 1.113 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.3129, allocations: 39.44 kB / 224.7 MB, free: 1.066 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 5.06e-06/0.3129, allocations: 0 / 224.7 MB, free: 1.066 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.02739/0.3403, allocations: 2.669 MB / 227.4 MB, free: 14.31 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3405, allocations: 64.19 kB / 227.4 MB, free: 14.23 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004952/0.3454, allocations: 215.1 kB / 227.6 MB, free: 14.02 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.3456, allocations: 45.7 kB / 227.7 MB, free: 13.97 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.3458, allocations: 239.7 kB / 227.9 MB, free: 13.73 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/0.3464, allocations: 327.1 kB / 228.2 MB, free: 13.41 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.3465, allocations: 20 kB / 228.3 MB, free: 13.39 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3467, allocations: 342.8 kB / 228.6 MB, free: 13.04 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/0.3476, allocations: 214 kB / 228.8 MB, free: 12.83 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.3487, allocations: 291.5 kB / 229.1 MB, free: 12.54 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.3497, allocations: 240.9 kB / 229.3 MB, free: 12.3 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3497, allocations: 0 / 229.3 MB, free: 12.3 MB / 202.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00243/0.3522, allocations: 0.6455 MB / 230 MB, free: 11.65 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3522, allocations: 12.77 kB / 230 MB, free: 11.64 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3523, allocations: 0 / 230 MB, free: 11.64 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.3523, allocations: 8.062 kB / 230 MB, free: 11.63 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/0.3626, allocations: 207.7 kB / 230.2 MB, free: 11.43 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.194e-05/0.3627, allocations: 11.97 kB / 230.2 MB, free: 11.42 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009857/0.3637, allocations: 63.91 kB / 230.3 MB, free: 11.36 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.3639, allocations: 31.94 kB / 230.3 MB, free: 11.32 MB / 202.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 (108): * Single equations (assignments): 108 * 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.000301/0.3642, allocations: 144.6 kB / 230.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.3644, allocations: 51.44 kB / 230.5 MB, free: 11.12 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.3647, allocations: 73.27 kB / 230.6 MB, free: 11.05 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.3648, allocations: 12 kB / 230.6 MB, free: 11.04 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.3648, allocations: 3.938 kB / 230.6 MB, free: 11.04 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.3648, allocations: 3.984 kB / 230.6 MB, free: 11.04 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/0.3711, allocations: 1.84 MB / 232.4 MB, free: 9.082 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.3712, allocations: 4 kB / 232.4 MB, free: 9.078 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.3734, allocations: 212.2 kB / 232.6 MB, free: 8.871 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.151e-05/0.3735, allocations: 8 kB / 232.6 MB, free: 8.863 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.3736, allocations: 27.98 kB / 232.7 MB, free: 8.836 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.513e-05/0.3737, allocations: 8 kB / 232.7 MB, free: 8.828 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.3737, allocations: 7.938 kB / 232.7 MB, free: 8.82 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.3766, allocations: 1.401 MB / 234.1 MB, free: 7.227 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.377, allocations: 172.5 kB / 234.3 MB, free: 7.039 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3771, allocations: 20 kB / 234.3 MB, free: 7.02 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/0.3779, allocations: 59.97 kB / 234.3 MB, free: 6.961 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3781, allocations: 80.58 kB / 234.4 MB, free: 6.883 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/0.3782, allocations: 28 kB / 234.4 MB, free: 6.855 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002601/0.3785, allocations: 171.1 kB / 234.6 MB, free: 6.688 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3785, allocations: 0 / 234.6 MB, free: 6.688 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007932/0.3793, allocations: 148 kB / 234.8 MB, free: 6.543 MB / 202.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 (98): * Single equations (assignments): 98 * 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.003783/0.3831, allocations: 3.276 MB / 238 MB, free: 3.105 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.3848, allocations: 0.5878 MB / 238.6 MB, free: 2.516 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.3849, allocations: 0 / 238.6 MB, free: 2.516 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.386, allocations: 374.7 kB / 239 MB, free: 2.152 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.387, allocations: 98.97 kB / 239.1 MB, free: 2.059 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.3912, allocations: 1.369 MB / 240.4 MB, free: 0.5898 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.3919, allocations: 0.8691 MB / 241.3 MB, free: 15.7 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.3925, allocations: 191.3 kB / 241.5 MB, free: 15.51 MB / 218.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3925, allocations: 0 / 241.5 MB, free: 15.51 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.675/3.067, allocations: 8.892 MB / 250.4 MB, free: 6.605 MB / 218.7 MB