Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.355/3.355, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.193e-05, allocations: 0 / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4769, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.6588, allocations: 81.12 MB / 435.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/0.6592, allocations: 71.91 kB / 435.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.6934, allocations: 5.756 MB / 441.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6934, allocations: 0 / 441.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.758e-05/0.6935, allocations: 8 kB / 441.4 MB, free: 8.133 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001545/0.695, allocations: 0.5616 MB / 441.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.6951, allocations: 8.031 kB / 441.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.6953, allocations: 66.52 kB / 442 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.6954, allocations: 39.53 kB / 442 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.696, allocations: 255.3 kB / 442.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.696, allocations: 20.77 kB / 442.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.6962, allocations: 31.91 kB / 442.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007244/0.6969, allocations: 157.5 kB / 442.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/0.6979, allocations: 321.8 kB / 442.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.698, allocations: 4 kB / 442.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.698, allocations: 0 / 442.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.6981, allocations: 8 kB / 442.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004383/0.7025, allocations: 1.657 MB / 444.5 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.7032, allocations: 238.4 kB / 444.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.7035, allocations: 74.08 kB / 444.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.7035, allocations: 4 kB / 444.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.7036, allocations: 46.5 kB / 444.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 4.258e-06/0.7036, allocations: 0 / 444.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008553/0.7045, allocations: 165.2 kB / 445 MB, free: 4.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.7047, allocations: 217.6 kB / 445.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.7051, allocations: 206.4 kB / 445.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.7051, allocations: 25.7 kB / 445.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.7054, allocations: 247.4 kB / 445.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.7056, allocations: 114.4 kB / 445.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.7056, allocations: 0 / 445.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.7059, allocations: 342.8 kB / 446.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.7062, allocations: 77.55 kB / 446.2 MB, free: 2.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.7068, allocations: 400.5 kB / 446.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.7073, allocations: 139.9 kB / 446.7 MB, free: 2.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.7074, allocations: 4 kB / 446.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001461/0.7088, allocations: 433.5 kB / 447.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.7089, allocations: 12.22 kB / 447.2 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.709, allocations: 16 kB / 447.2 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.018e-05/0.709, allocations: 16 kB / 447.2 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.7102, allocations: 151.7 kB / 447.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.7103, allocations: 23.92 kB / 447.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.7109, allocations: 47.44 kB / 447.4 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.711, allocations: 32 kB / 447.4 MB, free: 1.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.000199/0.7112, allocations: 136.7 kB / 447.6 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.7115, allocations: 35.58 kB / 447.6 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.7117, allocations: 29.83 kB / 447.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.7117, allocations: 7.938 kB / 447.6 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.7117, allocations: 128 / 447.6 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.7117, allocations: 11.98 kB / 447.7 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.7142, allocations: 0.5897 MB / 448.2 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7142, allocations: 0 / 448.2 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.7155, allocations: 91.88 kB / 448.3 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.7156, allocations: 4 kB / 448.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.7156, allocations: 8 kB / 448.3 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.7157, allocations: 4 kB / 448.4 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.7157, allocations: 4 kB / 448.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.7168, allocations: 0.8784 MB / 449.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.717, allocations: 104.8 kB / 449.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.7171, allocations: 4 kB / 449.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.7179, allocations: 15.98 kB / 449.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.718, allocations: 27.92 kB / 449.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.718, allocations: 4.188 kB / 449.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002612/0.7183, allocations: 158 kB / 449.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7183, allocations: 0 / 449.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001469/0.7198, allocations: 83.84 kB / 449.6 MB, free: 15.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001797/0.7216, allocations: 2.005 MB / 451.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.7225, allocations: 229.5 kB / 451.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.7225, allocations: 0 / 451.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.7227, allocations: 72.73 kB / 451.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.7241, allocations: 58.66 kB / 452 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.7296, allocations: 1.589 MB / 453.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.7302, allocations: 0.8069 MB / 454.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004058/0.7307, allocations: 47.25 kB / 454.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.731, allocations: 115.4 kB / 454.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/0.731, allocations: 0 / 454.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.7891, allocations: 5.502 MB / 460 MB, free: 4.602 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000334/0.7895, allocations: 145.5 kB / 460.2 MB, free: 4.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.591/4.381, allocations: 0 / 460.2 MB, free: 4.41 MB / 394.7 MB "" Variables in the reference:time,J2.phi,J2.w,J4.phi,J4.w,J6.phi,J6.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w Variables in the result: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,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,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(J2.phi),der(J2.w),der(J4.phi),der(J4.w),der(J6.phi),der(J6.w),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),der(inertia4.phi),der(inertia4.w),der(inertia5.phi),der(inertia5.w),der(inertia6.phi),der(inertia6.w),fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,fixed2.flange.phi,fixed2.flange.tau,fixed2.phi0,idealPlanetary1.carrier.phi,idealPlanetary1.carrier.tau,idealPlanetary1.ratio,idealPlanetary1.ring.phi,idealPlanetary1.ring.tau,idealPlanetary1.sun.phi,idealPlanetary1.sun.tau,idealPlanetary2.carrier.phi,idealPlanetary2.carrier.tau,idealPlanetary2.ratio,idealPlanetary2.ring.phi,idealPlanetary2.ring.tau,idealPlanetary2.sun.phi,idealPlanetary2.sun.tau,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,inertia4.J,inertia4.a,inertia4.flange_a.phi,inertia4.flange_a.tau,inertia4.flange_b.phi,inertia4.flange_b.tau,inertia4.phi,inertia4.stateSelect,inertia4.w,inertia5.J,inertia5.a,inertia5.flange_a.phi,inertia5.flange_a.tau,inertia5.flange_b.phi,inertia5.flange_b.tau,inertia5.phi,inertia5.stateSelect,inertia5.w,inertia6.J,inertia6.a,inertia6.flange_a.phi,inertia6.flange_a.tau,inertia6.flange_b.phi,inertia6.flange_b.tau,inertia6.phi,inertia6.stateSelect,inertia6.w,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,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