Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.807/2.807, allocations: 195 MB / 202.9 MB, free: 6.633 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.335e-05, allocations: 3.203 kB / 249.7 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6059/0.7234, allocations: 72.48 MB / 366.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.7238, allocations: 66.81 kB / 366.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.7435, allocations: 2.94 MB / 369.7 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7436, allocations: 1.281 kB / 369.7 MB, free: 22.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.7436, allocations: 2.562 kB / 369.7 MB, free: 22.66 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009921/0.7446, allocations: 431.9 kB / 370.2 MB, free: 22.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.7447, allocations: 9.719 kB / 370.2 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.642e-05/0.7448, allocations: 44.36 kB / 370.2 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.745, allocations: 24.02 kB / 370.2 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.7453, allocations: 215 kB / 370.5 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.7454, allocations: 6.5 kB / 370.5 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.7455, allocations: 10.44 kB / 370.5 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004785/0.746, allocations: 86.19 kB / 370.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.7465, allocations: 123.6 kB / 370.7 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.7466, allocations: 1.25 kB / 370.7 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.7466, allocations: 0 / 370.7 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.7467, allocations: 5.375 kB / 370.7 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.7484, allocations: 0.559 MB / 371.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.7489, allocations: 94.61 kB / 371.3 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.749, allocations: 36.58 kB / 371.4 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.7491, allocations: 5.344 kB / 371.4 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.7491, allocations: 38.78 kB / 371.4 MB, free: 21.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.717e-06/0.7491, allocations: 0 / 371.4 MB, free: 21.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.002573/0.7517, allocations: 0.6895 MB / 372.1 MB, free: 21.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.7518, allocations: 58.09 kB / 372.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.752, allocations: 118.4 kB / 372.3 MB, free: 20.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.752, allocations: 27.02 kB / 372.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.7521, allocations: 133.9 kB / 372.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.7522, allocations: 59.66 kB / 372.5 MB, free: 20.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.7523, allocations: 0 / 372.5 MB, free: 20.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.7525, allocations: 330.9 kB / 372.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.7527, allocations: 34.25 kB / 372.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.7529, allocations: 65.03 kB / 372.9 MB, free: 20.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.7531, allocations: 59.36 kB / 373 MB, free: 20.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7532, allocations: 1.094 kB / 373 MB, free: 20.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007541/0.7539, allocations: 167.9 kB / 373.1 MB, free: 20.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.754, allocations: 11.81 kB / 373.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.754, allocations: 0 / 373.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.7544, allocations: 43.28 kB / 373.2 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.7549, allocations: 33.31 kB / 373.2 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.7573, allocations: 1.36 MB / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.7576, allocations: 6.5 kB / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.7576, allocations: 3.969 kB / 374.6 MB, free: 19.1 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.7578, allocations: 111.6 kB / 374.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.7579, allocations: 16.03 kB / 374.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.672e-05/0.758, allocations: 11.89 kB / 374.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.758, allocations: 7.812 kB / 374.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7581, allocations: 3.953 kB / 374.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.7581, allocations: 2.391 kB / 374.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7597, allocations: 0.527 MB / 375.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7597, allocations: 0 / 375.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.7602, allocations: 32.78 kB / 375.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.7606, allocations: 33.11 kB / 375.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.7606, allocations: 0 / 375.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7627, allocations: 1.306 MB / 376.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.7628, allocations: 0 / 376.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.7637, allocations: 313.9 kB / 376.9 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.7639, allocations: 88.8 kB / 377 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.7639, allocations: 0 / 377 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.7642, allocations: 10.69 kB / 377 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.7643, allocations: 16.16 kB / 377.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.7644, allocations: 7.812 kB / 377.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.7645, allocations: 106.9 kB / 377.2 MB, free: 17.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.7645, allocations: 0 / 377.2 MB, free: 17.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007091/0.7653, allocations: 38.81 kB / 377.2 MB, free: 17.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.7667, allocations: 0.834 MB / 378 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008055/0.7675, allocations: 221.7 kB / 378.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7675, allocations: 7.188 kB / 378.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.7681, allocations: 168.1 kB / 378.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.7687, allocations: 14.59 kB / 378.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.7705, allocations: 385 kB / 378.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.771, allocations: 0.7418 MB / 379.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.7712, allocations: 11.81 kB / 379.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.7713, allocations: 46.62 kB / 379.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7714, allocations: 0 / 379.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07079/0.8422, allocations: 2.887 MB / 382.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002795/0.8425, allocations: 139.5 kB / 382.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.517/4.359, allocations: 0 / 382.6 MB, free: 14.8 MB / 314.7 MB "" Variables in the reference:time,inertia.phi,inertia.w Variables in the result:der(der(idealRollingWheel.flangeT.s)),der(idealRollingWheel.flangeT.s),der(inertia.phi),der(inertia.w),der(mass.s),der(mass.v),der(quadraticSpeedDependentForce.s),idealRollingWheel.fixedR.flange.phi,idealRollingWheel.fixedR.flange.tau,idealRollingWheel.fixedR.phi0,idealRollingWheel.fixedT.flange.f,idealRollingWheel.fixedT.flange.s,idealRollingWheel.fixedT.s0,idealRollingWheel.flangeR.phi,idealRollingWheel.flangeR.tau,idealRollingWheel.flangeT.f,idealRollingWheel.flangeT.s,idealRollingWheel.internalSupportR.flange.phi,idealRollingWheel.internalSupportR.flange.tau,idealRollingWheel.internalSupportR.phi,idealRollingWheel.internalSupportR.tau,idealRollingWheel.internalSupportT.f,idealRollingWheel.internalSupportT.flange.f,idealRollingWheel.internalSupportT.flange.s,idealRollingWheel.internalSupportT.s,idealRollingWheel.radius,idealRollingWheel.useSupportR,idealRollingWheel.useSupportT,inertia.J,inertia.a,inertia.flange_a.phi,inertia.flange_a.tau,inertia.flange_b.phi,inertia.flange_b.tau,inertia.phi,inertia.stateSelect,inertia.w,mass.L,mass.a,mass.flange_a.f,mass.flange_a.s,mass.flange_b.f,mass.flange_b.s,mass.m,mass.s,mass.stateSelect,mass.v,quadraticSpeedDependentForce.ForceDirection,quadraticSpeedDependentForce.f,quadraticSpeedDependentForce.f_nominal,quadraticSpeedDependentForce.flange.f,quadraticSpeedDependentForce.flange.s,quadraticSpeedDependentForce.s,quadraticSpeedDependentForce.s_support,quadraticSpeedDependentForce.useSupport,quadraticSpeedDependentForce.v,quadraticSpeedDependentForce.v_nominal,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.phi_support,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport