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.028/2.028, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.952e-05, allocations: 8 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 44.48 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4392, allocations: 72.94 MB / 367.1 MB, free: 8.945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4395, allocations: 71.95 kB / 367.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03679/0.4763, allocations: 7.445 MB / 374.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4764, allocations: 0 / 374.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.4764, allocations: 4 kB / 374.7 MB, free: 1.406 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.002148/0.4786, allocations: 0.6311 MB / 375.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4786, allocations: 8.031 kB / 375.3 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.4788, allocations: 35.62 kB / 375.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.4793, allocations: 250.6 kB / 375.6 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005687/0.4799, allocations: 127.8 kB / 375.7 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.48, allocations: 16 kB / 375.7 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008199/0.4808, allocations: 261 kB / 376 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.4816, allocations: 275 kB / 376.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.4816, allocations: 11.89 kB / 376.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.4817, allocations: 0 / 376.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4817, allocations: 4 kB / 376.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.4838, allocations: 0.9297 MB / 377.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.4847, allocations: 299.9 kB / 377.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.4851, allocations: 146.6 kB / 377.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.4851, allocations: 8 kB / 377.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4852, allocations: 38.94 kB / 377.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.366e-06/0.4852, allocations: 0 / 377.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.003523/0.4887, allocations: 1.755 MB / 379.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.4888, allocations: 110.8 kB / 379.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.4891, allocations: 150.1 kB / 379.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.4891, allocations: 33.7 kB / 379.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.4893, allocations: 211.3 kB / 379.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4894, allocations: 130 kB / 380 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.4895, allocations: 4 kB / 380 MB, free: 11.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4896, allocations: 322.8 kB / 380.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.49, allocations: 108.9 kB / 380.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.4904, allocations: 180.5 kB / 380.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.4908, allocations: 106.3 kB / 380.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4908, allocations: 7.938 kB / 380.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009733/0.4918, allocations: 324.4 kB / 381.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4918, allocations: 7.938 kB / 381.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4918, allocations: 0 / 381.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.4919, allocations: 8.094 kB / 381.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4932, allocations: 167.8 kB / 381.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4933, allocations: 4 kB / 381.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.4937, allocations: 27.92 kB / 381.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.4938, allocations: 16 kB / 381.3 MB, free: 10.22 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.0001802/0.4939, allocations: 108.7 kB / 381.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009337/0.4949, allocations: 311.2 kB / 381.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.495, allocations: 31.7 kB / 381.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.522e-05/0.4951, allocations: 21.97 kB / 381.8 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4952, allocations: 11.95 kB / 381.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4952, allocations: 0 / 381.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4952, allocations: 7.984 kB / 381.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.4976, allocations: 1.136 MB / 382.9 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4977, allocations: 4 kB / 382.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.4994, allocations: 204 kB / 383.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.4995, allocations: 4 kB / 383.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.4996, allocations: 7.984 kB / 383.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4996, allocations: 7.938 kB / 383.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.4996, allocations: 4 kB / 383.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.501, allocations: 0.8024 MB / 383.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.5013, allocations: 132.8 kB / 384.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.5014, allocations: 7.953 kB / 384.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008021/0.5022, allocations: 59.94 kB / 384.1 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.5024, allocations: 35.94 kB / 384.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.5025, allocations: 12 kB / 384.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.5026, allocations: 127.2 kB / 384.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5026, allocations: 0 / 384.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007211/0.5034, allocations: 72 kB / 384.4 MB, free: 6.938 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.001964/0.5054, allocations: 1.89 MB / 386.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007665/0.5062, allocations: 239.9 kB / 386.5 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5062, allocations: 0 / 386.5 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.5067, allocations: 167.8 kB / 386.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008664/0.5076, allocations: 53.44 kB / 386.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.5167, allocations: 1.43 MB / 388.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.5172, allocations: 0.776 MB / 388.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.5176, allocations: 95.39 kB / 389 MB, free: 2.129 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5176, allocations: 0 / 389 MB, free: 2.129 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.498/3.016, allocations: 4.863 MB / 393.9 MB, free: 13.27 MB / 346.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