Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.453e-05, allocations: 8 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.409, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.602, allocations: 101.6 MB / 461.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.6023, allocations: 75.97 kB / 461.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7421/1.344, allocations: 97.49 MB / 0.5459 GB, free: 104.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.344, allocations: 1.469 kB / 0.546 GB, free: 104.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000273/1.345, allocations: 92.06 kB / 0.546 GB, free: 104.9 MB / 458.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.02624/1.371, allocations: 4.642 MB / 0.5506 GB, free: 103 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.371, allocations: 11.47 kB / 0.5506 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004808/1.376, allocations: 0.9455 MB / 0.5515 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02729/1.403, allocations: 3.612 MB / 0.555 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01966/1.423, allocations: 4.89 MB / 0.5598 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/1.423, allocations: 378.8 kB / 0.5602 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003196/1.427, allocations: 496 kB / 0.5606 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/1.464, allocations: 12.05 MB / 0.5724 GB, free: 98.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002974/1.465, allocations: 42.34 kB / 0.5724 GB, free: 98.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/1.467, allocations: 218.8 kB / 0.5727 GB, free: 98.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/1.47, allocations: 1.323 MB / 0.5739 GB, free: 98.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03396/1.504, allocations: 11.21 MB / 0.5849 GB, free: 94.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/1.624, allocations: 41.89 MB / 0.6258 GB, free: 60.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/1.648, allocations: 4.895 MB / 0.6306 GB, free: 55.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007775/1.656, allocations: 2.358 MB / 0.6329 GB, free: 52.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01856/1.674, allocations: 6.552 MB / 0.6393 GB, free: 45.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/1.675, allocations: 56.52 kB / 0.6393 GB, free: 45.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=228): time 6.603e-06/1.675, allocations: 0 / 0.6393 GB, free: 45.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.05499/1.73, allocations: 13.6 MB / 0.6526 GB, free: 32.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/1.73, allocations: 73.34 kB / 0.6527 GB, free: 32.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006296/1.736, allocations: 2.82 MB / 0.6555 GB, free: 29.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006398/1.737, allocations: 53.7 kB / 0.6555 GB, free: 29.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.739, allocations: 3.272 MB / 0.6587 GB, free: 25.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/1.74, allocations: 0.8902 MB / 0.6596 GB, free: 25.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/1.741, allocations: 119.9 kB / 0.6597 GB, free: 24.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003806/1.741, allocations: 0.5624 MB / 0.6602 GB, free: 24.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005309/1.747, allocations: 2.335 MB / 0.6625 GB, free: 22.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007933/1.755, allocations: 5.653 MB / 0.668 GB, free: 14.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007722/1.762, allocations: 3.671 MB / 0.6716 GB, free: 11.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.668e-05/1.763, allocations: 35.95 kB / 0.6717 GB, free: 11.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02403/1.787, allocations: 8.505 MB / 0.68 GB, free: 2.535 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.082e-05/1.787, allocations: 57.72 kB / 0.68 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/1.787, allocations: 120 kB / 0.6801 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006209/1.793, allocations: 1.157 MB / 0.6813 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008731/1.802, allocations: 1.376 MB / 0.6826 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/1.812, allocations: 4.588 MB / 0.6871 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/1.819, allocations: 323.7 kB / 0.6874 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/1.821, allocations: 352 kB / 0.6877 GB, free: 10.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * 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 (742): * Single equations (assignments): 734 * 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.002005/1.823, allocations: 0.5417 MB / 0.6883 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000891/1.824, allocations: 300.1 kB / 0.6885 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01839/1.842, allocations: 4.398 MB / 0.6928 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001452/1.843, allocations: 47.94 kB / 0.6929 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/1.843, allocations: 4 kB / 0.6929 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.734e-05/1.843, allocations: 11.91 kB / 0.6929 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4235/2.266, allocations: 10.38 MB / 0.703 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.153e-05/2.266, allocations: 5.562 kB / 0.703 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003899/2.27, allocations: 390.8 kB / 0.7034 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003834/2.274, allocations: 0.6662 MB / 0.7041 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006156/2.275, allocations: 47.88 kB / 0.7041 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004475/2.279, allocations: 2.414 MB / 0.7065 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/2.279, allocations: 7.656 kB / 0.7065 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/2.298, allocations: 7.125 MB / 0.7134 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/2.3, allocations: 353 kB / 0.7138 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.301, allocations: 43.78 kB / 0.7138 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/2.304, allocations: 140.9 kB / 0.7139 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006923/2.304, allocations: 127.8 kB / 0.7141 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/2.305, allocations: 67.23 kB / 0.7141 GB, free: 103.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005493/2.31, allocations: 1.903 MB / 0.716 GB, free: 103.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.31, allocations: 2.25 kB / 0.716 GB, free: 103.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007193/2.317, allocations: 1.069 MB / 0.717 GB, free: 103.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (191): * Single equations (assignments): 182 * 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.0168/2.334, allocations: 8.907 MB / 0.7257 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01357/2.348, allocations: 5.554 MB / 0.7312 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/2.348, allocations: 0 / 0.7312 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00669/2.355, allocations: 2.381 MB / 0.7335 GB, free: 99.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/2.359, allocations: 414.9 kB / 0.7339 GB, free: 99.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/2.393, allocations: 11.04 MB / 0.7447 GB, free: 95.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008335/2.401, allocations: 3.829 MB / 0.7484 GB, free: 93.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009005/2.41, allocations: 2.048 MB / 0.7504 GB, free: 93.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005203/2.416, allocations: 2.118 MB / 0.7525 GB, free: 92.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/2.416, allocations: 0 / 0.7525 GB, free: 92.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/2.582, allocations: 76.19 MB / 0.8269 GB, free: 35.72 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/2.583, allocations: 198.3 kB / 0.8271 GB, free: 35.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.094/7.677, allocations: 0 / 0.8271 GB, free: 35.48 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat