Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.462/3.462, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.695e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5098, allocations: 54.84 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.7064, allocations: 81.21 MB / 435.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/0.7068, allocations: 71.95 kB / 435.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03347/0.7403, allocations: 5.787 MB / 441.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7404, allocations: 0 / 441.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.7404, allocations: 12 kB / 441.5 MB, free: 8.066 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001567/0.742, allocations: 0.5734 MB / 442.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.7421, allocations: 12.03 kB / 442.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.7422, allocations: 62.53 kB / 442.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.7424, allocations: 43.47 kB / 442.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.7429, allocations: 275.3 kB / 442.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.743, allocations: 16.78 kB / 442.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.7431, allocations: 35.86 kB / 442.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007515/0.7439, allocations: 181.5 kB / 442.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.7449, allocations: 304.6 kB / 443 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.745, allocations: 4 kB / 443 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.745, allocations: 4 kB / 443 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.7451, allocations: 8 kB / 443 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.748, allocations: 1.008 MB / 444 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.7489, allocations: 299.6 kB / 444.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.7494, allocations: 158.4 kB / 444.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.7495, allocations: 4.75 kB / 444.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.7495, allocations: 38.55 kB / 444.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 5.01e-06/0.7495, allocations: 4 kB / 444.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.006128/0.7557, allocations: 2.126 MB / 446.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.7558, allocations: 122.6 kB / 446.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.7561, allocations: 155.2 kB / 446.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.7562, allocations: 25.7 kB / 446.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.7563, allocations: 189.1 kB / 447.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.7566, allocations: 189.1 kB / 447.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.7567, allocations: 4 kB / 447.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7569, allocations: 342.8 kB / 447.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.7572, allocations: 97.12 kB / 447.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.7578, allocations: 206.8 kB / 447.9 MB, free: 1.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.7582, allocations: 139.8 kB / 448 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7583, allocations: 0 / 448 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001828/0.7601, allocations: 479.2 kB / 448.5 MB, free: 468 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.7602, allocations: 8 kB / 448.5 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.7602, allocations: 4 kB / 448.5 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000721/0.7609, allocations: 110.5 kB / 448.6 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.7619, allocations: 103.8 kB / 448.7 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.7686, allocations: 4.479 MB / 453.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.7691, allocations: 16.05 kB / 453.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.7692, allocations: 16 kB / 453.2 MB, free: 11.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.7694, allocations: 116.8 kB / 453.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.7696, allocations: 39.58 kB / 453.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.7698, allocations: 33.95 kB / 453.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.7698, allocations: 8 kB / 453.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.7699, allocations: 4 kB / 453.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.7699, allocations: 7.984 kB / 453.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.7734, allocations: 1.177 MB / 454.6 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.7735, allocations: 4 kB / 454.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.7747, allocations: 104 kB / 454.7 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006161/0.7753, allocations: 94.42 kB / 454.8 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.7754, allocations: 7.984 kB / 454.8 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.7806, allocations: 3.941 MB / 458.8 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.7807, allocations: 0 / 458.8 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.7829, allocations: 0.8849 MB / 459.7 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.783, allocations: 104.7 kB / 459.8 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.7831, allocations: 0 / 459.8 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.7836, allocations: 19.94 kB / 459.8 MB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.7839, allocations: 51.88 kB / 459.8 MB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.7839, allocations: 16 kB / 459.8 MB, free: 4.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.7841, allocations: 131.4 kB / 460 MB, free: 4.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7841, allocations: 0 / 460 MB, free: 4.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001189/0.7853, allocations: 96 kB / 460.1 MB, free: 4.035 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002696/0.788, allocations: 1.775 MB / 461.8 MB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.79, allocations: 0.6774 MB / 462.5 MB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7901, allocations: 0 / 462.5 MB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.7914, allocations: 0.5247 MB / 463 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/0.7924, allocations: 31.94 kB / 463.1 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3931/1.185, allocations: 0.9456 MB / 464 MB, free: 99.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/1.186, allocations: 0.8315 MB / 464.9 MB, free: 99.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003401/1.186, allocations: 35.11 kB / 464.9 MB, free: 99.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/1.187, allocations: 126.4 kB / 465 MB, free: 99 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/1.187, allocations: 0.625 kB / 465 MB, free: 99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07912/1.266, allocations: 6.718 MB / 471.7 MB, free: 98.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003102/1.266, allocations: 157.9 kB / 471.9 MB, free: 98.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.933/5.199, allocations: 0 / 471.9 MB, free: 98.34 MB / 394.7 MB "" Variables in the reference:time,J2.phi,J2.w,J3.phi,J3.w,J5.phi,J5.w Variables in the result:J1.J,J1.a,J1.flange_a.phi,J1.flange_a.tau,J1.flange_b.phi,J1.flange_b.tau,J1.phi,J1.stateSelect,J1.w,J2.J,J2.a,J2.flange_a.phi,J2.flange_a.tau,J2.flange_b.phi,J2.flange_b.tau,J2.phi,J2.stateSelect,J2.w,J3.J,J3.a,J3.flange_a.phi,J3.flange_a.tau,J3.flange_b.phi,J3.flange_b.tau,J3.phi,J3.stateSelect,J3.w,J4.J,J4.a,J4.flange_a.phi,J4.flange_a.tau,J4.flange_b.phi,J4.flange_b.tau,J4.phi,J4.stateSelect,J4.w,J5.J,J5.a,J5.flange_a.phi,J5.flange_a.tau,J5.flange_b.phi,J5.flange_b.tau,J5.phi,J5.stateSelect,J5.w,J6.J,J6.a,J6.flange_a.phi,J6.flange_a.tau,J6.flange_b.phi,J6.flange_b.tau,J6.phi,J6.stateSelect,J6.w,der(J1.phi),der(J1.w),der(J2.phi),der(J2.w),der(J3.phi),der(J3.w),der(J4.phi),der(J4.w),der(J5.phi),der(J5.w),der(J6.phi),der(J6.w),der(der(gear.phi_a)),der(der(gear.phi_b)),der(der(gear1.phi_a)),der(der(gear1.phi_b)),der(der(gear2.phi_a)),der(der(gear2.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear1.phi_a),der(gear1.phi_b),der(gear2.phi_a),der(gear2.phi_b),fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,fixed2.flange.phi,fixed2.flange.tau,fixed2.phi0,fixed3.flange.phi,fixed3.flange.tau,fixed3.phi0,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.phi_a,gear.phi_b,gear.phi_support,gear.ratio,gear.support.phi,gear.support.tau,gear.useSupport,gear1.flange_a.phi,gear1.flange_a.tau,gear1.flange_b.phi,gear1.flange_b.tau,gear1.phi_a,gear1.phi_b,gear1.phi_support,gear1.ratio,gear1.support.phi,gear1.support.tau,gear1.useSupport,gear2.flange_a.phi,gear2.flange_a.tau,gear2.flange_b.phi,gear2.flange_b.tau,gear2.phi_a,gear2.phi_b,gear2.phi_support,gear2.ratio,gear2.support.phi,gear2.support.tau,gear2.useSupport,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2.y,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport,torque1.flange.phi,torque1.flange.tau,torque1.phi_support,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.phi_support,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport