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.798/1.798, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.963e-05, allocations: 0 / 225.1 MB, free: 2.754 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 38.77 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.383, allocations: 67.36 MB / 331.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.3833, allocations: 67.97 kB / 331.2 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02242/0.4058, allocations: 4.683 MB / 335.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.4058, allocations: 4 kB / 335.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.4059, allocations: 4 kB / 335.9 MB, free: 1.656 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.001326/0.4072, allocations: 0.5056 MB / 336.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.4073, allocations: 12.03 kB / 336.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.922e-05/0.4074, allocations: 54.53 kB / 336.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.4075, allocations: 23.8 kB / 336.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.4078, allocations: 226.9 kB / 336.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.4082, allocations: 69.62 kB / 336.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.4083, allocations: 23.91 kB / 336.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.4088, allocations: 215.2 kB / 337.1 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4089, allocations: 0 / 337.1 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.4089, allocations: 12 kB / 337.1 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4089, allocations: 4 kB / 337.1 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.4095, allocations: 164.4 kB / 337.2 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4109, allocations: 0.6705 MB / 337.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.4114, allocations: 197.2 kB / 338.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.4117, allocations: 101.7 kB / 338.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4118, allocations: 4 kB / 338.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4118, allocations: 34.78 kB / 338.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 5.911e-06/0.4118, allocations: 0 / 338.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.002439/0.4143, allocations: 1.208 MB / 339.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.4144, allocations: 77.11 kB / 339.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.4146, allocations: 146.5 kB / 339.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.4147, allocations: 29.8 kB / 339.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4148, allocations: 186.7 kB / 339.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.4149, allocations: 90.73 kB / 340 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.4149, allocations: 8 kB / 340 MB, free: 13.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4151, allocations: 318.8 kB / 340.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.4153, allocations: 87.92 kB / 340.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.4156, allocations: 107.4 kB / 340.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.4159, allocations: 74.78 kB / 340.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4159, allocations: 3.938 kB / 340.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006718/0.4166, allocations: 249.3 kB / 340.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4166, allocations: 8.062 kB / 340.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4166, allocations: 7.953 kB / 340.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4166, allocations: 0 / 340.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/0.4175, allocations: 99.86 kB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.4175, allocations: 4 kB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.4178, allocations: 15.98 kB / 340.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4178, allocations: 12 kB / 340.9 MB, free: 12.22 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.0001161/0.418, allocations: 108.9 kB / 341 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.4181, allocations: 19.81 kB / 341.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.4182, allocations: 29.66 kB / 341.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.4182, allocations: 3.953 kB / 341.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4182, allocations: 4 kB / 341.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4182, allocations: 3.984 kB / 341.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4199, allocations: 0.8352 MB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4199, allocations: 4 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.4209, allocations: 116 kB / 342.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.421, allocations: 3.938 kB / 342.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.421, allocations: 8 kB / 342.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/0.421, allocations: 7.984 kB / 342.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4211, allocations: 0 / 342.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.422, allocations: 0.5535 MB / 342.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.4222, allocations: 108.9 kB / 342.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.4223, allocations: 4 kB / 342.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/0.4227, allocations: 39.97 kB / 342.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.4229, allocations: 23.97 kB / 342.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.4229, allocations: 12.09 kB / 342.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.4231, allocations: 124.8 kB / 342.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4231, allocations: 0 / 342.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000484/0.4236, allocations: 52 kB / 343 MB, free: 10 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.001435/0.425, allocations: 1.45 MB / 344.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.4255, allocations: 163.8 kB / 344.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4256, allocations: 0 / 344.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.4259, allocations: 103.9 kB / 344.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.4264, allocations: 32.67 kB / 344.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/0.4333, allocations: 1.084 MB / 345.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.4337, allocations: 0.7331 MB / 346.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.4339, allocations: 67.41 kB / 346.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.434, allocations: 4 kB / 346.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.56/2.994, allocations: 3.351 MB / 350 MB, free: 2.875 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