Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_TestSpeed",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.39/3.39, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.685e-05, allocations: 0 / 299.5 MB, free: 228 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4677, allocations: 54.86 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.6489, allocations: 81.85 MB / 436.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.6493, allocations: 63.97 kB / 436.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0276/0.6769, allocations: 4.671 MB / 441 MB, free: 8.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.677, allocations: 0 / 441 MB, free: 8.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.677, allocations: 4 kB / 441 MB, free: 8.559 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001327/0.6783, allocations: 0.5262 MB / 441.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.6784, allocations: 13.06 kB / 441.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.754e-05/0.6785, allocations: 46.55 kB / 441.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.6787, allocations: 39.53 kB / 441.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.6793, allocations: 250.5 kB / 441.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.6794, allocations: 12.56 kB / 441.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6795, allocations: 16 kB / 441.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006835/0.6802, allocations: 129.1 kB / 442 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008598/0.6811, allocations: 220.8 kB / 442.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/0.6812, allocations: 7.953 kB / 442.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.6813, allocations: 4 kB / 442.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.6813, allocations: 7.938 kB / 442.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.685, allocations: 1.252 MB / 443.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.6857, allocations: 206.5 kB / 443.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.686, allocations: 79.44 kB / 443.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.6861, allocations: 0 / 443.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.6862, allocations: 46.48 kB / 443.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.988e-06/0.6862, allocations: 0 / 443.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.004438/0.6907, allocations: 1.327 MB / 445.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6908, allocations: 140.5 kB / 445.3 MB, free: 3.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.6913, allocations: 188.4 kB / 445.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.6913, allocations: 25.7 kB / 445.5 MB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.6916, allocations: 172.6 kB / 445.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.6918, allocations: 118.3 kB / 445.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6919, allocations: 96 / 445.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.6921, allocations: 342.7 kB / 446.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.6925, allocations: 64.88 kB / 446.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.693, allocations: 192.7 kB / 446.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.6935, allocations: 100.6 kB / 446.5 MB, free: 2.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6935, allocations: 0 / 446.5 MB, free: 2.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001301/0.6948, allocations: 300.9 kB / 446.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.6949, allocations: 4 kB / 446.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.6949, allocations: 8.406 kB / 446.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.695, allocations: 12 kB / 446.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.6962, allocations: 111.8 kB / 446.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.6963, allocations: 7.984 kB / 446.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.697, allocations: 31.88 kB / 446.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.6971, allocations: 20 kB / 446.9 MB, free: 1.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.6973, allocations: 112.9 kB / 447.1 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.6976, allocations: 23.72 kB / 447.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.6977, allocations: 33.83 kB / 447.1 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.6978, allocations: 4 kB / 447.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.6978, allocations: 0 / 447.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.6978, allocations: 7.984 kB / 447.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.7008, allocations: 0.8614 MB / 448 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.7008, allocations: 4.094 kB / 448 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.7021, allocations: 87.83 kB / 448.1 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.7021, allocations: 3.953 kB / 448.1 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.7022, allocations: 7.984 kB / 448.1 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/0.7023, allocations: 7.938 kB / 448.1 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.7023, allocations: 0 / 448.1 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.704, allocations: 0.6867 MB / 448.8 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.7042, allocations: 100.7 kB / 448.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.7043, allocations: 4 kB / 448.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/0.7053, allocations: 23.94 kB / 448.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7055, allocations: 32.02 kB / 448.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.7055, allocations: 8.25 kB / 448.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.7059, allocations: 144.5 kB / 449.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.7059, allocations: 7.938 kB / 449.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001383/0.7073, allocations: 55.94 kB / 449.2 MB, free: 15.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.002368/0.7097, allocations: 1.571 MB / 450.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.7107, allocations: 204.4 kB / 450.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7107, allocations: 0 / 450.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.7112, allocations: 91.88 kB / 451 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.7124, allocations: 31.89 kB / 451 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.7165, allocations: 0.7697 MB / 451.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.7172, allocations: 0.7762 MB / 452.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.7177, allocations: 31.83 kB / 452.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/0.7181, allocations: 91.41 kB / 452.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7181, allocations: 0 / 452.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09266/0.8108, allocations: 4.452 MB / 457.2 MB, free: 7.539 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003111/0.8112, allocations: 141.8 kB / 457.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.381/4.192, allocations: 0 / 457.3 MB, free: 7.332 MB / 394.7 MB "" Variables in the reference:time,speed1.phi,speed1.w,speed2.phi,speed3.s,speed3.v,speed4.s Variables in the result:der(inertia2.w),der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),der(sine4.y),der(speed1.phi),der(speed1.w),der(speed2.phi),der(speed3.s),der(speed3.v),der(speed4.s),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,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.a,mass2.flange_a.f,mass2.flange_a.s,mass2.flange_b.f,mass2.flange_b.s,mass2.m,mass2.s,mass2.stateSelect,mass2.v,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2.y,sine4.amplitude,sine4.freqHz,sine4.offset,sine4.phase,sine4.startTime,sine4.y,speed1.a,speed1.exact,speed1.f_crit,speed1.flange.phi,speed1.flange.tau,speed1.phi,speed1.phi_support,speed1.useSupport,speed1.w,speed1.w_crit,speed1.w_ref,speed2.a,speed2.exact,speed2.f_crit,speed2.flange.phi,speed2.flange.tau,speed2.phi,speed2.phi_support,speed2.useSupport,speed2.w,speed2.w_crit,speed2.w_ref,speed3.a,speed3.exact,speed3.f_crit,speed3.flange.f,speed3.flange.s,speed3.s,speed3.s_support,speed3.useSupport,speed3.v,speed3.v_ref,speed3.w_crit,speed4.a,speed4.exact,speed4.f_crit,speed4.flange.f,speed4.flange.s,speed4.s,speed4.s_support,speed4.useSupport,speed4.v,speed4.v_ref,speed4.w_crit,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time