Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 270 MB / 283.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.483e-05, allocations: 4 kB / 348.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4648, allocations: 61.87 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.6769, allocations: 105.3 MB / 0.5036 GB, free: 1.129 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/0.6773, allocations: 79.95 kB / 0.5037 GB, free: 1.051 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6916/1.369, allocations: 90.34 MB / 0.5919 GB, free: 49.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.369, allocations: 0 / 0.5919 GB, free: 49.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000195/1.369, allocations: 79.98 kB / 0.592 GB, free: 49.05 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.02176/1.391, allocations: 4.186 MB / 0.596 GB, free: 44.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.391, allocations: 8.031 kB / 0.5961 GB, free: 44.79 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004141/1.395, allocations: 0.8285 MB / 0.5969 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02624/1.421, allocations: 3.535 MB / 0.6003 GB, free: 40.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/1.439, allocations: 4.495 MB / 0.6047 GB, free: 35.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/1.44, allocations: 320.4 kB / 0.605 GB, free: 35.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/1.443, allocations: 431.8 kB / 0.6054 GB, free: 35.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/1.475, allocations: 10.62 MB / 0.6158 GB, free: 24.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/1.476, allocations: 31.7 kB / 0.6158 GB, free: 24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002646/1.478, allocations: 191.8 kB / 0.616 GB, free: 23.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002621/1.481, allocations: 1.192 MB / 0.6172 GB, free: 22.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02921/1.51, allocations: 10.12 MB / 0.6271 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08378/1.594, allocations: 36.47 MB / 0.6627 GB, free: 7.129 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.607, allocations: 4.225 MB / 0.6668 GB, free: 2.676 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005215/1.613, allocations: 2.092 MB / 0.6688 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/1.615, allocations: 1.323 MB / 0.6701 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.457e-05/1.615, allocations: 48.56 kB / 0.6702 GB, free: 14.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 7.925e-06/1.615, allocations: 0 / 0.6702 GB, free: 14.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.0611/1.676, allocations: 10.95 MB / 0.6809 GB, free: 4.023 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/1.676, allocations: 77.34 kB / 0.681 GB, free: 3.938 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006022/1.682, allocations: 2.444 MB / 0.6833 GB, free: 1.477 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005491/1.683, allocations: 57.7 kB / 0.6834 GB, free: 1.414 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/1.686, allocations: 2.86 MB / 0.6862 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001639/1.687, allocations: 0.9404 MB / 0.6871 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007281/1.688, allocations: 120 kB / 0.6872 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000594/1.689, allocations: 0.542 MB / 0.6877 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006147/1.695, allocations: 2.241 MB / 0.6899 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009314/1.704, allocations: 5.268 MB / 0.6951 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008875/1.713, allocations: 3.496 MB / 0.6985 GB, free: 372 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/1.713, allocations: 32 kB / 0.6985 GB, free: 340 kB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02688/1.74, allocations: 7.968 MB / 0.7063 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.741, allocations: 60 kB / 0.7064 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/1.741, allocations: 112 kB / 0.7065 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006943/1.748, allocations: 1.052 MB / 0.7075 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008709/1.756, allocations: 1.294 MB / 0.7088 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/1.761, allocations: 2.451 MB / 0.7112 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/1.767, allocations: 315.6 kB / 0.7115 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.768, allocations: 324 kB / 0.7118 GB, free: 2.602 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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 (700): * Single equations (assignments): 691 * 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.001216/1.769, allocations: 0.5132 MB / 0.7123 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006969/1.77, allocations: 284.4 kB / 0.7125 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3795/2.149, allocations: 4.908 MB / 0.7173 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/2.149, allocations: 43.28 kB / 0.7174 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.553e-05/2.149, allocations: 7.578 kB / 0.7174 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-05/2.149, allocations: 7.734 kB / 0.7174 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03396/2.183, allocations: 11.32 MB / 0.7284 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/2.183, allocations: 7.219 kB / 0.7284 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003698/2.187, allocations: 403.5 kB / 0.7288 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/2.193, allocations: 0.9065 MB / 0.7297 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006164/2.194, allocations: 69.97 kB / 0.7298 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/2.197, allocations: 2.266 MB / 0.732 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/2.198, allocations: 10.34 kB / 0.732 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/2.217, allocations: 7.936 MB / 0.7398 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008336/2.218, allocations: 324.6 kB / 0.7401 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008757/2.218, allocations: 48.62 kB / 0.7401 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/2.221, allocations: 134.4 kB / 0.7402 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/2.222, allocations: 155.2 kB / 0.7404 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/2.222, allocations: 77.52 kB / 0.7405 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003696/2.226, allocations: 1.653 MB / 0.7421 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.21e-07/2.226, allocations: 0 / 0.7421 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006359/2.232, allocations: 0.9792 MB / 0.743 GB, free: 130.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.01967/2.252, allocations: 10.54 MB / 0.7533 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01438/2.266, allocations: 5.776 MB / 0.759 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/2.266, allocations: 0 / 0.759 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007461/2.274, allocations: 2.501 MB / 0.7614 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/2.277, allocations: 407.1 kB / 0.7618 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.308, allocations: 10.52 MB / 0.7721 GB, free: 116 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006945/2.315, allocations: 3.522 MB / 0.7755 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008249/2.323, allocations: 2.046 MB / 0.7775 GB, free: 112 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00437/2.328, allocations: 1.884 MB / 0.7793 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/2.328, allocations: 3.828 kB / 0.7794 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/2.479, allocations: 69.58 MB / 0.8473 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/2.479, allocations: 178.9 kB / 0.8475 GB, free: 47.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.669/7.148, allocations: 0 / 0.8475 GB, free: 47.94 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat