Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.812e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09698, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5254, allocations: 73.6 MB / 373.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5257, allocations: 66.38 kB / 373.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03696/0.5627, allocations: 7.501 MB / 381.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5628, allocations: 1.25 kB / 381.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.5628, allocations: 4.125 kB / 381.1 MB, free: 11.73 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002054/0.5649, allocations: 0.6323 MB / 381.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5649, allocations: 9.031 kB / 381.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.5651, allocations: 60.23 kB / 381.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.5652, allocations: 36.25 kB / 381.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.5657, allocations: 257.5 kB / 382.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/0.5662, allocations: 133.9 kB / 382.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.5664, allocations: 34.47 kB / 382.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.5672, allocations: 308.4 kB / 382.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.5672, allocations: 2.531 kB / 382.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.5673, allocations: 12.03 kB / 382.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.5673, allocations: 6.438 kB / 382.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.5681, allocations: 273.9 kB / 382.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.5702, allocations: 0.9824 MB / 383.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.5711, allocations: 316.2 kB / 384.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.5716, allocations: 156.3 kB / 384.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.5716, allocations: 3.188 kB / 384.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.5717, allocations: 48.48 kB / 384.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.437e-06/0.5717, allocations: 0 / 384.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003579/0.5753, allocations: 1.846 MB / 386.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.5754, allocations: 107 kB / 386.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.5756, allocations: 181 kB / 386.5 MB, free: 8.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.5757, allocations: 36.39 kB / 386.5 MB, free: 8.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.5758, allocations: 202.4 kB / 386.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5759, allocations: 139 kB / 386.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.576, allocations: 8.375 kB / 386.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.5761, allocations: 323.5 kB / 387.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.5765, allocations: 126.4 kB / 387.3 MB, free: 8.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.577, allocations: 187.2 kB / 387.5 MB, free: 7.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.5773, allocations: 121.4 kB / 387.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5773, allocations: 1.344 kB / 387.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009816/0.5783, allocations: 362 kB / 387.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.5784, allocations: 6.938 kB / 387.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5784, allocations: 4.156 kB / 387.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5784, allocations: 7.969 kB / 388 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.5798, allocations: 165.2 kB / 388.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.5798, allocations: 2.812 kB / 388.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.5803, allocations: 33.27 kB / 388.2 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.5804, allocations: 12.94 kB / 388.2 MB, free: 7.879 MB / 314.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.0001509/0.5805, allocations: 125.7 kB / 388.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5807, allocations: 36.94 kB / 388.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.5808, allocations: 30.88 kB / 388.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5808, allocations: 3.844 kB / 388.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5808, allocations: 9.344 kB / 388.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.5808, allocations: 5.422 kB / 388.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.5832, allocations: 1.208 MB / 389.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5832, allocations: 2.5 kB / 389.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.585, allocations: 209.5 kB / 389.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.585, allocations: 3.781 kB / 389.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.5851, allocations: 23.45 kB / 389.8 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5851, allocations: 3.875 kB / 389.8 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5852, allocations: 0 / 389.8 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.5865, allocations: 0.8273 MB / 390.6 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.5867, allocations: 127.6 kB / 390.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.5868, allocations: 17.25 kB / 390.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/0.5876, allocations: 59.34 kB / 390.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.5878, allocations: 43.61 kB / 390.9 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.5878, allocations: 17.55 kB / 390.9 MB, free: 6.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.588, allocations: 151.9 kB / 391.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.588, allocations: 0 / 391.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006607/0.5887, allocations: 83.91 kB / 391.1 MB, free: 6.352 MB / 314.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.001953/0.5907, allocations: 1.918 MB / 393.1 MB, free: 20.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007196/0.5914, allocations: 261.8 kB / 393.3 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.5915, allocations: 3.844 kB / 393.3 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.5919, allocations: 171.8 kB / 393.5 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.5928, allocations: 54.09 kB / 393.5 MB, free: 20.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.6016, allocations: 1.463 MB / 395 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.6021, allocations: 0.7742 MB / 395.8 MB, free: 19.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.6024, allocations: 98.69 kB / 395.9 MB, free: 19.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.796e-06/0.6025, allocations: 0 / 395.9 MB, free: 19.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.587/3.19, allocations: 4.954 MB / 400.8 MB, free: 19.06 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat