Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.22e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3671, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.5382, allocations: 67.38 MB / 331.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.5386, allocations: 63.97 kB / 331.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03347/0.5721, allocations: 4.688 MB / 336 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5722, allocations: 0 / 336 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.5722, allocations: 4 kB / 336 MB, free: 1.465 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.001945/0.5742, allocations: 0.4978 MB / 336.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.5743, allocations: 12.03 kB / 336.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.5744, allocations: 46.55 kB / 336.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.5746, allocations: 27.8 kB / 336.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.5751, allocations: 227 kB / 336.8 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/0.5755, allocations: 69.62 kB / 336.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5757, allocations: 27.89 kB / 336.9 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5767, allocations: 211.2 kB / 337.1 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.5767, allocations: 0 / 337.1 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.5768, allocations: 15.94 kB / 337.1 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.5768, allocations: 8 kB / 337.1 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.5776, allocations: 160.3 kB / 337.3 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.5804, allocations: 0.6666 MB / 338 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.5813, allocations: 193.1 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.5817, allocations: 97.89 kB / 338.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.5818, allocations: 15.94 kB / 338.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.5818, allocations: 30.78 kB / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 7.154e-06/0.5819, allocations: 0 / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.003503/0.5854, allocations: 1.204 MB / 339.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.5855, allocations: 81.11 kB / 339.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.5858, allocations: 146.5 kB / 339.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.5859, allocations: 25.7 kB / 339.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.5861, allocations: 128.3 kB / 339.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.5862, allocations: 86.75 kB / 339.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.5863, allocations: 8 kB / 339.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5865, allocations: 326.8 kB / 340.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.5869, allocations: 79.92 kB / 340.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.5873, allocations: 111.3 kB / 340.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.5877, allocations: 74.36 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5877, allocations: 0 / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001058/0.5888, allocations: 253.2 kB / 340.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.5889, allocations: 8 kB / 340.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5889, allocations: 0 / 340.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5889, allocations: 3.953 kB / 340.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.5901, allocations: 103.9 kB / 340.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.5901, allocations: 0.6562 kB / 340.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.5905, allocations: 15.98 kB / 340.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.5905, allocations: 12 kB / 340.9 MB, free: 12.11 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.0001736/0.5907, allocations: 116.9 kB / 341 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5909, allocations: 19.8 kB / 341.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.591, allocations: 29.64 kB / 341.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.591, allocations: 7.953 kB / 341.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5911, allocations: 3.938 kB / 341.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5911, allocations: 0 / 341.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.5934, allocations: 0.8315 MB / 341.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.5934, allocations: 4 kB / 341.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.5948, allocations: 116 kB / 342 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.5948, allocations: 0 / 342 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.5949, allocations: 11.98 kB / 342.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.5949, allocations: 7.984 kB / 342.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5949, allocations: 0 / 342.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.5962, allocations: 0.5535 MB / 342.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.5965, allocations: 108.9 kB / 342.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.5966, allocations: 8 kB / 342.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.5972, allocations: 39.97 kB / 342.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5974, allocations: 23.91 kB / 342.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.5974, allocations: 12 kB / 342.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.5976, allocations: 120.9 kB / 342.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5976, allocations: 0 / 342.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008309/0.5985, allocations: 56 kB / 343 MB, free: 9.875 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.00193/0.6004, allocations: 1.445 MB / 344.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006892/0.6012, allocations: 159.9 kB / 344.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6012, allocations: 3.938 kB / 344.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.6016, allocations: 99.86 kB / 344.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.6025, allocations: 44.56 kB / 344.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008816/0.6113, allocations: 1.047 MB / 345.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.6119, allocations: 0.7326 MB / 346.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.6122, allocations: 34.05 kB / 346.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6124, allocations: 63.41 kB / 346.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6125, allocations: 4 kB / 346.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.644, allocations: 4.154 MB / 350.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.6443, allocations: 152 kB / 350.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.182, allocations: 0 / 350.9 MB, free: 1.797 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat