Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.68e-05, allocations: 4 kB / 292.8 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1436, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.617, allocations: 79.07 MB / 422.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.6174, allocations: 70.06 kB / 422.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03793/0.6553, allocations: 7.748 MB / 430.1 MB, free: 8.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6554, allocations: 0 / 430.1 MB, free: 8.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.6554, allocations: 8 kB / 430.1 MB, free: 8.199 MB / 346.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.002066/0.6575, allocations: 0.6251 MB / 430.7 MB, free: 7.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6576, allocations: 8.031 kB / 430.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.6577, allocations: 65.05 kB / 430.8 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.6578, allocations: 35.62 kB / 430.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.6582, allocations: 253.8 kB / 431 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/0.6589, allocations: 134.3 kB / 431.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.659, allocations: 31.58 kB / 431.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.6598, allocations: 319.9 kB / 431.5 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.6599, allocations: 7.938 kB / 431.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.6599, allocations: 9.875 kB / 431.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.66, allocations: 8 kB / 431.5 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.6608, allocations: 262.7 kB / 431.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.663, allocations: 0.9767 MB / 432.8 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008737/0.6639, allocations: 308.6 kB / 433.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.6644, allocations: 157.3 kB / 433.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.6644, allocations: 7.984 kB / 433.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.6645, allocations: 49.81 kB / 433.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.897e-06/0.6645, allocations: 0 / 433.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.003949/0.6685, allocations: 1.828 MB / 435.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.6686, allocations: 106.8 kB / 435.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.6689, allocations: 185.6 kB / 435.4 MB, free: 3.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.669, allocations: 29.08 kB / 435.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6691, allocations: 152.7 kB / 435.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.6693, allocations: 141.9 kB / 435.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.6693, allocations: 3.812 kB / 435.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6695, allocations: 343.9 kB / 436.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.6699, allocations: 122 kB / 436.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.6703, allocations: 176 kB / 436.3 MB, free: 2.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.6707, allocations: 118.4 kB / 436.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6708, allocations: 3.938 kB / 436.5 MB, free: 2.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00106/0.6718, allocations: 374.5 kB / 436.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.6719, allocations: 4 kB / 436.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6719, allocations: 4 kB / 436.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.6719, allocations: 96 / 436.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.6733, allocations: 170.8 kB / 437 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.6734, allocations: 4 kB / 437 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.6739, allocations: 32.78 kB / 437 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.6739, allocations: 10.88 kB / 437.1 MB, free: 1.809 MB / 346.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.0001633/0.6741, allocations: 124.2 kB / 437.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.6742, allocations: 31.66 kB / 437.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.6743, allocations: 32.89 kB / 437.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6744, allocations: 4 kB / 437.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6744, allocations: 4 kB / 437.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6744, allocations: 4 kB / 437.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.677, allocations: 1.202 MB / 438.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.677, allocations: 0 / 438.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.6789, allocations: 211.5 kB / 438.7 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.6789, allocations: 4 kB / 438.7 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.679, allocations: 14.42 kB / 438.7 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/0.679, allocations: 4 kB / 438.7 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.679, allocations: 4 kB / 438.7 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6806, allocations: 0.8214 MB / 439.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.6809, allocations: 123.8 kB / 439.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.681, allocations: 10.94 kB / 439.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/0.6818, allocations: 63.38 kB / 439.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.682, allocations: 43.16 kB / 439.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.6821, allocations: 22.67 kB / 439.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002019/0.6823, allocations: 150.7 kB / 439.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6823, allocations: 0 / 439.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007026/0.683, allocations: 85.75 kB / 440 MB, free: 15.12 MB / 362.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.002103/0.6851, allocations: 1.939 MB / 441.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.6859, allocations: 249.4 kB / 442.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.686, allocations: 7.938 kB / 442.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.6865, allocations: 167.1 kB / 442.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.6873, allocations: 58.98 kB / 442.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.6967, allocations: 1.424 MB / 443.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.6972, allocations: 0.7763 MB / 444.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.6976, allocations: 34.97 kB / 444.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.6979, allocations: 94.77 kB / 444.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6979, allocations: 0 / 444.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.7339, allocations: 6.291 MB / 451 MB, free: 4.457 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/0.7343, allocations: 149.5 kB / 451.2 MB, free: 4.234 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/3.706, allocations: 4 kB / 451.2 MB, free: 4.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat