Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.705/2.705, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.08e-05, allocations: 3.5 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.623/0.7363, allocations: 72.73 MB / 367 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.7367, allocations: 69.84 kB / 367.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.7597, allocations: 4.018 MB / 371.1 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.7597, allocations: 1.281 kB / 371.1 MB, free: 22.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.7598, allocations: 3.906 kB / 371.1 MB, free: 22.41 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00111/0.7609, allocations: 0.4925 MB / 371.6 MB, free: 22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.761, allocations: 7.719 kB / 371.6 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.32e-05/0.7611, allocations: 50.52 kB / 371.6 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.7612, allocations: 34.95 kB / 371.7 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.7615, allocations: 230.4 kB / 371.9 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.7616, allocations: 16.38 kB / 371.9 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.7617, allocations: 19.09 kB / 371.9 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005444/0.7622, allocations: 132.9 kB / 372 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.7628, allocations: 164.8 kB / 372.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.7628, allocations: 6.656 kB / 372.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.7629, allocations: 0 / 372.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7629, allocations: 7.688 kB / 372.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.7648, allocations: 0.7029 MB / 372.9 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.7655, allocations: 185.7 kB / 373.1 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.7657, allocations: 93.52 kB / 373.2 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.7658, allocations: 6.938 kB / 373.2 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.7658, allocations: 38.19 kB / 373.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.717e-06/0.7658, allocations: 0 / 373.2 MB, free: 21.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001875/0.7677, allocations: 0.7652 MB / 374 MB, free: 20.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.7678, allocations: 55.25 kB / 374.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.768, allocations: 129.6 kB / 374.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.7681, allocations: 25.7 kB / 374.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7682, allocations: 145.6 kB / 374.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.7683, allocations: 98.02 kB / 374.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.7684, allocations: 0 / 374.5 MB, free: 20.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7685, allocations: 332.8 kB / 374.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.7687, allocations: 53.5 kB / 374.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.769, allocations: 89.64 kB / 374.9 MB, free: 20.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.7692, allocations: 65.48 kB / 375 MB, free: 20.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.7692, allocations: 7.828 kB / 375 MB, free: 20.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006707/0.7699, allocations: 210.7 kB / 375.2 MB, free: 20 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.77, allocations: 7.625 kB / 375.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.77, allocations: 0 / 375.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.77, allocations: 7.828 kB / 375.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.7708, allocations: 75.62 kB / 375.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7708, allocations: 3.844 kB / 375.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.7711, allocations: 14.59 kB / 375.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.7712, allocations: 15.06 kB / 375.3 MB, free: 19.98 MB / 314.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 (35): * Single equations (assignments): 35 * 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.0001484/0.7713, allocations: 108.7 kB / 375.4 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.7714, allocations: 19.61 kB / 375.4 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.7715, allocations: 27.62 kB / 375.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.7716, allocations: 3.875 kB / 375.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.7716, allocations: 0 / 375.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.7716, allocations: 0.7969 kB / 375.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.773, allocations: 0.5638 MB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.773, allocations: 3.906 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/0.774, allocations: 72.92 kB / 376.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.774, allocations: 0 / 376.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.774, allocations: 3.812 kB / 376.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.7741, allocations: 3.984 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7741, allocations: 11.84 kB / 376.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.7749, allocations: 400.7 kB / 376.5 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.775, allocations: 92.55 kB / 376.6 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.7751, allocations: 6.688 kB / 376.6 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.7754, allocations: 15.45 kB / 376.6 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.7755, allocations: 15.62 kB / 376.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.7756, allocations: 10.69 kB / 376.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.7757, allocations: 108.4 kB / 376.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.7757, allocations: 0 / 376.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005639/0.7763, allocations: 50.5 kB / 376.8 MB, free: 19.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,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 (28): * Single equations (assignments): 28 * 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.001294/0.7776, allocations: 1.081 MB / 377.9 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.7782, allocations: 161.5 kB / 378.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7783, allocations: 0 / 378.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.7785, allocations: 87.62 kB / 378.1 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.7791, allocations: 24.72 kB / 378.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.7815, allocations: 0.7486 MB / 378.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.7821, allocations: 0.757 MB / 379.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.7823, allocations: 19.72 kB / 379.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.7825, allocations: 75 kB / 379.8 MB, free: 17.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7825, allocations: 0 / 379.8 MB, free: 17.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08804/0.8705, allocations: 3.628 MB / 383.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003184/0.8709, allocations: 149.9 kB / 383.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.518/4.389, allocations: 0 / 383.5 MB, free: 16.13 MB / 314.7 MB "" Variables in the reference:time,load.phi,load.w,shaft.phi,shaft.w,springDamper.phi_rel,springDamper.w_rel Variables in the result:der(housing.w),der(load.phi),der(load.w),der(multiSensor.flange_a.phi),der(shaft.phi),der(shaft.w),der(springDamper.phi_rel),der(springDamper.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,housing.J,housing.a,housing.flange_a.phi,housing.flange_a.tau,housing.flange_b.phi,housing.flange_b.tau,housing.phi,housing.stateSelect,housing.w,idealGear.flange_a.phi,idealGear.flange_a.tau,idealGear.flange_b.phi,idealGear.flange_b.tau,idealGear.phi_a,idealGear.phi_b,idealGear.phi_support,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,idealGear.useSupport,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,multiSensor.flange_a.phi,multiSensor.flange_a.tau,multiSensor.flange_b.phi,multiSensor.flange_b.tau,multiSensor.power,multiSensor.tau,multiSensor.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,shaft.J,shaft.a,shaft.flange_a.phi,shaft.flange_a.tau,shaft.flange_b.phi,shaft.flange_b.tau,shaft.phi,shaft.stateSelect,shaft.w,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.tau,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,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport