Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.137e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 38.78 MB / 263.9 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.3852, allocations: 67.37 MB / 331.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.3856, allocations: 63.97 kB / 331.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.4119, allocations: 4.687 MB / 336 MB, free: 1.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.412, allocations: 0 / 336 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.412, allocations: 4 kB / 336 MB, free: 1.531 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001345/0.4133, allocations: 0.5056 MB / 336.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4134, allocations: 8.031 kB / 336.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.497e-05/0.4135, allocations: 54.55 kB / 336.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.4136, allocations: 15.81 kB / 336.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.4139, allocations: 227.3 kB / 336.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003217/0.4143, allocations: 73.61 kB / 336.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.4144, allocations: 27.89 kB / 336.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.4149, allocations: 207.2 kB / 337.1 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.415, allocations: 3.984 kB / 337.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.415, allocations: 8 kB / 337.1 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.415, allocations: 4 kB / 337.1 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.4155, allocations: 164.3 kB / 337.3 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.4169, allocations: 0.6627 MB / 337.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.4175, allocations: 197.3 kB / 338.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.4178, allocations: 97.64 kB / 338.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.4178, allocations: 4 kB / 338.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4179, allocations: 34.56 kB / 338.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.206e-06/0.4179, allocations: 4.219 kB / 338.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.002454/0.4204, allocations: 1.201 MB / 339.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.4205, allocations: 81.11 kB / 339.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4207, allocations: 138.5 kB / 339.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.4207, allocations: 37.7 kB / 339.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4209, allocations: 190.7 kB / 339.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.421, allocations: 86.73 kB / 340 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.421, allocations: 8.094 kB / 340 MB, free: 13.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4212, allocations: 322.8 kB / 340.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.4215, allocations: 75.94 kB / 340.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.4218, allocations: 115.3 kB / 340.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.422, allocations: 79.08 kB / 340.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.422, allocations: 0 / 340.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006627/0.4227, allocations: 245.3 kB / 340.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4228, allocations: 4 kB / 340.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4228, allocations: 0 / 340.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4228, allocations: 7.953 kB / 340.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.4236, allocations: 95.94 kB / 340.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.4237, allocations: 4 kB / 340.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4239, allocations: 19.98 kB / 340.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.424, allocations: 8 kB / 340.9 MB, free: 12.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001223/0.4241, allocations: 116.9 kB / 341 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.4242, allocations: 23.8 kB / 341.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.4243, allocations: 21.64 kB / 341.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.4243, allocations: 7.953 kB / 341.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4243, allocations: 0 / 341.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4244, allocations: 4 kB / 341.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4261, allocations: 0.8276 MB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4261, allocations: 0 / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4272, allocations: 128 kB / 342.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.4272, allocations: 8 kB / 342.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4272, allocations: 4 kB / 342.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4272, allocations: 0 / 342.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.4273, allocations: 7.938 kB / 342.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4283, allocations: 0.5497 MB / 342.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.4285, allocations: 108.9 kB / 342.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.4285, allocations: 11.98 kB / 342.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.429, allocations: 31.98 kB / 342.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.4291, allocations: 27.91 kB / 342.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.4292, allocations: 7.984 kB / 342.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.4293, allocations: 124.9 kB / 342.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4294, allocations: 0 / 342.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005285/0.4299, allocations: 56.09 kB / 343 MB, free: 9.902 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (25): * Single equations (assignments): 25 * 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.001455/0.4314, allocations: 1.438 MB / 344.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.4319, allocations: 163.9 kB / 344.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4319, allocations: 0 / 344.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.4322, allocations: 111.9 kB / 344.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.4328, allocations: 31.97 kB / 344.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/0.4397, allocations: 1.073 MB / 345.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.4401, allocations: 0.7404 MB / 346.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.4403, allocations: 67.41 kB / 346.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4403, allocations: 0 / 346.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/2.95, allocations: 3.35 MB / 350 MB, free: 2.789 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat