Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.284/3.284, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.315e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4869, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.6837, allocations: 81.53 MB / 435.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.684, allocations: 75.84 kB / 436 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05009/0.7341, allocations: 8.301 MB / 444.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.7342, allocations: 0 / 444.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.004e-05/0.7343, allocations: 8 kB / 444.3 MB, free: 5.121 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002256/0.7366, allocations: 0.639 MB / 445 MB, free: 4.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/0.7367, allocations: 11.97 kB / 445 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.7369, allocations: 66.52 kB / 445 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.7372, allocations: 59.34 kB / 445.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.7381, allocations: 293.3 kB / 445.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/0.7382, allocations: 21.31 kB / 445.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.7384, allocations: 43.84 kB / 445.4 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001329/0.7397, allocations: 278.5 kB / 445.7 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7413, allocations: 355.7 kB / 446.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.19e-05/0.7414, allocations: 3.906 kB / 446.1 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.7415, allocations: 4 kB / 446.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.7415, allocations: 8 kB / 446.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.7456, allocations: 1.069 MB / 447.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.7472, allocations: 456 kB / 447.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.7479, allocations: 187.2 kB / 447.8 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.748, allocations: 4.438 kB / 447.8 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.7481, allocations: 39 kB / 447.8 MB, free: 1.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 5.56e-06/0.7481, allocations: 0 / 447.8 MB, free: 1.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.007093/0.7552, allocations: 1.807 MB / 449.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.7554, allocations: 93.66 kB / 449.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.7559, allocations: 194.1 kB / 449.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.756, allocations: 25.7 kB / 449.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.7563, allocations: 212.8 kB / 450.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004849/0.7568, allocations: 256.1 kB / 450.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.757, allocations: 4 kB / 450.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003149/0.7573, allocations: 350.8 kB / 450.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.7581, allocations: 133.6 kB / 450.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00092/0.759, allocations: 249.2 kB / 451.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.76, allocations: 180.5 kB / 451.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.76, allocations: 0 / 451.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002269/0.7623, allocations: 0.4926 MB / 451.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.7624, allocations: 4 kB / 451.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.7624, allocations: 4.281 kB / 451.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.885e-05/0.7625, allocations: 12 kB / 451.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.7646, allocations: 175.8 kB / 452 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/0.7647, allocations: 11.92 kB / 452 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/0.7656, allocations: 11.98 kB / 452 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7657, allocations: 28 kB / 452 MB, free: 12.96 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 (97): * Single equations (assignments): 97 * 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.0002703/0.766, allocations: 108.9 kB / 452.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.7663, allocations: 51.39 kB / 452.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.7666, allocations: 51.92 kB / 452.2 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.7667, allocations: 4 kB / 452.2 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.7667, allocations: 4 kB / 452.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/0.7667, allocations: 8.016 kB / 452.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.7724, allocations: 1.314 MB / 453.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.7724, allocations: 0 / 453.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/0.7747, allocations: 159.8 kB / 453.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.852e-05/0.7748, allocations: 7.953 kB / 453.7 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.7749, allocations: 8.344 kB / 453.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.7749, allocations: 11.98 kB / 453.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.775, allocations: 4 kB / 453.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.7779, allocations: 0.9739 MB / 454.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.7782, allocations: 128.5 kB / 454.8 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.7784, allocations: 8 kB / 454.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.7793, allocations: 8 kB / 454.9 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.7794, allocations: 44.31 kB / 454.9 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.7796, allocations: 27.98 kB / 454.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003206/0.7799, allocations: 150 kB / 455.1 MB, free: 9.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.7799, allocations: 0 / 455.1 MB, free: 9.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001573/0.7815, allocations: 128 kB / 455.2 MB, free: 9.523 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.004231/0.7858, allocations: 2.359 MB / 457.6 MB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.7876, allocations: 391 kB / 457.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.7876, allocations: 0 / 457.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.7885, allocations: 213.4 kB / 458.2 MB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.7904, allocations: 99.8 kB / 458.3 MB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/0.7977, allocations: 1.61 MB / 459.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/0.7987, allocations: 0.8605 MB / 460.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005989/0.7993, allocations: 60.52 kB / 460.8 MB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.8, allocations: 167.4 kB / 460.9 MB, free: 3.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8, allocations: 3.938 kB / 460.9 MB, free: 3.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5003/1.3, allocations: 8.602 MB / 469.5 MB, free: 98.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003265/1.301, allocations: 162.6 kB / 469.7 MB, free: 98.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.773/5.074, allocations: 2.812 kB / 469.7 MB, free: 98.25 MB / 394.7 MB "" Variables in the reference:time,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel 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(relativeStates.phi_rel),der(relativeStates.w_rel),der(springDamper1.phi_rel),der(springDamper1.w_rel),der(springDamper2.phi_rel),der(springDamper2.w_rel),der(springDamper3.phi_rel),der(springDamper3.w_rel),der(springDamper4.phi_rel),der(springDamper4.w_rel),der(springDamper5.phi_rel),der(springDamper5.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.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,relativeStates.a_rel,relativeStates.flange_a.phi,relativeStates.flange_a.tau,relativeStates.flange_b.phi,relativeStates.flange_b.tau,relativeStates.phi_nominal,relativeStates.phi_rel,relativeStates.stateSelect,relativeStates.w_rel,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,springDamper1.a_rel,springDamper1.c,springDamper1.d,springDamper1.flange_a.phi,springDamper1.flange_a.tau,springDamper1.flange_b.phi,springDamper1.flange_b.tau,springDamper1.lossPower,springDamper1.phi_nominal,springDamper1.phi_rel,springDamper1.phi_rel0,springDamper1.stateSelect,springDamper1.tau,springDamper1.tau_c,springDamper1.tau_d,springDamper1.useHeatPort,springDamper1.w_rel,springDamper2.a_rel,springDamper2.c,springDamper2.d,springDamper2.flange_a.phi,springDamper2.flange_a.tau,springDamper2.flange_b.phi,springDamper2.flange_b.tau,springDamper2.lossPower,springDamper2.phi_nominal,springDamper2.phi_rel,springDamper2.phi_rel0,springDamper2.stateSelect,springDamper2.tau,springDamper2.tau_c,springDamper2.tau_d,springDamper2.useHeatPort,springDamper2.w_rel,springDamper3.a_rel,springDamper3.c,springDamper3.d,springDamper3.flange_a.phi,springDamper3.flange_a.tau,springDamper3.flange_b.phi,springDamper3.flange_b.tau,springDamper3.lossPower,springDamper3.phi_nominal,springDamper3.phi_rel,springDamper3.phi_rel0,springDamper3.stateSelect,springDamper3.tau,springDamper3.tau_c,springDamper3.tau_d,springDamper3.useHeatPort,springDamper3.w_rel,springDamper4.a_rel,springDamper4.c,springDamper4.d,springDamper4.flange_a.phi,springDamper4.flange_a.tau,springDamper4.flange_b.phi,springDamper4.flange_b.tau,springDamper4.lossPower,springDamper4.phi_nominal,springDamper4.phi_rel,springDamper4.phi_rel0,springDamper4.stateSelect,springDamper4.tau,springDamper4.tau_c,springDamper4.tau_d,springDamper4.useHeatPort,springDamper4.w_rel,springDamper5.a_rel,springDamper5.c,springDamper5.d,springDamper5.flange_a.phi,springDamper5.flange_a.tau,springDamper5.flange_b.phi,springDamper5.flange_b.tau,springDamper5.lossPower,springDamper5.phi_nominal,springDamper5.phi_rel,springDamper5.phi_rel0,springDamper5.stateSelect,springDamper5.tau,springDamper5.tau_c,springDamper5.tau_d,springDamper5.useHeatPort,springDamper5.w_rel,time