Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.121e-05, allocations: 11.98 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.5838, allocations: 79.06 MB / 421.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5842, allocations: 63.72 kB / 421.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03728/0.6215, allocations: 7.749 MB / 429.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6215, allocations: 0 / 429.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.6216, allocations: 4 kB / 429.5 MB, free: 8.551 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.002084/0.6237, allocations: 0.6282 MB / 430.1 MB, free: 7.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6237, allocations: 12.03 kB / 430.2 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.6238, allocations: 61.22 kB / 430.2 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.624, allocations: 31.62 kB / 430.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.6244, allocations: 263.3 kB / 430.5 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/0.625, allocations: 130.5 kB / 430.6 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.6251, allocations: 26.91 kB / 430.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.6259, allocations: 317.5 kB / 431 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.626, allocations: 3.938 kB / 431 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.626, allocations: 10.69 kB / 431 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.626, allocations: 8 kB / 431 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.6268, allocations: 262.1 kB / 431.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.6288, allocations: 0.9787 MB / 432.2 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/0.6296, allocations: 318.3 kB / 432.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.6301, allocations: 155.9 kB / 432.7 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.6301, allocations: 7.984 kB / 432.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.6302, allocations: 33.94 kB / 432.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.858e-06/0.6302, allocations: 4 kB / 432.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.003706/0.6339, allocations: 1.84 MB / 434.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.634, allocations: 106.8 kB / 434.7 MB, free: 3.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.6343, allocations: 181.6 kB / 434.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.539e-05/0.6343, allocations: 29.08 kB / 434.9 MB, free: 3.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.6345, allocations: 149.6 kB / 435 MB, free: 3.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.6346, allocations: 139.7 kB / 435.2 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.6347, allocations: 7.312 kB / 435.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6348, allocations: 344.2 kB / 435.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.6352, allocations: 120.7 kB / 435.6 MB, free: 2.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.6357, allocations: 177.1 kB / 435.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.6361, allocations: 119.5 kB / 435.9 MB, free: 2.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6361, allocations: 0 / 435.9 MB, free: 2.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001014/0.6371, allocations: 371.3 kB / 436.3 MB, free: 2.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6371, allocations: 4.656 kB / 436.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6372, allocations: 0 / 436.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6372, allocations: 4 kB / 436.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.6386, allocations: 177.6 kB / 436.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.6386, allocations: 4 kB / 436.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.6391, allocations: 26.92 kB / 436.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.6391, allocations: 16 kB / 436.5 MB, free: 2.16 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.0001379/0.6393, allocations: 129.1 kB / 436.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.6394, allocations: 27.72 kB / 436.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.6395, allocations: 33.95 kB / 436.7 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6395, allocations: 4 kB / 436.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.6396, allocations: 0 / 436.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6396, allocations: 7.984 kB / 436.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.6421, allocations: 1.205 MB / 437.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.557e-06/0.6421, allocations: 7.984 kB / 437.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.6439, allocations: 203.4 kB / 438.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.6439, allocations: 4 kB / 438.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.644, allocations: 11.8 kB / 438.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.644, allocations: 7.938 kB / 438.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.644, allocations: 4 kB / 438.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.6455, allocations: 0.8202 MB / 439 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.6458, allocations: 131.4 kB / 439.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.6459, allocations: 10.44 kB / 439.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.6467, allocations: 63.88 kB / 439.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6469, allocations: 42.78 kB / 439.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.6469, allocations: 15.38 kB / 439.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.6471, allocations: 151.1 kB / 439.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6472, allocations: 0 / 439.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007262/0.6479, allocations: 89.81 kB / 439.5 MB, free: 15.46 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.002232/0.6501, allocations: 1.94 MB / 441.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007724/0.651, allocations: 252.8 kB / 441.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.651, allocations: 0 / 441.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.6515, allocations: 172.6 kB / 441.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.6524, allocations: 59.17 kB / 441.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009439/0.6619, allocations: 1.414 MB / 443.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.6624, allocations: 0.7763 MB / 444.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.6627, allocations: 50.94 kB / 444.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.663, allocations: 93.41 kB / 444.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.663, allocations: 0 / 444.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.6938, allocations: 6.287 MB / 450.5 MB, free: 4.801 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.6941, allocations: 148.8 kB / 450.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.483, allocations: 0 / 450.6 MB, free: 4.578 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat