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.032/2.032, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.644e-05, allocations: 7.984 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09411, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5219, allocations: 73.61 MB / 373.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5223, allocations: 68.69 kB / 373.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03752/0.5598, allocations: 7.505 MB / 381.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5599, allocations: 1.469 kB / 381.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.5599, allocations: 3.969 kB / 381.1 MB, free: 12.08 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.002141/0.562, allocations: 0.6268 MB / 381.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.5621, allocations: 9.844 kB / 381.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.5623, allocations: 62.66 kB / 381.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.5624, allocations: 33.72 kB / 381.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.5628, allocations: 256.2 kB / 382.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005829/0.5634, allocations: 133.8 kB / 382.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.5636, allocations: 31.88 kB / 382.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.5644, allocations: 317.6 kB / 382.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.5645, allocations: 1.281 kB / 382.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.5646, allocations: 13.53 kB / 382.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5646, allocations: 6.469 kB / 382.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.5654, allocations: 270.5 kB / 382.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.5675, allocations: 0.97 MB / 383.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.5684, allocations: 312.3 kB / 384.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.5689, allocations: 161.3 kB / 384.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.5689, allocations: 7.562 kB / 384.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5689, allocations: 44.61 kB / 384.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/0.569, allocations: 4 kB / 384.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.00357/0.5725, allocations: 1.837 MB / 386.2 MB, free: 9.215 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.5726, allocations: 110.8 kB / 386.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.5729, allocations: 175.4 kB / 386.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.573, allocations: 30.95 kB / 386.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.5731, allocations: 203 kB / 386.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.5732, allocations: 141.3 kB / 386.8 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.5733, allocations: 9.312 kB / 386.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.5733, allocations: 325.6 kB / 387.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.5737, allocations: 123.4 kB / 387.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.5741, allocations: 179.3 kB / 387.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.5745, allocations: 122.7 kB / 387.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5745, allocations: 5.219 kB / 387.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009686/0.5755, allocations: 370 kB / 388 MB, free: 8.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5755, allocations: 5.656 kB / 388 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5756, allocations: 1.219 kB / 388 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.5756, allocations: 2.438 kB / 388 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.577, allocations: 170.7 kB / 388.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.5771, allocations: 7.047 kB / 388.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.5776, allocations: 22.42 kB / 388.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.5776, allocations: 17.06 kB / 388.2 MB, free: 8.234 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.0001338/0.5778, allocations: 120.5 kB / 388.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5779, allocations: 37 kB / 388.3 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.944e-05/0.578, allocations: 29.84 kB / 388.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5781, allocations: 7.375 kB / 388.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5781, allocations: 5.281 kB / 388.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5781, allocations: 0 / 388.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.5804, allocations: 1.205 MB / 389.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5805, allocations: 2.625 kB / 389.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.5822, allocations: 202.6 kB / 389.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.5823, allocations: 7.969 kB / 389.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.5823, allocations: 18.39 kB / 389.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.5824, allocations: 3.812 kB / 389.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5824, allocations: 5.188 kB / 389.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.5836, allocations: 0.8266 MB / 390.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.5839, allocations: 130.9 kB / 390.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.584, allocations: 11 kB / 390.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.5848, allocations: 62.55 kB / 390.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5849, allocations: 38.17 kB / 390.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.585, allocations: 13.91 kB / 390.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.5852, allocations: 153.8 kB / 391 MB, free: 6.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5852, allocations: 3.938 kB / 391 MB, free: 6.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000686/0.5859, allocations: 87.05 kB / 391.1 MB, free: 6.719 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.001776/0.5877, allocations: 1.921 MB / 393.1 MB, free: 21.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.5884, allocations: 253 kB / 393.3 MB, free: 21.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5884, allocations: 96 / 393.3 MB, free: 21.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.5889, allocations: 169.9 kB / 393.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.5897, allocations: 70.34 kB / 393.5 MB, free: 21.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/0.5987, allocations: 1.445 MB / 395 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5991, allocations: 0.7793 MB / 395.8 MB, free: 19.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.5994, allocations: 92.25 kB / 395.8 MB, free: 19.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5994, allocations: 0 / 395.8 MB, free: 19.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.527/3.127, allocations: 4.946 MB / 400.8 MB, free: 19.43 MB / 330.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