Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.847/2.847, allocations: 270 MB / 283.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.438e-05, allocations: 4 kB / 348.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5327, allocations: 61.87 MB / 410.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.7346, allocations: 110.2 MB / 0.5084 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.7349, allocations: 75.95 kB / 0.5085 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8129/1.548, allocations: 97.87 MB / 0.604 GB, free: 37.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.548, allocations: 0 / 0.604 GB, free: 37.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003051/1.548, allocations: 91.98 kB / 0.6041 GB, free: 37.2 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.03355/1.582, allocations: 4.6 MB / 0.6086 GB, free: 32.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.906e-05/1.582, allocations: 8.031 kB / 0.6086 GB, free: 32.53 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006176/1.588, allocations: 0.9386 MB / 0.6096 GB, free: 31.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04066/1.629, allocations: 3.608 MB / 0.6131 GB, free: 27.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02716/1.656, allocations: 4.718 MB / 0.6177 GB, free: 23.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007302/1.657, allocations: 373.7 kB / 0.618 GB, free: 22.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004097/1.661, allocations: 483.9 kB / 0.6185 GB, free: 22.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05169/1.713, allocations: 11.89 MB / 0.6301 GB, free: 9.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/1.713, allocations: 31.75 kB / 0.6301 GB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002897/1.716, allocations: 219.9 kB / 0.6304 GB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00275/1.719, allocations: 1.295 MB / 0.6316 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04398/1.763, allocations: 11.04 MB / 0.6424 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.878, allocations: 41.36 MB / 0.6828 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/1.896, allocations: 4.895 MB / 0.6876 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00571/1.902, allocations: 2.35 MB / 0.6899 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/1.92, allocations: 6.808 MB / 0.6965 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.92, allocations: 52.56 kB / 0.6966 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=226): time 7.144e-06/1.92, allocations: 0 / 0.6966 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.06027/1.98, allocations: 13.54 MB / 0.7098 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/1.98, allocations: 73.41 kB / 0.7099 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007383/1.987, allocations: 2.768 MB / 0.7126 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000531/1.988, allocations: 53.7 kB / 0.7126 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003535/1.992, allocations: 3.224 MB / 0.7158 GB, free: 404 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.3854/2.377, allocations: 0.8784 MB / 0.7166 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/2.378, allocations: 118.4 kB / 0.7167 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009039/2.379, allocations: 0.5615 MB / 0.7173 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00743/2.387, allocations: 2.292 MB / 0.7195 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008815/2.395, allocations: 5.557 MB / 0.7249 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008494/2.404, allocations: 3.618 MB / 0.7285 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001401/2.404, allocations: 33.34 kB / 0.7285 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02496/2.429, allocations: 8.348 MB / 0.7367 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/2.429, allocations: 53.25 kB / 0.7367 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/2.429, allocations: 120.6 kB / 0.7368 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/2.435, allocations: 1.134 MB / 0.7379 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008385/2.444, allocations: 1.342 MB / 0.7392 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008604/2.452, allocations: 4.586 MB / 0.7437 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006877/2.459, allocations: 322.6 kB / 0.744 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/2.461, allocations: 346.2 kB / 0.7444 GB, free: 124.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (729): * Single equations (assignments): 721 * 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 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.002217/2.463, allocations: 0.5333 MB / 0.7449 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000936/2.464, allocations: 300.5 kB / 0.7452 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/2.477, allocations: 4.336 MB / 0.7494 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/2.477, allocations: 43.53 kB / 0.7494 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/2.477, allocations: 7.281 kB / 0.7495 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-05/2.477, allocations: 13.42 kB / 0.7495 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/2.507, allocations: 10.32 MB / 0.7595 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/2.507, allocations: 7.531 kB / 0.7595 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/2.51, allocations: 374.7 kB / 0.7599 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/2.514, allocations: 0.6716 MB / 0.7606 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006076/2.515, allocations: 50.52 kB / 0.7606 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/2.519, allocations: 2.411 MB / 0.763 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/2.519, allocations: 9.5 kB / 0.763 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/2.535, allocations: 7.113 MB / 0.7699 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009495/2.536, allocations: 346.7 kB / 0.7703 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008298/2.537, allocations: 42.91 kB / 0.7703 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/2.539, allocations: 135.2 kB / 0.7704 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/2.54, allocations: 132.4 kB / 0.7705 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/2.54, allocations: 69.38 kB / 0.7706 GB, free: 116 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003846/2.544, allocations: 1.869 MB / 0.7724 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/2.544, allocations: 0 / 0.7724 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006506/2.55, allocations: 1.058 MB / 0.7735 GB, free: 115.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (187): * Single equations (assignments): 178 * 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.01498/2.565, allocations: 9.085 MB / 0.7823 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01269/2.578, allocations: 5.483 MB / 0.7877 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/2.578, allocations: 0 / 0.7877 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006076/2.584, allocations: 2.348 MB / 0.79 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/2.587, allocations: 432.2 kB / 0.7904 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/2.619, allocations: 10.85 MB / 0.801 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008098/2.628, allocations: 3.781 MB / 0.8047 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008513/2.636, allocations: 2.022 MB / 0.8067 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004898/2.641, allocations: 2.075 MB / 0.8087 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/2.641, allocations: 0 / 0.8087 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/2.812, allocations: 75.21 MB / 0.8821 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/2.812, allocations: 190.7 kB / 0.8823 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.305/8.118, allocations: 4 kB / 0.8823 GB, free: 15.58 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat