Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.314/2.314, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.596e-05, allocations: 0 / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3568, allocations: 44.49 MB / 294.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.5827, allocations: 72.95 MB / 367.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.583, allocations: 67.97 kB / 367.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04528/0.6283, allocations: 7.454 MB / 374.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6284, allocations: 0 / 374.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.6284, allocations: 4 kB / 374.8 MB, free: 1.402 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.002513/0.6309, allocations: 0.6311 MB / 375.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.631, allocations: 8.031 kB / 375.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.6312, allocations: 35.62 kB / 375.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.6317, allocations: 250.6 kB / 375.7 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006992/0.6324, allocations: 119.9 kB / 375.8 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.6325, allocations: 16 kB / 375.8 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000956/0.6335, allocations: 261 kB / 376.1 MB, free: 0 / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.6344, allocations: 279 kB / 376.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.6345, allocations: 7.906 kB / 376.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.6345, allocations: 0 / 376.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6345, allocations: 4 kB / 376.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.6368, allocations: 0.9297 MB / 377.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/0.6378, allocations: 303.9 kB / 377.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.6382, allocations: 150.5 kB / 377.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.6383, allocations: 4 kB / 377.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.6383, allocations: 34.56 kB / 377.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.376e-06/0.6384, allocations: 0 / 377.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.004209/0.6426, allocations: 1.769 MB / 379.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.6427, allocations: 106.8 kB / 379.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.643, allocations: 154.1 kB / 379.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.6431, allocations: 25.7 kB / 379.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.6432, allocations: 148.9 kB / 380 MB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.6434, allocations: 130 kB / 380.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.6435, allocations: 4 kB / 380.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.6437, allocations: 330.8 kB / 380.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.6441, allocations: 124.9 kB / 380.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.6446, allocations: 164.6 kB / 380.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.645, allocations: 111.9 kB / 380.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6451, allocations: 0 / 380.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001176/0.6463, allocations: 335.2 kB / 381.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6463, allocations: 4 kB / 381.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6463, allocations: 7.984 kB / 381.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.6464, allocations: 4 kB / 381.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.648, allocations: 167.8 kB / 381.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.6481, allocations: 7.984 kB / 381.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.6486, allocations: 27.94 kB / 381.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.6486, allocations: 12 kB / 381.4 MB, free: 10.26 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.0001712/0.6488, allocations: 116.7 kB / 381.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001103/0.6499, allocations: 318.9 kB / 381.8 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.6501, allocations: 24.38 kB / 381.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.6502, allocations: 29.95 kB / 381.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.6503, allocations: 11.95 kB / 381.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6503, allocations: 0 / 381.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.6503, allocations: 0 / 381.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.6531, allocations: 1.129 MB / 383 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6531, allocations: 4.188 kB / 383 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.6553, allocations: 207.8 kB / 383.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/0.6553, allocations: 4 kB / 383.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.6554, allocations: 8 kB / 383.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.6554, allocations: 7.938 kB / 383.2 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.6555, allocations: 4 kB / 383.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.6571, allocations: 0.8101 MB / 384 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.6574, allocations: 124.8 kB / 384.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6575, allocations: 11.94 kB / 384.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/0.6584, allocations: 51.95 kB / 384.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.6586, allocations: 35.94 kB / 384.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.6587, allocations: 19.98 kB / 384.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.6589, allocations: 123.3 kB / 384.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6589, allocations: 4 kB / 384.4 MB, free: 7.035 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008064/0.6597, allocations: 68 kB / 384.4 MB, free: 6.969 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.002261/0.662, allocations: 1.899 MB / 386.3 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.6629, allocations: 235.9 kB / 386.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6629, allocations: 0 / 386.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.6635, allocations: 167.8 kB / 386.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.6644, allocations: 52.47 kB / 386.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6754, allocations: 1.401 MB / 388.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.6759, allocations: 0.7759 MB / 389 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003816/0.6763, allocations: 35.28 kB / 389 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.6767, allocations: 95.39 kB / 389.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6767, allocations: 4 kB / 389.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/0.7983, allocations: 5.693 MB / 394.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000394/0.7987, allocations: 142.6 kB / 394.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.36/4.159, allocations: 0 / 394.9 MB, free: 12.3 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat