Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.849/2.849, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.639e-05, allocations: 8.203 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5479/0.6924, allocations: 72.83 MB / 367.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.6928, allocations: 66.17 kB / 367.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04892/0.7417, allocations: 9.065 MB / 376.2 MB, free: 22.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.7418, allocations: 0 / 376.2 MB, free: 22.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.7418, allocations: 7.75 kB / 376.2 MB, free: 22.23 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.002412/0.7443, allocations: 0.7287 MB / 377 MB, free: 21.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.7443, allocations: 11.62 kB / 377 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/0.7446, allocations: 63.2 kB / 377 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.7448, allocations: 65.55 kB / 377.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.7454, allocations: 308.1 kB / 377.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.7455, allocations: 28.11 kB / 377.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7457, allocations: 27.12 kB / 377.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/0.7469, allocations: 342.7 kB / 377.8 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.748, allocations: 338.3 kB / 378.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.7481, allocations: 3.969 kB / 378.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.7481, allocations: 0 / 378.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.7482, allocations: 15.52 kB / 378.1 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.7524, allocations: 1.311 MB / 379.4 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.7537, allocations: 466 kB / 379.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.7548, allocations: 310.2 kB / 380.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.512e-05/0.7549, allocations: 12.31 kB / 380.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.755, allocations: 43.11 kB / 380.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.07e-06/0.755, allocations: 0 / 380.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.007333/0.7623, allocations: 2.208 MB / 382.5 MB, free: 19.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7624, allocations: 68.28 kB / 382.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.7627, allocations: 197.8 kB / 382.7 MB, free: 19.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.7628, allocations: 29.7 kB / 382.8 MB, free: 19.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.763, allocations: 194.2 kB / 382.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.7634, allocations: 335.8 kB / 383.3 MB, free: 19.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.7634, allocations: 0 / 383.3 MB, free: 19.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.7637, allocations: 359.8 kB / 383.6 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/0.7644, allocations: 207 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.7652, allocations: 277.9 kB / 384.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.7659, allocations: 244.9 kB / 384.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7659, allocations: 0 / 384.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001822/0.7678, allocations: 0.627 MB / 385 MB, free: 18.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.7678, allocations: 3.938 kB / 385 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7679, allocations: 3.953 kB / 385 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.406e-05/0.7679, allocations: 7.938 kB / 385 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.7701, allocations: 218.4 kB / 385.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.7701, allocations: 7.781 kB / 385.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009127/0.771, allocations: 43.2 kB / 385.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.7712, allocations: 29.67 kB / 385.3 MB, free: 18.45 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.0002771/0.7715, allocations: 123.8 kB / 385.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.7716, allocations: 46.75 kB / 385.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.7719, allocations: 58.17 kB / 385.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.772, allocations: 15.36 kB / 385.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.772, allocations: 0 / 385.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.772, allocations: 3.984 kB / 385.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.7768, allocations: 1.75 MB / 387.3 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.7768, allocations: 7.75 kB / 387.3 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/0.779, allocations: 212.9 kB / 387.5 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.7791, allocations: 7.875 kB / 387.5 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.7792, allocations: 19.11 kB / 387.5 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.7793, allocations: 11.53 kB / 387.5 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.7793, allocations: 11.53 kB / 387.5 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.7821, allocations: 1.387 MB / 388.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.7824, allocations: 127.8 kB / 389 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.7825, allocations: 11.73 kB / 389.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.7835, allocations: 47.02 kB / 389.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.7837, allocations: 74.72 kB / 389.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.7838, allocations: 30.95 kB / 389.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.7841, allocations: 154.2 kB / 389.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7841, allocations: 7.938 kB / 389.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009004/0.785, allocations: 120.5 kB / 389.5 MB, free: 16.41 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.003896/0.7889, allocations: 3.252 MB / 392.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.7906, allocations: 0.5844 MB / 393.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.7907, allocations: 0 / 393.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7917, allocations: 375.5 kB / 393.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.793, allocations: 80.89 kB / 393.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.7972, allocations: 1.292 MB / 395.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.7979, allocations: 0.8831 MB / 395.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007629/0.7987, allocations: 75.09 kB / 396 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.7993, allocations: 200.1 kB / 396.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.864e-06/0.7993, allocations: 0 / 396.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07892/0.8783, allocations: 10.1 MB / 406.3 MB, free: 7.32 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004224/0.8788, allocations: 149 kB / 406.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.854/4.733, allocations: 3.938 kB / 406.5 MB, free: 7.121 MB / 314.7 MB