Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.842/1.842, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.433e-05, allocations: 0 / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2616, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.4187, allocations: 66.7 MB / 325 MB, free: 11.12 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.4191, allocations: 59.97 kB / 325.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02927/0.4484, allocations: 4.651 MB / 329.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4484, allocations: 4 kB / 329.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.4485, allocations: 0 / 329.7 MB, free: 6.395 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.001537/0.45, allocations: 0.4979 MB / 330.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.4501, allocations: 12.03 kB / 330.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.4502, allocations: 15.81 kB / 330.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.4506, allocations: 223.3 kB / 330.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.4509, allocations: 61.67 kB / 330.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.451, allocations: 27.84 kB / 330.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000513/0.4515, allocations: 159.7 kB / 330.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.452, allocations: 179.7 kB / 330.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.4521, allocations: 3.984 kB / 330.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.4521, allocations: 3.984 kB / 330.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4521, allocations: 4 kB / 330.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.4535, allocations: 0.6175 MB / 331.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.454, allocations: 189.2 kB / 331.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.4543, allocations: 97.7 kB / 331.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.4543, allocations: 0 / 331.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4544, allocations: 38.56 kB / 331.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.4544, allocations: 224 / 331.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.002261/0.4567, allocations: 1.147 MB / 333 MB, free: 2.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.4568, allocations: 81.11 kB / 333.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4569, allocations: 133.3 kB / 333.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.457, allocations: 25.7 kB / 333.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4571, allocations: 190.9 kB / 333.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4572, allocations: 86.67 kB / 333.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.4573, allocations: 7.984 kB / 333.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4574, allocations: 322.8 kB / 333.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4577, allocations: 71.92 kB / 333.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.4579, allocations: 103.4 kB / 334 MB, free: 1.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.4582, allocations: 74.64 kB / 334.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4582, allocations: 4 kB / 334.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006153/0.4588, allocations: 217.4 kB / 334.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4588, allocations: 4 kB / 334.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4588, allocations: 0 / 334.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.4589, allocations: 8 kB / 334.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.4597, allocations: 99.92 kB / 334.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4597, allocations: 4 kB / 334.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.46, allocations: 12.64 kB / 334.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4601, allocations: 8 kB / 334.4 MB, free: 1.305 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.0001369/0.4602, allocations: 116.9 kB / 334.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000622/0.4609, allocations: 197.4 kB / 334.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.461, allocations: 15.81 kB / 334.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.461, allocations: 16.75 kB / 334.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4611, allocations: 4 kB / 334.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4611, allocations: 3.938 kB / 334.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4611, allocations: 11.92 kB / 334.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.4628, allocations: 0.7743 MB / 335.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.4628, allocations: 4 kB / 335.5 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.4639, allocations: 120 kB / 335.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.4639, allocations: 0 / 335.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4639, allocations: 12 kB / 335.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.464, allocations: 4 kB / 335.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.464, allocations: 0 / 335.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.4649, allocations: 0.5339 MB / 336.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.465, allocations: 108.9 kB / 336.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.4651, allocations: 11.94 kB / 336.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.4656, allocations: 31.92 kB / 336.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.4657, allocations: 19.97 kB / 336.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.4658, allocations: 11.98 kB / 336.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.4659, allocations: 111.3 kB / 336.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4659, allocations: 0 / 336.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.4665, allocations: 48 kB / 336.6 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.001347/0.4678, allocations: 1.434 MB / 338 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.4683, allocations: 150.3 kB / 338.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4683, allocations: 0 / 338.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.4686, 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.000593/0.4692, allocations: 44.16 kB / 338.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/0.4759, allocations: 1.055 MB / 339.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4763, allocations: 0.7517 MB / 340.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.4765, allocations: 63.41 kB / 340.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4765, allocations: 0 / 340.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.739/3.216, allocations: 3.277 MB / 343.4 MB, free: 7.996 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat