Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.023e-05, allocations: 4.75 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.5759, allocations: 79.14 MB / 421.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5762, allocations: 64.66 kB / 421.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03947/0.6157, allocations: 7.756 MB / 429.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6158, allocations: 0 / 429.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.6158, allocations: 8 kB / 429.6 MB, free: 8.035 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00221/0.618, allocations: 0.6265 MB / 430.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.6181, allocations: 12.22 kB / 430.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.6182, allocations: 66.47 kB / 430.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.6184, allocations: 35.62 kB / 430.3 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.6189, allocations: 250.7 kB / 430.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/0.6196, allocations: 129.9 kB / 430.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6197, allocations: 28.91 kB / 430.7 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.6205, allocations: 316.8 kB / 431 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.6206, allocations: 7.25 kB / 431.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.6206, allocations: 6.75 kB / 431.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.6207, allocations: 8 kB / 431.1 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.6216, allocations: 262.8 kB / 431.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.6237, allocations: 0.9839 MB / 432.3 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/0.6246, allocations: 310.5 kB / 432.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.6251, allocations: 156.3 kB / 432.8 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.6251, allocations: 4 kB / 432.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.6252, allocations: 45.86 kB / 432.8 MB, free: 5.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.517e-06/0.6252, allocations: 0 / 432.8 MB, free: 5.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.003907/0.6291, allocations: 1.833 MB / 434.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.6292, allocations: 107 kB / 434.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.6295, allocations: 181.4 kB / 434.9 MB, free: 3.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.6296, allocations: 33.14 kB / 435 MB, free: 3.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6297, allocations: 207.2 kB / 435.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.6299, allocations: 139 kB / 435.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.63, allocations: 11.44 kB / 435.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6301, allocations: 326.6 kB / 435.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.6306, allocations: 129.6 kB / 435.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.631, allocations: 178 kB / 435.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.6314, allocations: 119.2 kB / 436 MB, free: 2.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6314, allocations: 0 / 436 MB, free: 2.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009957/0.6324, allocations: 357.3 kB / 436.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6325, allocations: 4 kB / 436.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6325, allocations: 4 kB / 436.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.6325, allocations: 3.984 kB / 436.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.6339, allocations: 170.4 kB / 436.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.634, allocations: 4 kB / 436.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.6345, allocations: 26.86 kB / 436.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.6345, allocations: 15.42 kB / 436.6 MB, free: 1.609 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001991/0.6347, allocations: 130.8 kB / 436.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.6349, allocations: 31.62 kB / 436.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.635, allocations: 33.39 kB / 436.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.635, allocations: 4 kB / 436.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.635, allocations: 4 kB / 436.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.635, allocations: 0 / 436.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.6376, allocations: 1.207 MB / 438 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6376, allocations: 8.188 kB / 438 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.6395, allocations: 207.6 kB / 438.2 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.6396, allocations: 8 kB / 438.2 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/0.6396, allocations: 7.688 kB / 438.2 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.6397, allocations: 4 kB / 438.3 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6397, allocations: 4 kB / 438.3 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.6413, allocations: 0.8187 MB / 439.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.6416, allocations: 131.6 kB / 439.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.6417, allocations: 10.88 kB / 439.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.6425, allocations: 59.77 kB / 439.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.6427, allocations: 46.92 kB / 439.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.6427, allocations: 19.92 kB / 439.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.643, allocations: 150 kB / 439.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.643, allocations: 4 kB / 439.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006719/0.6437, allocations: 86.5 kB / 439.6 MB, free: 14.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002059/0.6457, allocations: 1.935 MB / 441.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.6465, allocations: 253.4 kB / 441.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6466, allocations: 0 / 441.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.6471, allocations: 163.4 kB / 441.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.6479, allocations: 60 kB / 442 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009402/0.6573, allocations: 1.453 MB / 443.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.6578, allocations: 0.7763 MB / 444.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.6581, allocations: 92.09 kB / 444.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6581, allocations: 0 / 444.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.601/3.259, allocations: 4.964 MB / 449.3 MB, free: 5.547 MB / 362.7 MB