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 1.933/1.933, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.983e-05/5.013e-05, allocations: 4 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 44.52 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5586, allocations: 73.6 MB / 373.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.559, allocations: 66.83 kB / 373.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0395/0.5985, allocations: 7.498 MB / 381.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5986, allocations: 4 kB / 381.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.5987, allocations: 5.281 kB / 381.1 MB, free: 11.95 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.002279/0.6009, allocations: 0.6236 MB / 381.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.601, allocations: 10.31 kB / 381.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.6012, allocations: 66.3 kB / 381.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.6014, allocations: 39.09 kB / 381.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.6019, allocations: 260.4 kB / 382.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/0.6025, allocations: 130.6 kB / 382.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.6027, allocations: 32.94 kB / 382.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.6035, allocations: 309.8 kB / 382.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.6036, allocations: 10.31 kB / 382.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.6036, allocations: 8.844 kB / 382.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.6037, allocations: 7.125 kB / 382.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.6045, allocations: 278.1 kB / 382.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.6067, allocations: 0.9705 MB / 383.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009094/0.6077, allocations: 313.6 kB / 384.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.6082, allocations: 156.3 kB / 384.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.6083, allocations: 8.875 kB / 384.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6083, allocations: 47.09 kB / 384.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.866e-06/0.6083, allocations: 0 / 384.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003824/0.6122, allocations: 1.845 MB / 386.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.6123, allocations: 111.9 kB / 386.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.6126, allocations: 180.5 kB / 386.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.6126, allocations: 30.86 kB / 386.5 MB, free: 8.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.6127, allocations: 142.6 kB / 386.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6129, allocations: 142.5 kB / 386.8 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.613, allocations: 8.781 kB / 386.8 MB, free: 8.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.6131, allocations: 337.2 kB / 387.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.6135, allocations: 125.5 kB / 387.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.6139, allocations: 186.7 kB / 387.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.6144, allocations: 114.9 kB / 387.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6144, allocations: 0 / 387.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001133/0.6155, allocations: 379.8 kB / 387.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.6156, allocations: 5.281 kB / 387.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6156, allocations: 1.375 kB / 387.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.6156, allocations: 3.938 kB / 387.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.6171, allocations: 176.4 kB / 388.1 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.6172, allocations: 7.688 kB / 388.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.6177, allocations: 24.69 kB / 388.2 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.6178, allocations: 12.66 kB / 388.2 MB, free: 8.152 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.0001867/0.618, allocations: 127.5 kB / 388.3 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.6181, allocations: 32.86 kB / 388.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.6183, allocations: 30.94 kB / 388.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.6183, allocations: 3.844 kB / 388.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.6183, allocations: 1.031 kB / 388.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6183, allocations: 1.281 kB / 388.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.6208, allocations: 1.209 MB / 389.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.6209, allocations: 6.438 kB / 389.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.6227, allocations: 206.6 kB / 389.8 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.6227, allocations: 7.969 kB / 389.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.6228, allocations: 13.8 kB / 389.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.6228, allocations: 3.844 kB / 389.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6228, allocations: 3.875 kB / 389.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.6242, allocations: 0.8365 MB / 390.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.6246, allocations: 127.1 kB / 390.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.6247, allocations: 9.562 kB / 390.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.6255, allocations: 68.33 kB / 390.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.6257, allocations: 41.59 kB / 390.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.6257, allocations: 17.88 kB / 390.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.6259, allocations: 150.2 kB / 391 MB, free: 6.637 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6259, allocations: 0 / 391 MB, free: 6.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007287/0.6267, allocations: 87.62 kB / 391.1 MB, free: 6.633 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.001965/0.6286, allocations: 1.924 MB / 393.1 MB, free: 21.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007903/0.6295, allocations: 256.4 kB / 393.3 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6295, allocations: 3.938 kB / 393.3 MB, free: 21.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.63, allocations: 178 kB / 393.5 MB, free: 21.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.6309, allocations: 62.53 kB / 393.5 MB, free: 21.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/0.64, allocations: 1.416 MB / 395 MB, free: 20.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.6405, allocations: 0.7756 MB / 395.7 MB, free: 19.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003797/0.6409, allocations: 34.88 kB / 395.8 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.6412, allocations: 102 kB / 395.9 MB, free: 19.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6412, allocations: 3.938 kB / 395.9 MB, free: 19.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.6763, allocations: 6.284 MB / 402.2 MB, free: 19.19 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.6766, allocations: 157.5 kB / 402.3 MB, free: 18.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/3.592, allocations: 3.938 kB / 402.3 MB, free: 18.96 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