Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.185e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5374, allocations: 73.61 MB / 373.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5378, allocations: 64.47 kB / 373.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03805/0.5759, allocations: 7.504 MB / 381.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5759, allocations: 0 / 381.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.576, allocations: 6.062 kB / 381.2 MB, free: 12.05 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.5781, allocations: 0.6267 MB / 381.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.5782, allocations: 9.188 kB / 381.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.5784, allocations: 59.69 kB / 381.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.5785, allocations: 34.03 kB / 381.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.579, allocations: 263.5 kB / 382.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005755/0.5796, allocations: 129.1 kB / 382.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.5797, allocations: 37 kB / 382.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.5806, allocations: 305.5 kB / 382.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.5806, allocations: 5.969 kB / 382.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.5807, allocations: 14.66 kB / 382.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5807, allocations: 6.688 kB / 382.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.5815, allocations: 271.1 kB / 382.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.5835, allocations: 0.9736 MB / 383.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.5844, allocations: 310.2 kB / 384.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.5849, allocations: 155.7 kB / 384.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.5849, allocations: 7.156 kB / 384.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.585, allocations: 43.23 kB / 384.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 6.121e-06/0.585, allocations: 0 / 384.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0036/0.5886, allocations: 1.849 MB / 386.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.5887, allocations: 106.7 kB / 386.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.589, allocations: 180.3 kB / 386.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.589, allocations: 30.83 kB / 386.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.5891, allocations: 144.1 kB / 386.7 MB, free: 8.828 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5893, allocations: 145.2 kB / 386.8 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.5893, allocations: 5.094 kB / 386.8 MB, free: 8.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.5894, allocations: 336.4 kB / 387.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.5898, allocations: 121 kB / 387.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.5903, allocations: 184.7 kB / 387.4 MB, free: 8.359 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.5906, allocations: 124.7 kB / 387.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5907, allocations: 1.281 kB / 387.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001033/0.5917, allocations: 366.1 kB / 387.9 MB, free: 8.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.5918, allocations: 5.844 kB / 387.9 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5918, allocations: 6.5 kB / 387.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.5918, allocations: 5.438 kB / 387.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.5932, allocations: 169.8 kB / 388.1 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5933, allocations: 2.594 kB / 388.1 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.5938, allocations: 32.33 kB / 388.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.5938, allocations: 14.12 kB / 388.2 MB, free: 8.266 MB / 314.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.0001451/0.594, allocations: 125.5 kB / 388.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.5941, allocations: 30.14 kB / 388.3 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5942, allocations: 31.97 kB / 388.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.5943, allocations: 3.844 kB / 388.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.5943, allocations: 1.281 kB / 388.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5943, allocations: 3.797 kB / 388.4 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.5967, allocations: 1.212 MB / 389.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.5968, allocations: 0 / 389.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.5985, allocations: 205.7 kB / 389.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.5986, allocations: 3.844 kB / 389.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.5986, allocations: 18.2 kB / 389.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.5987, allocations: 7.906 kB / 389.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5987, allocations: 0 / 389.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.6, allocations: 0.8375 MB / 390.6 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.6003, allocations: 126.1 kB / 390.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.6003, allocations: 10.3 kB / 390.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/0.6012, allocations: 65.34 kB / 390.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.6013, allocations: 40.27 kB / 390.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.6014, allocations: 17.03 kB / 390.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.6016, allocations: 147.5 kB / 391 MB, free: 6.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6016, allocations: 0 / 391 MB, free: 6.758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000696/0.6023, allocations: 87.64 kB / 391.1 MB, free: 6.754 MB / 314.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.001985/0.6043, allocations: 1.924 MB / 393 MB, free: 21.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.6051, allocations: 255.2 kB / 393.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6051, allocations: 96 / 393.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.6056, allocations: 184.4 kB / 393.5 MB, free: 21.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.6065, allocations: 56.31 kB / 393.5 MB, free: 21.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/0.6157, allocations: 1.416 MB / 394.9 MB, free: 20.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.6162, allocations: 0.7744 MB / 395.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004011/0.6166, allocations: 47.67 kB / 395.8 MB, free: 19.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.6169, allocations: 90.8 kB / 395.8 MB, free: 19.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6169, allocations: 0 / 395.8 MB, free: 19.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.6521, allocations: 6.276 MB / 402.1 MB, free: 19.3 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.6525, allocations: 156.4 kB / 402.3 MB, free: 19.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.515, allocations: 0 / 402.3 MB, free: 19.07 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat