Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.333/2.333, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.356e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5748, allocations: 77.95 MB / 395 MB, free: 9.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5751, allocations: 72.45 kB / 395 MB, free: 9.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03634/0.6115, allocations: 7.622 MB / 402.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.28e-06/0.6115, allocations: 0 / 402.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.574e-05/0.6116, allocations: 7.938 kB / 402.7 MB, free: 3.223 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.002118/0.6137, allocations: 0.6182 MB / 403.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6138, allocations: 12.03 kB / 403.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.6139, allocations: 64.03 kB / 403.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.614, allocations: 31.62 kB / 403.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.6145, allocations: 264.6 kB / 403.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/0.6151, allocations: 133.9 kB / 403.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.6152, allocations: 30.59 kB / 403.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.616, allocations: 306.9 kB / 404.1 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.616, allocations: 3.938 kB / 404.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.6161, allocations: 10.06 kB / 404.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.6161, allocations: 11.94 kB / 404.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.6169, allocations: 262.7 kB / 404.4 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.6189, allocations: 0.9854 MB / 405.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.6197, allocations: 318.3 kB / 405.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.6202, allocations: 151.9 kB / 405.8 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.6202, allocations: 11 kB / 405.9 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6203, allocations: 41.8 kB / 405.9 MB, free: 380 kB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.6203, allocations: 4 kB / 405.9 MB, free: 376 kB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003667/0.624, allocations: 1.839 MB / 407.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.6241, allocations: 106.8 kB / 407.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.6243, allocations: 177.9 kB / 408 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.6244, allocations: 35.2 kB / 408.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.6245, allocations: 154.4 kB / 408.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.6247, allocations: 133.1 kB / 408.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.6248, allocations: 8.094 kB / 408.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.6249, allocations: 342.2 kB / 408.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.6253, allocations: 118.6 kB / 408.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.6258, allocations: 177.7 kB / 409 MB, free: 13.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.6261, allocations: 131 kB / 409.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6261, allocations: 0 / 409.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009702/0.6271, allocations: 363.6 kB / 409.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6272, allocations: 7.938 kB / 409.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6272, allocations: 0 / 409.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.6272, allocations: 4 kB / 409.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.6286, allocations: 179.4 kB / 409.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.6287, allocations: 4 kB / 409.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.6291, allocations: 27.73 kB / 409.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.6292, allocations: 11.94 kB / 409.7 MB, free: 12.81 MB / 330.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.0001641/0.6293, allocations: 124 kB / 409.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.6295, allocations: 31.7 kB / 409.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.6296, allocations: 28.78 kB / 409.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6296, allocations: 4 kB / 409.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6296, allocations: 3.953 kB / 409.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6297, allocations: 7.984 kB / 409.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.6322, allocations: 1.2 MB / 411.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6323, allocations: 0 / 411.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.6341, allocations: 203.6 kB / 411.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.6341, allocations: 4 kB / 411.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.6342, allocations: 15.8 kB / 411.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.6342, allocations: 11.94 kB / 411.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6342, allocations: 4 kB / 411.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.6357, allocations: 0.8353 MB / 412.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.636, allocations: 128.2 kB / 412.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.636, allocations: 19.75 kB / 412.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.6369, allocations: 59.89 kB / 412.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.637, allocations: 39.62 kB / 412.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.6371, allocations: 11.94 kB / 412.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.6373, allocations: 146.2 kB / 412.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6373, allocations: 0 / 412.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006831/0.638, allocations: 87.62 kB / 412.6 MB, free: 10.11 MB / 330.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.002077/0.6401, allocations: 1.927 MB / 414.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.6409, allocations: 249.7 kB / 414.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.641, allocations: 192 / 414.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.6415, allocations: 183.1 kB / 415 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.6423, allocations: 50.39 kB / 415 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009355/0.6517, allocations: 1.437 MB / 416.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.6522, allocations: 0.7685 MB / 417.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.6525, allocations: 42.95 kB / 417.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.6528, allocations: 91.59 kB / 417.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of SimCode: time 4.097e-06/0.6528, allocations: 0 / 417.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/0.6966, allocations: 6.277 MB / 423.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/0.697, allocations: 152.5 kB / 423.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.556, allocations: 0 / 423.8 MB, free: 15.21 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat