Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 171.3 MB / 178.4 MB, free: 156 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.364e-05, allocations: 7.984 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2671, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.422, allocations: 66.7 MB / 325 MB, free: 11.08 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4223, allocations: 71.95 kB / 325.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0218/0.4442, allocations: 4.651 MB / 329.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4442, allocations: 0 / 329.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.4442, allocations: 4 kB / 329.8 MB, free: 6.34 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001334/0.4456, allocations: 0.4984 MB / 330.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4457, allocations: 8.031 kB / 330.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.4457, allocations: 23.81 kB / 330.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.4461, allocations: 223.3 kB / 330.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.4465, allocations: 57.67 kB / 330.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.4465, allocations: 19.86 kB / 330.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004929/0.447, allocations: 163.7 kB / 330.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4475, allocations: 183.7 kB / 330.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4476, allocations: 0 / 330.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.4476, allocations: 0 / 330.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.4476, allocations: 4 kB / 330.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4489, allocations: 0.628 MB / 331.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.4494, allocations: 185.3 kB / 331.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.4497, allocations: 89.64 kB / 331.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4498, allocations: 8 kB / 331.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4498, allocations: 34.56 kB / 331.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.304e-06/0.4498, allocations: 224 / 331.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.002293/0.4521, allocations: 1.144 MB / 333 MB, free: 2.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4522, allocations: 82.36 kB / 333.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4524, allocations: 129.3 kB / 333.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.4524, allocations: 25.7 kB / 333.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.4525, allocations: 132.5 kB / 333.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4526, allocations: 86.66 kB / 333.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.4527, allocations: 4 kB / 333.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4528, allocations: 330.8 kB / 333.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.453, allocations: 64 kB / 333.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.4533, allocations: 115.3 kB / 334 MB, free: 1.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.4535, allocations: 68.95 kB / 334 MB, free: 1.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4535, allocations: 0 / 334 MB, free: 1.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006005/0.4541, allocations: 230.7 kB / 334.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4542, allocations: 4 kB / 334.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4542, allocations: 0 / 334.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4542, allocations: 4 kB / 334.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.455, allocations: 99.94 kB / 334.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.455, allocations: 7.984 kB / 334.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.4553, allocations: 8 kB / 334.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4553, allocations: 8 kB / 334.4 MB, free: 1.309 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001132/0.4554, allocations: 116.9 kB / 334.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005401/0.456, allocations: 199.9 kB / 334.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.4561, allocations: 19.8 kB / 334.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.4562, allocations: 20.75 kB / 334.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4562, allocations: 4 kB / 334.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4562, allocations: 0 / 334.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4562, allocations: 3.953 kB / 334.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.4577, allocations: 0.7811 MB / 335.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4578, allocations: 0 / 335.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.4588, allocations: 120 kB / 335.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.4588, allocations: 4 kB / 335.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4589, allocations: 7.984 kB / 335.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.4589, allocations: 4 kB / 335.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4589, allocations: 4.469 kB / 335.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.4598, allocations: 0.5378 MB / 336.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.4599, allocations: 108.9 kB / 336.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.46, allocations: 7.891 kB / 336.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.4605, allocations: 39.91 kB / 336.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.4606, allocations: 19.97 kB / 336.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.4606, allocations: 8 kB / 336.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4607, allocations: 107.3 kB / 336.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4607, allocations: 0 / 336.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.4613, allocations: 48 kB / 336.5 MB, free: 15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (25): * Single equations (assignments): 25 * 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.001356/0.4627, allocations: 1.437 MB / 338 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.4632, allocations: 151.9 kB / 338.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4632, allocations: 0 / 338.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.4634, allocations: 95.92 kB / 338.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.464, allocations: 37.81 kB / 338.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.4708, allocations: 1.034 MB / 339.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4712, allocations: 0.7401 MB / 340 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.4714, allocations: 30 kB / 340 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4717, allocations: 67.41 kB / 340.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4717, allocations: 0 / 340.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05102/0.5227, allocations: 3.684 MB / 343.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.5231, allocations: 134.4 kB / 343.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/2.918, allocations: 0 / 343.9 MB, free: 7.414 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat