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.169/2.169, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.578e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4687, allocations: 72.95 MB / 367.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4691, allocations: 63.97 kB / 367.2 MB, free: 8.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0367/0.5058, allocations: 7.442 MB / 374.7 MB, free: 1.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5058, allocations: 0 / 374.7 MB, free: 1.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.5059, allocations: 8 kB / 374.7 MB, free: 1.359 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.002085/0.508, allocations: 0.635 MB / 375.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5081, allocations: 8.031 kB / 375.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.5082, allocations: 35.62 kB / 375.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.5087, allocations: 254.6 kB / 375.6 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005614/0.5093, allocations: 131.8 kB / 375.7 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.5093, allocations: 12 kB / 375.8 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000802/0.5102, allocations: 257 kB / 376 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.511, allocations: 279 kB / 376.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.511, allocations: 3.906 kB / 376.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.5111, allocations: 0 / 376.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5111, allocations: 8 kB / 376.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.5132, allocations: 0.9297 MB / 377.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.514, allocations: 303.9 kB / 377.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.5144, allocations: 142.6 kB / 377.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.5144, allocations: 8 kB / 377.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5145, allocations: 42.94 kB / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.676e-06/0.5145, allocations: 0 / 377.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.003526/0.518, allocations: 1.759 MB / 379.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.5182, allocations: 106.8 kB / 379.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.5184, allocations: 150.1 kB / 379.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.5185, allocations: 29.7 kB / 379.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.5186, allocations: 148.9 kB / 379.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.5188, allocations: 134 kB / 380 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.5188, allocations: 0 / 380 MB, free: 11.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.519, allocations: 334.8 kB / 380.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.5194, allocations: 112.9 kB / 380.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.5198, allocations: 176.5 kB / 380.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.5201, allocations: 109.9 kB / 380.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5201, allocations: 7.938 kB / 380.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009654/0.5211, allocations: 332.5 kB / 381.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5212, allocations: 4 kB / 381.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5212, allocations: 4 kB / 381.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5212, allocations: 4.75 kB / 381.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5226, allocations: 167.8 kB / 381.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5227, allocations: 4 kB / 381.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.5231, allocations: 31.92 kB / 381.3 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.5231, allocations: 12 kB / 381.3 MB, free: 10.21 MB / 330.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.000149/0.5233, allocations: 108.7 kB / 381.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009229/0.5242, allocations: 313.2 kB / 381.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.5244, allocations: 31.59 kB / 381.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.139e-05/0.5245, allocations: 21.97 kB / 381.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5245, allocations: 15.94 kB / 381.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.5245, allocations: 4 kB / 381.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.5245, allocations: 3.984 kB / 381.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.5269, allocations: 1.125 MB / 382.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.527, allocations: 0 / 382.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.5287, allocations: 211.9 kB / 383.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.5287, allocations: 4 kB / 383.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.5288, allocations: 4 kB / 383.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.5288, allocations: 8 kB / 383.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5288, allocations: 4 kB / 383.1 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.5302, allocations: 0.8065 MB / 383.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.5305, allocations: 132.8 kB / 384.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.5306, allocations: 11.94 kB / 384.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.5314, allocations: 55.95 kB / 384.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5316, allocations: 35.94 kB / 384.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.5316, allocations: 19.94 kB / 384.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.5318, allocations: 123.2 kB / 384.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5318, allocations: 0 / 384.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007191/0.5325, allocations: 72 kB / 384.4 MB, free: 6.926 MB / 330.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.001925/0.5345, allocations: 1.89 MB / 386.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.5352, allocations: 241.3 kB / 386.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5353, allocations: 0 / 386.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.5357, allocations: 167.8 kB / 386.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.5366, allocations: 49.47 kB / 386.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.5457, allocations: 1.393 MB / 388.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.5462, allocations: 0.776 MB / 388.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.5465, allocations: 35.28 kB / 388.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.5469, allocations: 95.39 kB / 389 MB, free: 2.129 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.5469, allocations: 0 / 389 MB, free: 2.129 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04641/0.5933, allocations: 5.7 MB / 394.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.5937, allocations: 134.2 kB / 394.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/3.451, allocations: 8.031 kB / 394.8 MB, free: 12.24 MB / 346.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