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 2.094/2.094, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.256e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4386, allocations: 72.84 MB / 367 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4389, allocations: 63.97 kB / 367.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04081/0.4798, allocations: 9.026 MB / 376.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4798, allocations: 0 / 376.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.4799, allocations: 8 kB / 376.1 MB, free: 15.92 MB / 330.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.002013/0.4819, allocations: 0.7251 MB / 376.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.482, allocations: 8.031 kB / 376.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.4821, allocations: 59.52 kB / 376.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.4827, allocations: 314 kB / 377.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.4828, allocations: 23.94 kB / 377.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4829, allocations: 24 kB / 377.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/0.4839, allocations: 346.5 kB / 377.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.4849, allocations: 336 kB / 377.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.4849, allocations: 11.97 kB / 377.9 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.485, allocations: 0 / 377.9 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.485, allocations: 12 kB / 378 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.4887, allocations: 1.307 MB / 379.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4899, allocations: 472.2 kB / 379.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.4908, allocations: 307.9 kB / 380 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.668e-05/0.4909, allocations: 8.562 kB / 380 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.491, allocations: 39.12 kB / 380.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 3.626e-06/0.491, allocations: 0 / 380.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.006199/0.4972, allocations: 2.222 MB / 382.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4973, allocations: 60.72 kB / 382.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.4976, allocations: 194.4 kB / 382.5 MB, free: 9.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.4977, allocations: 25.7 kB / 382.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4979, allocations: 251.7 kB / 382.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4983, allocations: 342.8 kB / 383.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.4983, allocations: 0 / 383.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4985, allocations: 350.8 kB / 383.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.4991, allocations: 210.5 kB / 383.7 MB, free: 8.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.4997, allocations: 274.3 kB / 384 MB, free: 7.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.5004, allocations: 238.3 kB / 384.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5004, allocations: 4 kB / 384.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001543/0.502, allocations: 0.6099 MB / 384.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5021, allocations: 4 kB / 384.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5021, allocations: 8 kB / 384.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.5021, allocations: 11.94 kB / 384.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.5038, allocations: 223.7 kB / 385.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.5038, allocations: 11.98 kB / 385.1 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/0.5045, allocations: 35.97 kB / 385.1 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.5046, allocations: 31.98 kB / 385.1 MB, free: 6.594 MB / 330.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.0001979/0.5048, allocations: 112.9 kB / 385.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001487/0.5063, allocations: 0.5903 MB / 385.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.5065, allocations: 59.3 kB / 385.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.5067, allocations: 57.36 kB / 386 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.5067, allocations: 8 kB / 386 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.5068, allocations: 0 / 386 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.5068, allocations: 7.984 kB / 386 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.5109, allocations: 1.738 MB / 387.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.511, allocations: 8.094 kB / 387.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.5127, allocations: 215.7 kB / 387.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.353e-05/0.5128, allocations: 11.94 kB / 387.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/0.5129, allocations: 11.98 kB / 387.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.5129, allocations: 15.89 kB / 388 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.5129, allocations: 4 kB / 388 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.5156, allocations: 1.399 MB / 389.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.5158, allocations: 120.5 kB / 389.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.516, allocations: 8 kB / 389.5 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.5167, allocations: 47.95 kB / 389.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.5169, allocations: 76.64 kB / 389.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.517, allocations: 28 kB / 389.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.5172, allocations: 154 kB / 389.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5172, allocations: 0 / 389.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008007/0.5181, allocations: 128 kB / 389.9 MB, free: 1.492 MB / 330.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.003523/0.5216, allocations: 3.25 MB / 393.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.5232, allocations: 0.5888 MB / 393.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.5232, allocations: 0 / 393.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009341/0.5242, allocations: 372 kB / 394.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5252, allocations: 82.53 kB / 394.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.529, allocations: 1.324 MB / 395.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.5296, allocations: 0.8845 MB / 396.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.5302, allocations: 207.3 kB / 396.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5302, allocations: 0 / 396.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.673/3.203, allocations: 9.191 MB / 405.8 MB, free: 1.312 MB / 346.7 MB