Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.416/2.416, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.691e-05/4.694e-05, allocations: 8 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 50.4 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.6048, allocations: 79.32 MB / 421.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6051, allocations: 74.7 kB / 422 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0438/0.6489, allocations: 9.547 MB / 431.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.649, allocations: 0 / 431.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.649, allocations: 20 kB / 431.6 MB, free: 6.375 MB / 346.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.002086/0.6511, allocations: 0.7216 MB / 432.3 MB, free: 5.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.6512, allocations: 12.03 kB / 432.3 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.6514, allocations: 82.89 kB / 432.4 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.6515, allocations: 55.34 kB / 432.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.6521, allocations: 307.9 kB / 432.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.6521, allocations: 36.69 kB / 432.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6523, allocations: 51.06 kB / 432.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.6533, allocations: 396.5 kB / 433.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.6534, allocations: 4 kB / 433.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.6535, allocations: 23.25 kB / 433.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.6535, allocations: 12 kB / 433.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6545, allocations: 362.1 kB / 433.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.6583, allocations: 1.399 MB / 435 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.6596, allocations: 494.6 kB / 435.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009689/0.6606, allocations: 333.9 kB / 435.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.6607, allocations: 8.562 kB / 435.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6607, allocations: 36.69 kB / 435.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.616e-06/0.6607, allocations: 4 kB / 435.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01078/0.6715, allocations: 2.752 MB / 438.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.6716, allocations: 64.41 kB / 438.7 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.672, allocations: 213.5 kB / 438.9 MB, free: 420 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.6721, allocations: 42.02 kB / 438.9 MB, free: 384 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.6722, allocations: 249.2 kB / 439.2 MB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.6726, allocations: 345 kB / 439.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.6727, allocations: 22.75 kB / 439.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6728, allocations: 345.7 kB / 439.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.6734, allocations: 231.5 kB / 440.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.6742, allocations: 290.2 kB / 440.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.6749, allocations: 262.3 kB / 440.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6749, allocations: 0 / 440.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001702/0.6766, allocations: 0.664 MB / 441.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.6767, allocations: 8.062 kB / 441.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.6767, allocations: 7.984 kB / 441.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.6767, allocations: 4 kB / 441.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.6784, allocations: 220.1 kB / 441.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.6785, allocations: 4 kB / 441.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/0.6792, allocations: 62.7 kB / 441.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.6793, allocations: 30.7 kB / 441.6 MB, free: 14.24 MB / 362.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.0002141/0.6796, allocations: 150.3 kB / 441.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6797, allocations: 55.34 kB / 441.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.6799, allocations: 76.02 kB / 441.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.68, allocations: 8 kB / 441.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.68, allocations: 4 kB / 441.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.68, allocations: 7.969 kB / 441.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.6842, allocations: 1.892 MB / 443.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.6842, allocations: 4 kB / 443.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.6859, allocations: 219.3 kB / 444 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/0.686, allocations: 8 kB / 444 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.686, allocations: 30.55 kB / 444.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/0.6861, allocations: 8 kB / 444.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.6861, allocations: 7.938 kB / 444.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.6889, allocations: 1.455 MB / 445.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.6891, allocations: 124.5 kB / 445.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6892, allocations: 22.19 kB / 445.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.69, allocations: 65.77 kB / 445.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.6902, allocations: 75.16 kB / 445.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.6903, allocations: 35.23 kB / 445.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.6906, allocations: 171.6 kB / 446 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6906, allocations: 3.938 kB / 446 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007868/0.6914, allocations: 157.6 kB / 446.2 MB, free: 10.36 MB / 362.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.003537/0.6949, allocations: 3.344 MB / 449.5 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.6967, allocations: 0.6156 MB / 450.1 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6967, allocations: 4 kB / 450.2 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009909/0.6977, allocations: 390.6 kB / 450.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6987, allocations: 98.03 kB / 450.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.7027, allocations: 1.4 MB / 452 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.7033, allocations: 0.877 MB / 452.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.7039, allocations: 207.3 kB / 453.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7039, allocations: 4 kB / 453.1 MB, free: 3.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/3.295, allocations: 9.247 MB / 462.4 MB, free: 10.3 MB / 378.7 MB