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.774/1.774, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.043e-05/5.077e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3922, allocations: 38.76 MB / 263.8 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5578, allocations: 67.37 MB / 331.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.5582, allocations: 63.97 kB / 331.3 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02974/0.5879, allocations: 4.695 MB / 336 MB, free: 1.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.588, allocations: 0 / 336 MB, free: 1.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.588, allocations: 4 kB / 336 MB, free: 1.473 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.001407/0.5894, allocations: 0.5039 MB / 336.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5895, allocations: 12.03 kB / 336.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.677e-05/0.5896, allocations: 50.55 kB / 336.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.5897, allocations: 19.81 kB / 336.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.5901, allocations: 223.3 kB / 336.8 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.5904, allocations: 73.62 kB / 336.9 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.5905, allocations: 23.91 kB / 336.9 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.591, allocations: 207.2 kB / 337.1 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.5911, allocations: 0 / 337.1 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.5911, allocations: 12 kB / 337.1 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.5911, allocations: 4 kB / 337.1 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.5917, allocations: 167.8 kB / 337.3 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.593, allocations: 0.6705 MB / 337.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.5936, allocations: 209.2 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.5939, allocations: 97.7 kB / 338.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5939, allocations: 4 kB / 338.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.594, allocations: 34.77 kB / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.888e-06/0.594, allocations: 0 / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.002515/0.5965, allocations: 1.204 MB / 339.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.5966, allocations: 81.11 kB / 339.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.5969, allocations: 138.5 kB / 339.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.5969, allocations: 33.7 kB / 339.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5971, allocations: 128.3 kB / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.5972, allocations: 90.73 kB / 339.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.5973, allocations: 4 kB / 339.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5975, allocations: 326.8 kB / 340.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.5979, allocations: 79.92 kB / 340.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.5983, allocations: 111.4 kB / 340.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.5986, allocations: 83.66 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5987, allocations: 4 kB / 340.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001042/0.5997, allocations: 245.2 kB / 340.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.5998, allocations: 4 kB / 340.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5998, allocations: 7.953 kB / 340.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5998, allocations: 0 / 340.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.601, allocations: 103.9 kB / 340.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.6011, allocations: 7.938 kB / 340.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.6015, allocations: 19.98 kB / 340.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.6015, allocations: 8 kB / 340.9 MB, free: 12.1 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.000154/0.6017, allocations: 116.9 kB / 341 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.6018, allocations: 15.81 kB / 341 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.6019, allocations: 21.66 kB / 341.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.602, allocations: 3.953 kB / 341.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.602, allocations: 4 kB / 341.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.602, allocations: 3.984 kB / 341.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.6044, allocations: 0.835 MB / 341.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.6044, allocations: 4 kB / 341.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.6059, allocations: 116 kB / 342 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.6059, allocations: 8 kB / 342 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.606, allocations: 8 kB / 342 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.606, allocations: 4 kB / 342 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.606, allocations: 3.984 kB / 342.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.6074, allocations: 0.5496 MB / 342.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.6076, allocations: 112.9 kB / 342.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.6077, allocations: 4 kB / 342.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.6083, allocations: 39.97 kB / 342.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.6084, allocations: 19.97 kB / 342.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.6085, allocations: 8 kB / 342.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.6086, allocations: 120.9 kB / 342.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6086, allocations: 0 / 342.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004604/0.6091, allocations: 56 kB / 343 MB, free: 9.883 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.001415/0.6105, allocations: 1.453 MB / 344.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004781/0.611, allocations: 167.8 kB / 344.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6111, allocations: 4 kB / 344.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.6113, allocations: 104.1 kB / 344.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.6119, allocations: 36.11 kB / 344.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.6184, allocations: 1.051 MB / 345.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.6188, allocations: 0.741 MB / 346.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.619, allocations: 26.06 kB / 346.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.6192, allocations: 67.41 kB / 346.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6192, allocations: 0 / 346.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.6466, allocations: 4.183 MB / 350.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.6469, allocations: 145.4 kB / 350.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.349, allocations: 0 / 350.9 MB, free: 1.77 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