Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.CoupledClutches,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_CoupledClutches",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.548/2.548, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.563e-05, allocations: 7.141 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5535/0.67, allocations: 73.73 MB / 368 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.6704, allocations: 69.36 kB / 368.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05448/0.7249, allocations: 8.904 MB / 377 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.7249, allocations: 0 / 377 MB, free: 22.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.92e-05/0.725, allocations: 11.78 kB / 377 MB, free: 22.07 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003163/0.7282, allocations: 0.7819 MB / 377.8 MB, free: 21.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.7282, allocations: 7.75 kB / 377.8 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.7284, allocations: 67.33 kB / 377.8 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.7287, allocations: 57.84 kB / 377.9 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.7294, allocations: 340.6 kB / 378.2 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.7295, allocations: 20.28 kB / 378.2 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.7297, allocations: 23.16 kB / 378.3 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001682/0.7314, allocations: 486.8 kB / 378.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.733, allocations: 0.5031 MB / 379.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.733, allocations: 7.781 kB / 379.3 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.7332, allocations: 0 / 379.3 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.7332, allocations: 11.88 kB / 379.3 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.7383, allocations: 1.251 MB / 380.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.74, allocations: 424.8 kB / 380.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.7408, allocations: 249.5 kB / 381.2 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.7409, allocations: 19.77 kB / 381.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.741, allocations: 42.75 kB / 381.2 MB, free: 20.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 4.97e-06/0.741, allocations: 0 / 381.2 MB, free: 20.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.00806/0.7491, allocations: 1.854 MB / 383.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.7492, allocations: 59.75 kB / 383.1 MB, free: 19.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.7496, allocations: 232.6 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.7497, allocations: 36.86 kB / 383.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.7499, allocations: 191.5 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.7503, allocations: 223.3 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.7504, allocations: 6.875 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.7506, allocations: 364.6 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/0.7514, allocations: 237.6 kB / 384.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/0.7523, allocations: 307.9 kB / 384.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.7534, allocations: 199.8 kB / 384.9 MB, free: 18.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7534, allocations: 0 / 384.9 MB, free: 18.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003047/0.7565, allocations: 0.7526 MB / 385.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.7565, allocations: 3.938 kB / 385.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/0.7566, allocations: 11.98 kB / 385.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/0.7587, allocations: 0.5436 MB / 386.2 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.7597, allocations: 96.58 kB / 386.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.7627, allocations: 1.068 MB / 387.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.7646, allocations: 133 kB / 387.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.7648, allocations: 38.58 kB / 387.5 MB, free: 17.4 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real clutch2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real clutch1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch1.free,$PRE.clutch1.startForward,clutch1.startForward,$PRE.clutch1.startBackward,clutch1.startBackward,clutch1.locked,$PRE.clutch1.mode,clutch1.mode,clutch2.free,$PRE.clutch2.startForward,clutch2.startForward,$PRE.clutch2.startBackward,clutch2.startBackward,clutch2.locked,$PRE.clutch2.mode,clutch2.mode,clutch3.free,$PRE.clutch3.startForward,clutch3.startForward,$PRE.clutch3.startBackward,clutch3.startBackward,clutch3.locked,$PRE.clutch3.mode,clutch3.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004416/0.7653, allocations: 131.8 kB / 387.7 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.7655, allocations: 50.12 kB / 387.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.769, allocations: 0.8234 MB / 388.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.769, allocations: 7.75 kB / 388.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.769, allocations: 3.984 kB / 388.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.7691, allocations: 0 / 388.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/0.7738, allocations: 1.328 MB / 389.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.7738, allocations: 0 / 389.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.7751, allocations: 97.59 kB / 390 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/0.7771, allocations: 0.5203 MB / 390.5 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.7773, allocations: 27.33 kB / 390.5 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.7801, allocations: 1.024 MB / 391.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.7801, allocations: 7.891 kB / 391.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/0.7842, allocations: 1.077 MB / 392.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.7848, allocations: 187.1 kB / 392.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.785, allocations: 12.59 kB / 392.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.7868, allocations: 134.3 kB / 393 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006171/0.7875, allocations: 147.9 kB / 393.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.7876, allocations: 37.27 kB / 393.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003533/0.788, allocations: 188.7 kB / 393.3 MB, free: 15 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.788, allocations: 3.938 kB / 393.3 MB, free: 15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001026/0.7891, allocations: 136.6 kB / 393.5 MB, free: 14.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,J3.phi,J3.w,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch2.mode,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004842/0.7939, allocations: 1.663 MB / 395.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.7965, allocations: 0.7102 MB / 395.8 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7966, allocations: 0 / 395.8 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.7979, allocations: 365.4 kB / 396.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7992, allocations: 72.19 kB / 396.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.8045, allocations: 1.274 MB / 397.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.8051, allocations: 0.85 MB / 398.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004182/0.8056, allocations: 42.11 kB / 398.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/0.806, allocations: 143.5 kB / 398.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.806, allocations: 4 kB / 398.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/0.9717, allocations: 14.94 MB / 413.5 MB, free: 2.59 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003242/0.9721, allocations: 147.2 kB / 413.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.361/5.333, allocations: 3.938 kB / 413.7 MB, free: 2.395 MB / 314.7 MB "" Variables in the reference:time,J1.phi,J1.w,clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,clutch3.phi_rel,clutch3.w_rel,clutch1.mode,clutch1.startBackward,clutch1.startForward,clutch2.mode,clutch2.startBackward,clutch2.startForward,clutch3.mode,clutch3.startBackward,clutch3.startForward 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,T2,T3,clutch1.a_rel,clutch1.a_relfric,clutch1.cgeo,clutch1.f_normalized,clutch1.flange_a.phi,clutch1.flange_a.tau,clutch1.flange_b.phi,clutch1.flange_b.tau,clutch1.fn,clutch1.fn_max,clutch1.free,clutch1.locked,clutch1.lossPower,clutch1.mode,clutch1.mue0,clutch1.mue_pos[1,1],clutch1.mue_pos[1,2],clutch1.peak,clutch1.phi_nominal,clutch1.phi_rel,clutch1.sa,clutch1.startBackward,clutch1.startForward,clutch1.stateSelect,clutch1.tau,clutch1.tau0,clutch1.tau0_max,clutch1.useHeatPort,clutch1.w_rel,clutch1.w_relfric,clutch1.w_small,clutch2.a_rel,clutch2.a_relfric,clutch2.cgeo,clutch2.f_normalized,clutch2.flange_a.phi,clutch2.flange_a.tau,clutch2.flange_b.phi,clutch2.flange_b.tau,clutch2.fn,clutch2.fn_max,clutch2.free,clutch2.locked,clutch2.lossPower,clutch2.mode,clutch2.mue0,clutch2.mue_pos[1,1],clutch2.mue_pos[1,2],clutch2.peak,clutch2.phi_nominal,clutch2.phi_rel,clutch2.sa,clutch2.startBackward,clutch2.startForward,clutch2.stateSelect,clutch2.tau,clutch2.tau0,clutch2.tau0_max,clutch2.useHeatPort,clutch2.w_rel,clutch2.w_relfric,clutch2.w_small,clutch3.a_rel,clutch3.a_relfric,clutch3.cgeo,clutch3.f_normalized,clutch3.flange_a.phi,clutch3.flange_a.tau,clutch3.flange_b.phi,clutch3.flange_b.tau,clutch3.fn,clutch3.fn_max,clutch3.free,clutch3.locked,clutch3.lossPower,clutch3.mode,clutch3.mue0,clutch3.mue_pos[1,1],clutch3.mue_pos[1,2],clutch3.peak,clutch3.phi_nominal,clutch3.phi_rel,clutch3.sa,clutch3.startBackward,clutch3.startForward,clutch3.stateSelect,clutch3.tau,clutch3.tau0,clutch3.tau0_max,clutch3.useHeatPort,clutch3.w_rel,clutch3.w_relfric,clutch3.w_small,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(clutch1.phi_rel),der(clutch1.w_rel),der(clutch2.phi_rel),der(clutch2.w_rel),der(clutch3.phi_rel),der(clutch3.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,freqHz,sin1.amplitude,sin1.freqHz,sin1.offset,sin1.phase,sin1.startTime,sin1.y,sin2.amplitude,sin2.freqHz,sin2.offset,sin2.phase,sin2.startTime,sin2.y,step1.height,step1.offset,step1.startTime,step1.y,step2.height,step2.offset,step2.startTime,step2.y,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport