Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.533e-05, allocations: 4 kB / 219.6 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 38.77 MB / 258.3 MB, free: 12.15 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.3994, allocations: 67.53 MB / 325.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.3997, allocations: 67.97 kB / 325.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04163/0.4413, allocations: 9.023 MB / 334.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4414, allocations: 0 / 334.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.4415, allocations: 12 kB / 335 MB, free: 1.242 MB / 282.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.00218/0.4436, allocations: 0.7302 MB / 335.7 MB, free: 476 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.4437, allocations: 12.03 kB / 335.7 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.444, allocations: 59.34 kB / 335.8 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.4446, allocations: 310.2 kB / 336.1 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.4447, allocations: 16 kB / 336.1 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4448, allocations: 24 kB / 336.1 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001143/0.446, allocations: 346.5 kB / 336.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4471, allocations: 339.9 kB / 336.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.4471, allocations: 3.906 kB / 336.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.4472, allocations: 0 / 336.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4472, allocations: 12 kB / 336.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.4517, allocations: 1.311 MB / 338.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.4531, allocations: 472.3 kB / 338.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4542, allocations: 319.2 kB / 338.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.4544, allocations: 12.56 kB / 338.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.4545, allocations: 39.08 kB / 338.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 5.47e-06/0.4545, allocations: 0 / 338.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006746/0.4612, allocations: 2.213 MB / 341.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4613, allocations: 60.72 kB / 341.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.4617, allocations: 202.3 kB / 341.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.4619, allocations: 25.7 kB / 341.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.4621, allocations: 263.6 kB / 341.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/0.4625, allocations: 334.9 kB / 342 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.4626, allocations: 0 / 342 MB, free: 9.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4628, allocations: 342.8 kB / 342.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.4634, allocations: 206.6 kB / 342.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.4641, allocations: 286.3 kB / 342.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.4648, allocations: 238.3 kB / 343 MB, free: 8.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4648, allocations: 0 / 343 MB, free: 8.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00165/0.4664, allocations: 0.6099 MB / 343.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.4665, allocations: 8 kB / 343.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4665, allocations: 0 / 343.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4666, allocations: 4 kB / 343.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.4682, allocations: 219.8 kB / 343.9 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.4683, allocations: 4 kB / 343.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.469, allocations: 39.95 kB / 343.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.4691, allocations: 47.81 kB / 344 MB, free: 7.91 MB / 298.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.0002139/0.4694, allocations: 114.2 kB / 344.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001596/0.471, allocations: 0.5863 MB / 344.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.4712, allocations: 55.34 kB / 344.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4714, allocations: 61.36 kB / 344.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.4715, allocations: 12 kB / 344.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.4715, allocations: 7.891 kB / 344.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4715, allocations: 3.984 kB / 344.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.476, allocations: 1.741 MB / 346.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.4761, allocations: 4 kB / 346.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.4778, allocations: 211.7 kB / 346.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.683e-05/0.4779, allocations: 12 kB / 346.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.478, allocations: 7.984 kB / 346.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.478, allocations: 20.03 kB / 346.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.478, allocations: 4 kB / 346.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.4808, allocations: 1.387 MB / 348.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.4812, allocations: 176.5 kB / 348.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4813, allocations: 11.98 kB / 348.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.4822, allocations: 43.97 kB / 348.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.4825, allocations: 72.58 kB / 348.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.4826, allocations: 35.98 kB / 348.5 MB, free: 3.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002708/0.4829, allocations: 162 kB / 348.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4829, allocations: 4 kB / 348.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008478/0.4837, allocations: 120 kB / 348.8 MB, free: 2.758 MB / 298.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.003751/0.4875, allocations: 3.242 MB / 352 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.4892, allocations: 0.5849 MB / 352.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4892, allocations: 4 kB / 352.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009791/0.4902, allocations: 378.8 kB / 353 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4913, allocations: 84.17 kB / 353.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.4957, allocations: 1.332 MB / 354.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.4966, allocations: 0.8845 MB / 355.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/0.4975, allocations: 199.4 kB / 355.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4975, allocations: 4 kB / 355.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.262, allocations: 9.196 MB / 364.7 MB, free: 2.559 MB / 314.7 MB