Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.233e-05, allocations: 5.812 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5513/0.6836, allocations: 105.5 MB / 0.5037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6839, allocations: 76.88 kB / 0.5038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4342/1.118, allocations: 94.4 MB / 0.596 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/1.118, allocations: 4 kB / 0.596 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000257/1.118, allocations: 95.92 kB / 0.5961 GB, free: 15.32 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02473/1.143, allocations: 4.411 MB / 0.6004 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.143, allocations: 8.031 kB / 0.6004 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004434/1.148, allocations: 0.8853 MB / 0.6013 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/1.176, allocations: 3.57 MB / 0.6048 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02168/1.198, allocations: 4.627 MB / 0.6093 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007573/1.199, allocations: 353.1 kB / 0.6096 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003808/1.203, allocations: 459.8 kB / 0.6101 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4022/1.605, allocations: 11.03 MB / 0.6208 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/1.605, allocations: 31.52 kB / 0.6209 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002794/1.608, allocations: 205.1 kB / 0.6211 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/1.611, allocations: 1.205 MB / 0.6222 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/1.645, allocations: 10.4 MB / 0.6324 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07752/1.723, allocations: 37.6 MB / 0.6691 GB, free: 99.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.735, allocations: 4.231 MB / 0.6732 GB, free: 97.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/1.739, allocations: 2.095 MB / 0.6753 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.741, allocations: 1.318 MB / 0.6766 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.741, allocations: 51.62 kB / 0.6766 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.812e-06/1.741, allocations: 0 / 0.6766 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.05165/1.792, allocations: 10.56 MB / 0.6869 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/1.792, allocations: 75.44 kB / 0.687 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005232/1.798, allocations: 2.569 MB / 0.6895 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005602/1.798, allocations: 60.77 kB / 0.6896 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.801, allocations: 3.031 MB / 0.6925 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.802, allocations: 0.9494 MB / 0.6935 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/1.803, allocations: 117.1 kB / 0.6936 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004249/1.803, allocations: 0.5541 MB / 0.6941 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005571/1.809, allocations: 2.266 MB / 0.6963 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00738/1.816, allocations: 5.432 MB / 0.7016 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.824, allocations: 3.57 MB / 0.7051 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.824, allocations: 38.72 kB / 0.7052 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.03009/1.854, allocations: 8.143 MB / 0.7131 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/1.855, allocations: 52 kB / 0.7132 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.855, allocations: 112 kB / 0.7133 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/1.862, allocations: 1.063 MB / 0.7143 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008631/1.87, allocations: 1.329 MB / 0.7156 GB, free: 72.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/1.874, allocations: 2.467 MB / 0.718 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/1.88, allocations: 312.3 kB / 0.7183 GB, free: 70.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.882, allocations: 336.7 kB / 0.7186 GB, free: 69.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (721): * Single equations (assignments): 712 * 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 prepare postOptimizeDAE: time 0.001804/1.884, allocations: 0.5342 MB / 0.7191 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008451/1.884, allocations: 292.2 kB / 0.7194 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.9, allocations: 4.922 MB / 0.7242 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/1.9, allocations: 51.67 kB / 0.7243 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.9, allocations: 0 / 0.7243 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.398e-05/1.9, allocations: 14.31 kB / 0.7243 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03531/1.936, allocations: 11.51 MB / 0.7355 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/1.936, allocations: 8 kB / 0.7355 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/1.94, allocations: 408.3 kB / 0.7359 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006374/1.946, allocations: 0.9099 MB / 0.7368 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006216/1.947, allocations: 56.62 kB / 0.7369 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/1.95, allocations: 2.265 MB / 0.7391 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.95, allocations: 11.94 kB / 0.7391 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.97, allocations: 7.972 MB / 0.7469 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008957/1.971, allocations: 332.2 kB / 0.7472 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007659/1.972, allocations: 51.95 kB / 0.7472 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.974, allocations: 140.5 kB / 0.7474 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/1.974, allocations: 150.8 kB / 0.7475 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/1.975, allocations: 76.72 kB / 0.7476 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003629/1.978, allocations: 1.737 MB / 0.7493 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.162e-06/1.978, allocations: 3.938 kB / 0.7493 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006373/1.985, allocations: 1.024 MB / 0.7503 GB, free: 41.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.01917/2.004, allocations: 10.57 MB / 0.7606 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01482/2.019, allocations: 5.839 MB / 0.7663 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.019, allocations: 0 / 0.7663 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007076/2.026, allocations: 2.504 MB / 0.7688 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/2.03, allocations: 460.4 kB / 0.7692 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/2.06, allocations: 10.9 MB / 0.7798 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006879/2.067, allocations: 3.672 MB / 0.7834 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008451/2.076, allocations: 2.104 MB / 0.7855 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00472/2.081, allocations: 2.007 MB / 0.7874 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of SimCode: time 1.974e-06/2.081, allocations: 0 / 0.7874 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6028/2.683, allocations: 73.2 MB / 0.8589 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/2.684, allocations: 187.6 kB / 0.8591 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.381/8.065, allocations: 0 / 0.8591 GB, free: 114.2 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat