Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.376/3.376, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.958e-05, allocations: 0 / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4829, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.6852, allocations: 80.33 MB / 434.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.6855, allocations: 75.83 kB / 434.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03752/0.7231, allocations: 6.834 MB / 441.6 MB, free: 7.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7231, allocations: 4 kB / 441.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.7232, allocations: 8 kB / 441.7 MB, free: 7.906 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001575/0.7248, allocations: 0.5972 MB / 442.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.7248, allocations: 8.031 kB / 442.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.725, allocations: 70.52 kB / 442.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.7252, allocations: 63.3 kB / 442.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.7255, allocations: 218.4 kB / 442.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.7256, allocations: 21.31 kB / 442.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.7257, allocations: 31.91 kB / 442.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008026/0.7265, allocations: 214.6 kB / 442.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.7278, allocations: 387.5 kB / 443.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.7279, allocations: 15.89 kB / 443.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.728, allocations: 0 / 443.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.728, allocations: 12 kB / 443.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.7324, allocations: 1.618 MB / 444.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.7333, allocations: 371.5 kB / 445.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.7337, allocations: 143.7 kB / 445.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.7337, allocations: 4 kB / 445.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.7338, allocations: 42.5 kB / 445.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.369e-06/0.7338, allocations: 4 kB / 445.4 MB, free: 3.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001084/0.7349, allocations: 249.8 kB / 445.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.7351, allocations: 269 kB / 445.9 MB, free: 3.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.7355, allocations: 202.2 kB / 446.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.7355, allocations: 25.7 kB / 446.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.7358, allocations: 247.6 kB / 446.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.736, allocations: 177.5 kB / 446.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.7361, allocations: 0 / 446.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.7363, allocations: 350.8 kB / 446.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.7366, allocations: 93.56 kB / 447 MB, free: 2.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.7373, allocations: 389.9 kB / 447.4 MB, free: 1.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.7379, allocations: 175.8 kB / 447.6 MB, free: 1.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.7379, allocations: 0 / 447.6 MB, free: 1.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001585/0.7395, allocations: 481 kB / 448 MB, free: 0.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.7396, allocations: 12 kB / 448.1 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.7396, allocations: 8 kB / 448.1 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.911e-05/0.7397, allocations: 16 kB / 448.1 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.7411, allocations: 180.3 kB / 448.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.463e-05/0.7412, allocations: 23.94 kB / 448.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.7418, allocations: 51.36 kB / 448.3 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.7419, allocations: 35.94 kB / 448.4 MB, free: 0.6367 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001991/0.7421, allocations: 128.7 kB / 448.5 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.7424, allocations: 35.62 kB / 448.5 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.7426, allocations: 37.83 kB / 448.6 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.7426, allocations: 8 kB / 448.6 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7426, allocations: 0 / 448.6 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.7427, allocations: 4 kB / 448.6 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.7444, allocations: 361.6 kB / 448.9 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.7445, allocations: 0 / 448.9 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.7461, allocations: 123.9 kB / 449 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/0.7462, allocations: 4 kB / 449.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/0.7463, allocations: 8 kB / 449.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.549e-05/0.7463, allocations: 7.938 kB / 449.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.7464, allocations: 0 / 449.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.748, allocations: 1.143 MB / 450.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.7482, allocations: 116.7 kB / 450.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.7483, allocations: 4 kB / 450.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007553/0.7491, allocations: 4 kB / 450.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7492, allocations: 35.91 kB / 450.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.7493, allocations: 23.92 kB / 450.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.7495, allocations: 146 kB / 450.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7495, allocations: 0 / 450.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002457/0.752, allocations: 123.6 kB / 450.7 MB, free: 14.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002452/0.7545, allocations: 2.238 MB / 452.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.7556, allocations: 295.6 kB / 453.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.7556, allocations: 0 / 453.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.756, allocations: 114 kB / 453.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.7576, allocations: 74.66 kB / 453.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/0.7644, allocations: 2.088 MB / 455.5 MB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.7651, allocations: 0.843 MB / 456.3 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.7655, allocations: 47.44 kB / 456.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.7659, allocations: 143.4 kB / 456.5 MB, free: 8.223 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.7659, allocations: 0 / 456.5 MB, free: 8.223 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/0.8842, allocations: 7.081 MB / 463.6 MB, free: 1.168 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003914/0.8847, allocations: 150 kB / 463.7 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.649/4.534, allocations: 2.812 kB / 463.7 MB, free: 0.9805 MB / 394.7 MB "" Variables in the reference:time,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w Variables in the result: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),der(inertia7.phi),der(inertia7.w),der(inertia7a.phi),der(inertia7a.w),der(inertia8.phi),der(inertia8.w),der(inertia8a.phi),der(inertia8a.w),der(inertia9.phi),der(inertia9.w),der(inertia9a.phi),der(inertia9a.w),fixed.flange.phi,fixed.flange.tau,fixed.phi0,fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,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,inertia7.J,inertia7.a,inertia7.flange_a.phi,inertia7.flange_a.tau,inertia7.flange_b.phi,inertia7.flange_b.tau,inertia7.phi,inertia7.stateSelect,inertia7.w,inertia7a.J,inertia7a.a,inertia7a.flange_a.phi,inertia7a.flange_a.tau,inertia7a.flange_b.phi,inertia7a.flange_b.tau,inertia7a.phi,inertia7a.stateSelect,inertia7a.w,inertia8.J,inertia8.a,inertia8.flange_a.phi,inertia8.flange_a.tau,inertia8.flange_b.phi,inertia8.flange_b.tau,inertia8.phi,inertia8.stateSelect,inertia8.w,inertia8a.J,inertia8a.a,inertia8a.flange_a.phi,inertia8a.flange_a.tau,inertia8a.flange_b.phi,inertia8a.flange_b.tau,inertia8a.phi,inertia8a.stateSelect,inertia8a.w,inertia9.J,inertia9.a,inertia9.flange_a.phi,inertia9.flange_a.tau,inertia9.flange_b.phi,inertia9.flange_b.tau,inertia9.phi,inertia9.stateSelect,inertia9.w,inertia9a.J,inertia9a.a,inertia9a.flange_a.phi,inertia9a.flange_a.tau,inertia9a.flange_b.phi,inertia9a.flange_b.tau,inertia9a.phi,inertia9a.stateSelect,inertia9a.w,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.tau,spring1.c,spring1.flange_a.phi,spring1.flange_a.tau,spring1.flange_b.phi,spring1.flange_b.tau,spring1.phi_rel,spring1.phi_rel0,spring1.tau,spring2.c,spring2.flange_a.phi,spring2.flange_a.tau,spring2.flange_b.phi,spring2.flange_b.tau,spring2.phi_rel,spring2.phi_rel0,spring2.tau,spring3.c,spring3.flange_a.phi,spring3.flange_a.tau,spring3.flange_b.phi,spring3.flange_b.tau,spring3.phi_rel,spring3.phi_rel0,spring3.tau,spring4.c,spring4.flange_a.phi,spring4.flange_a.tau,spring4.flange_b.phi,spring4.flange_b.tau,spring4.phi_rel,spring4.phi_rel0,spring4.tau,time