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.91/1.91, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.334e-05, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09667, allocations: 44.5 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5183, allocations: 73.5 MB / 373.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5187, allocations: 70.16 kB / 373.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07275/0.5915, allocations: 9.105 MB / 382.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.5916, allocations: 0 / 382.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.721e-05/0.5916, allocations: 21.08 kB / 382.6 MB, free: 11.55 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.003258/0.5949, allocations: 0.7186 MB / 383.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.275e-05/0.595, allocations: 9.781 kB / 383.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004755/0.5955, allocations: 85.67 kB / 383.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.5958, allocations: 59.3 kB / 383.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009371/0.5968, allocations: 315.6 kB / 383.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.5969, allocations: 36.44 kB / 383.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.5971, allocations: 47.59 kB / 383.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.599, allocations: 397 kB / 384.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.285e-05/0.5991, allocations: 8.797 kB / 384.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5992, allocations: 20.03 kB / 384.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.5993, allocations: 11.5 kB / 384.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.601, allocations: 363.7 kB / 384.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004943/0.606, allocations: 1.39 MB / 386.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6073, allocations: 493.6 kB / 386.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.6083, allocations: 323.5 kB / 386.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.6084, allocations: 13.48 kB / 386.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.6085, allocations: 37.72 kB / 386.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.288e-06/0.6085, allocations: 0 / 386.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.0126/0.6211, allocations: 2.761 MB / 389.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.6212, allocations: 60.19 kB / 389.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.6217, allocations: 214.3 kB / 390 MB, free: 9.367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.6219, allocations: 45.17 kB / 390 MB, free: 9.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.622, allocations: 249.1 kB / 390.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.6225, allocations: 352.1 kB / 390.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.6226, allocations: 17.97 kB / 390.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6227, allocations: 344.2 kB / 390.9 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008873/0.6236, allocations: 225.7 kB / 391.2 MB, free: 8.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009781/0.6246, allocations: 296.7 kB / 391.4 MB, free: 8.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.6256, allocations: 256.2 kB / 391.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6257, allocations: 0 / 391.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00224/0.6279, allocations: 0.6712 MB / 392.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.628, allocations: 6.984 kB / 392.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.628, allocations: 8 kB / 392.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.628, allocations: 3.906 kB / 392.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.6298, allocations: 212.5 kB / 392.6 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.6298, allocations: 3.906 kB / 392.6 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/0.6307, allocations: 62.12 kB / 392.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.6308, allocations: 29.33 kB / 392.7 MB, free: 8.457 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.0002186/0.631, allocations: 158.7 kB / 392.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.6312, allocations: 62.55 kB / 392.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.6314, allocations: 76.86 kB / 393 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6315, allocations: 11.59 kB / 393 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.6315, allocations: 0 / 393 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.6315, allocations: 6.141 kB / 393 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.6357, allocations: 1.895 MB / 394.9 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6357, allocations: 3.812 kB / 394.9 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.6374, allocations: 217.3 kB / 395.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/0.6374, allocations: 14.31 kB / 395.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.6376, allocations: 23.03 kB / 395.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.6376, allocations: 10.73 kB / 395.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.6376, allocations: 7.812 kB / 395.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.64, allocations: 1.45 MB / 396.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.6403, allocations: 130 kB / 396.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6404, allocations: 24.25 kB / 396.8 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.6412, allocations: 62.38 kB / 396.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.6414, allocations: 73.84 kB / 396.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.6414, allocations: 36.8 kB / 396.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.6417, allocations: 174 kB / 397.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6417, allocations: 0 / 397.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008286/0.6425, allocations: 155.3 kB / 397.3 MB, free: 6.777 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.003414/0.646, allocations: 3.336 MB / 400.6 MB, free: 20.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.6475, allocations: 0.6171 MB / 401.2 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6476, allocations: 0 / 401.2 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.6485, allocations: 385.6 kB / 401.6 MB, free: 20.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6497, allocations: 97.38 kB / 401.7 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.6538, allocations: 1.397 MB / 403.1 MB, free: 19.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.6545, allocations: 0.8777 MB / 403.9 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/0.6551, allocations: 211.1 kB / 404.2 MB, free: 18.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6551, allocations: 0 / 404.2 MB, free: 18.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.644/3.299, allocations: 9.254 MB / 413.4 MB, free: 16.51 MB / 330.7 MB