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.637/2.637, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.447e-05, allocations: 2.75 kB / 249.7 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6402, allocations: 72.95 MB / 367.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.6405, allocations: 69.58 kB / 367.3 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05545/0.696, allocations: 7.461 MB / 374.7 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6961, allocations: 0 / 374.7 MB, free: 22.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.904e-05/0.6961, allocations: 7.844 kB / 374.7 MB, free: 22.32 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.002744/0.6989, allocations: 0.6258 MB / 375.4 MB, free: 21.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.699, allocations: 7.75 kB / 375.4 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.6991, allocations: 55.61 kB / 375.4 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.6993, allocations: 35 kB / 375.5 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.6999, allocations: 256.5 kB / 375.7 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000754/0.7006, allocations: 126.8 kB / 375.8 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7008, allocations: 15.48 kB / 375.9 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/0.7018, allocations: 257.8 kB / 376.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.7027, allocations: 283.8 kB / 376.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.7028, allocations: 7.875 kB / 376.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.7029, allocations: 0 / 376.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.7029, allocations: 7.766 kB / 376.4 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.7052, allocations: 0.9018 MB / 377.3 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/0.7061, allocations: 298.5 kB / 377.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.7066, allocations: 157.2 kB / 377.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.7067, allocations: 7.141 kB / 377.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.7067, allocations: 42.72 kB / 377.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.698e-06/0.7067, allocations: 0 / 377.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.004275/0.711, allocations: 1.758 MB / 379.6 MB, free: 19.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.7112, allocations: 114.5 kB / 379.7 MB, free: 19.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.7114, allocations: 156.1 kB / 379.8 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.7115, allocations: 25.8 kB / 379.8 MB, free: 19.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.7117, allocations: 153 kB / 380 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.7118, allocations: 128.8 kB / 380.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.7119, allocations: 6.594 kB / 380.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.7121, allocations: 331.7 kB / 380.5 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.7125, allocations: 114.5 kB / 380.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.713, allocations: 178.2 kB / 380.7 MB, free: 18.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.7135, allocations: 106.4 kB / 380.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7135, allocations: 11.75 kB / 380.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001185/0.7147, allocations: 332.2 kB / 381.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7147, allocations: 7.719 kB / 381.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7148, allocations: 0 / 381.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.7148, allocations: 3.406 kB / 381.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.7167, allocations: 172 kB / 381.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.7167, allocations: 11.8 kB / 381.4 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.7174, allocations: 19.48 kB / 381.4 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.7175, allocations: 10.94 kB / 381.4 MB, free: 18.56 MB / 314.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.0002208/0.7177, allocations: 112.7 kB / 381.5 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.7179, allocations: 35.2 kB / 381.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.718, allocations: 23.5 kB / 381.6 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.7181, allocations: 3.969 kB / 381.6 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.7181, allocations: 0 / 381.6 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.7181, allocations: 11.84 kB / 381.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.721, allocations: 1.131 MB / 382.7 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.721, allocations: 3.984 kB / 382.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/0.7234, allocations: 202.5 kB / 382.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.7235, allocations: 3.75 kB / 382.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.7236, allocations: 11.77 kB / 382.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.7236, allocations: 0 / 382.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7236, allocations: 3.875 kB / 382.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7253, allocations: 0.8153 MB / 383.7 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.7256, allocations: 127.4 kB / 383.9 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.7258, allocations: 3.875 kB / 383.9 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7268, allocations: 62.89 kB / 383.9 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.727, allocations: 42.75 kB / 384 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7271, allocations: 11.69 kB / 384 MB, free: 16.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.7273, allocations: 132.5 kB / 384.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7273, allocations: 0 / 384.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008677/0.7282, allocations: 70.09 kB / 384.2 MB, free: 16.81 MB / 314.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.002412/0.7306, allocations: 1.898 MB / 386.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.7315, allocations: 233.2 kB / 386.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7315, allocations: 0 / 386.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.7321, allocations: 165.7 kB / 386.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.7332, allocations: 50.89 kB / 386.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.7453, allocations: 1.396 MB / 387.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.7459, allocations: 0.7741 MB / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004446/0.7463, allocations: 38.16 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.7467, allocations: 99.33 kB / 388.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7468, allocations: 0 / 388.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/0.8062, allocations: 5.843 MB / 394.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003456/0.8066, allocations: 146.6 kB / 394.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.98/4.787, allocations: 3.938 kB / 394.8 MB, free: 10.61 MB / 314.7 MB "" Variables in the reference:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel Variables in the result:der(elastoBacklash.phi_rel),der(elastoBacklash.w_rel),der(elastoBacklash2.phi_rel),der(elastoBacklash2.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),der(springDamper.phi_rel),der(springDamper.w_rel),elastoBacklash.a_rel,elastoBacklash.b,elastoBacklash.bMax,elastoBacklash.bMin,elastoBacklash.c,elastoBacklash.d,elastoBacklash.flange_a.phi,elastoBacklash.flange_a.tau,elastoBacklash.flange_b.phi,elastoBacklash.flange_b.tau,elastoBacklash.lossPower,elastoBacklash.phi_diff,elastoBacklash.phi_nominal,elastoBacklash.phi_rel,elastoBacklash.phi_rel0,elastoBacklash.stateSelect,elastoBacklash.tau,elastoBacklash.tau_c,elastoBacklash.tau_d,elastoBacklash.useHeatPort,elastoBacklash.w_rel,elastoBacklash2.a_rel,elastoBacklash2.b,elastoBacklash2.bMax,elastoBacklash2.bMin,elastoBacklash2.c,elastoBacklash2.d,elastoBacklash2.flange_a.phi,elastoBacklash2.flange_a.tau,elastoBacklash2.flange_b.phi,elastoBacklash2.flange_b.tau,elastoBacklash2.lossPower,elastoBacklash2.phi_diff,elastoBacklash2.phi_nominal,elastoBacklash2.phi_rel,elastoBacklash2.phi_rel0,elastoBacklash2.stateSelect,elastoBacklash2.tau,elastoBacklash2.tau_c,elastoBacklash2.tau_d,elastoBacklash2.useHeatPort,elastoBacklash2.w_rel,fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,fixed2.flange.phi,fixed2.flange.tau,fixed2.phi0,fixed3.flange.phi,fixed3.flange.tau,fixed3.phi0,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,springDamper.a_rel,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.tau_c,springDamper.tau_d,springDamper.useHeatPort,springDamper.w_rel,time