Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.202/3.202, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.852e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4381, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.678, allocations: 100.9 MB / 455.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/0.6785, allocations: 71.97 kB / 455.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9047/1.583, allocations: 95.99 MB / 0.5385 GB, free: 25.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.583, allocations: 0 / 0.5385 GB, free: 25.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002864/1.584, allocations: 95.92 kB / 0.5386 GB, free: 25.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.03234/1.616, allocations: 4.636 MB / 0.5431 GB, free: 20.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/1.616, allocations: 8.031 kB / 0.5431 GB, free: 20.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005308/1.621, allocations: 0.7442 MB / 0.5438 GB, free: 20.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04272/1.664, allocations: 3.624 MB / 0.5474 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02871/1.693, allocations: 4.886 MB / 0.5521 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000493/1.693, allocations: 213.9 kB / 0.5524 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003772/1.697, allocations: 283.9 kB / 0.5526 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03106/1.728, allocations: 8.431 MB / 0.5609 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04533/1.774, allocations: 11.11 MB / 0.5717 GB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003149/1.774, allocations: 39.64 kB / 0.5717 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002424/1.777, allocations: 16 kB / 0.5718 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004366/1.781, allocations: 1.314 MB / 0.573 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.12/1.901, allocations: 39.4 MB / 0.6115 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/1.913, allocations: 4.286 MB / 0.6157 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006834/1.919, allocations: 2.288 MB / 0.6179 GB, free: 6.547 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/1.922, allocations: 1.319 MB / 0.6192 GB, free: 5.008 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.081e-05/1.922, allocations: 56.55 kB / 0.6193 GB, free: 4.941 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 7.945e-06/1.922, allocations: 0 / 0.6193 GB, free: 4.941 MB / 458.7 MB Notification: Performance of matching and sorting (n=271): time 0.4845/2.407, allocations: 14.34 MB / 0.6333 GB, free: 103.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/2.407, allocations: 106 kB / 0.6334 GB, free: 103.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/2.414, allocations: 2.583 MB / 0.6359 GB, free: 103.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006776/2.414, allocations: 25.7 kB / 0.6359 GB, free: 103.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003285/2.418, allocations: 3.285 MB / 0.6391 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/2.419, allocations: 0.9774 MB / 0.6401 GB, free: 101 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000912/2.42, allocations: 0 / 0.6401 GB, free: 101 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007131/2.421, allocations: 0.5888 MB / 0.6407 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007585/2.429, allocations: 2.339 MB / 0.643 GB, free: 100.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/2.439, allocations: 5.938 MB / 0.6487 GB, free: 96.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/2.45, allocations: 3.77 MB / 0.6524 GB, free: 96.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/2.45, allocations: 35.75 kB / 0.6525 GB, free: 96.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.0338/2.484, allocations: 8.48 MB / 0.6607 GB, free: 95.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.484, allocations: 61.14 kB / 0.6608 GB, free: 95.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003286/2.485, allocations: 132.8 kB / 0.6609 GB, free: 95.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007963/2.493, allocations: 1.141 MB / 0.662 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/2.505, allocations: 1.477 MB / 0.6635 GB, free: 95.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/2.516, allocations: 4.488 MB / 0.6679 GB, free: 92.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007848/2.524, allocations: 219.1 kB / 0.6681 GB, free: 92.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/2.525, allocations: 378 kB / 0.6684 GB, free: 92.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 793 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.002373/2.528, allocations: 431.2 kB / 0.6689 GB, free: 92.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/2.529, allocations: 306.6 kB / 0.6691 GB, free: 92.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/2.546, allocations: 4.765 MB / 0.6738 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001555/2.546, allocations: 52.94 kB / 0.6738 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/2.546, allocations: 3.688 kB / 0.6739 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.311e-05/2.546, allocations: 11.06 kB / 0.6739 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0365/2.583, allocations: 10.61 MB / 0.6842 GB, free: 86.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-05/2.583, allocations: 10.88 kB / 0.6842 GB, free: 86.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005193/2.588, allocations: 448.3 kB / 0.6847 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004399/2.592, allocations: 0.6509 MB / 0.6853 GB, free: 86.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006982/2.593, allocations: 30.56 kB / 0.6853 GB, free: 86.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/2.598, allocations: 2.354 MB / 0.6876 GB, free: 84.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/2.598, allocations: 11.94 kB / 0.6876 GB, free: 84.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02162/2.619, allocations: 8.01 MB / 0.6955 GB, free: 77.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/2.621, allocations: 352.2 kB / 0.6958 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/2.622, allocations: 23.47 kB / 0.6958 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003843/2.626, allocations: 110.9 kB / 0.6959 GB, free: 76.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007908/2.627, allocations: 167.2 kB / 0.6961 GB, free: 76.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/2.628, allocations: 82.36 kB / 0.6962 GB, free: 76.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004194/2.632, allocations: 1.683 MB / 0.6978 GB, free: 74.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.632, allocations: 0 / 0.6978 GB, free: 74.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008423/2.64, allocations: 0.9412 MB / 0.6987 GB, free: 74.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 213 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02027/2.661, allocations: 10.93 MB / 0.7094 GB, free: 63.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0159/2.677, allocations: 5.771 MB / 0.715 GB, free: 58.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/2.677, allocations: 0 / 0.715 GB, free: 58.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008014/2.685, allocations: 2.514 MB / 0.7175 GB, free: 56.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/2.688, allocations: 308.2 kB / 0.7178 GB, free: 56.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03929/2.728, allocations: 11.29 MB / 0.7288 GB, free: 46.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008934/2.737, allocations: 3.838 MB / 0.7326 GB, free: 43.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01201/2.749, allocations: 2.276 MB / 0.7348 GB, free: 41.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005915/2.755, allocations: 2.139 MB / 0.7369 GB, free: 39.73 MB / 458.7 MB Notification: Performance of SimCode: time 2.886e-06/2.755, allocations: 0 / 0.7369 GB, free: 39.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.699/3.454, allocations: 74.62 MB / 0.8097 GB, free: 108 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002346/3.454, allocations: 149.3 kB / 0.8099 GB, free: 107.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.868/10.32, allocations: 0 / 0.8099 GB, free: 107.8 MB / 490.7 MB