Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270.1 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.175e-05, allocations: 4 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.6549, allocations: 105.5 MB / 0.5037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.6553, allocations: 80.64 kB / 0.5038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.442/1.097, allocations: 94.4 MB / 0.596 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/1.097, allocations: 4 kB / 0.596 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002616/1.098, allocations: 91.94 kB / 0.5961 GB, free: 15.28 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.02455/1.122, allocations: 4.411 MB / 0.6004 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.62e-05/1.122, allocations: 8.031 kB / 0.6004 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005258/1.128, allocations: 0.8815 MB / 0.6013 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/1.156, allocations: 3.566 MB / 0.6048 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/1.176, allocations: 4.635 MB / 0.6093 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005323/1.177, allocations: 349 kB / 0.6096 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/1.18, allocations: 467.8 kB / 0.6101 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.38/1.56, allocations: 11.04 MB / 0.6208 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002546/1.56, allocations: 26.77 kB / 0.6209 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/1.562, allocations: 207.5 kB / 0.6211 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/1.565, allocations: 1.201 MB / 0.6222 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03931/1.604, allocations: 10.41 MB / 0.6324 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08678/1.691, allocations: 37.6 MB / 0.6691 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/1.703, allocations: 4.222 MB / 0.6732 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004228/1.707, allocations: 2.092 MB / 0.6753 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/1.708, allocations: 1.321 MB / 0.6766 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.708, allocations: 52.41 kB / 0.6766 GB, free: 96.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.582e-06/1.709, allocations: 0 / 0.6766 GB, free: 96.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.05221/1.761, allocations: 10.58 MB / 0.687 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/1.761, allocations: 77.84 kB / 0.687 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005635/1.767, allocations: 2.557 MB / 0.6895 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005458/1.767, allocations: 61.17 kB / 0.6896 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.769, allocations: 3.032 MB / 0.6925 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.771, allocations: 0.9469 MB / 0.6935 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006771/1.771, allocations: 115.8 kB / 0.6936 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004807/1.772, allocations: 0.5606 MB / 0.6941 GB, free: 88.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005278/1.777, allocations: 2.265 MB / 0.6963 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007395/1.785, allocations: 5.436 MB / 0.7016 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/1.792, allocations: 3.564 MB / 0.7051 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/1.792, allocations: 30.94 kB / 0.7052 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.02452/1.817, allocations: 8.139 MB / 0.7131 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.817, allocations: 60.25 kB / 0.7132 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.817, allocations: 115.9 kB / 0.7133 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006641/1.824, allocations: 1.062 MB / 0.7143 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008566/1.833, allocations: 1.331 MB / 0.7156 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/1.837, allocations: 2.458 MB / 0.718 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/1.843, allocations: 307.8 kB / 0.7183 GB, free: 71.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/1.844, allocations: 342.9 kB / 0.7186 GB, free: 70.77 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.001729/1.846, allocations: 0.5343 MB / 0.7192 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006907/1.846, allocations: 292.2 kB / 0.7194 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.861, allocations: 4.932 MB / 0.7243 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/1.861, allocations: 45.09 kB / 0.7243 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.861, allocations: 3.812 kB / 0.7243 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.867e-05/1.862, allocations: 10.59 kB / 0.7243 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03227/1.894, allocations: 11.49 MB / 0.7355 GB, free: 56.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/1.894, allocations: 12.03 kB / 0.7355 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/1.898, allocations: 415.9 kB / 0.7359 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006084/1.904, allocations: 0.904 MB / 0.7368 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005842/1.904, allocations: 59.94 kB / 0.7369 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/1.908, allocations: 2.268 MB / 0.7391 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/1.908, allocations: 11.94 kB / 0.7391 GB, free: 53.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.927, allocations: 7.973 MB / 0.7469 GB, free: 45.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/1.928, allocations: 332.7 kB / 0.7472 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.929, allocations: 56.5 kB / 0.7473 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.932, allocations: 134.2 kB / 0.7474 GB, free: 45.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000659/1.933, allocations: 154.3 kB / 0.7475 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.933, allocations: 72.42 kB / 0.7476 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004016/1.937, allocations: 1.741 MB / 0.7493 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.082e-06/1.937, allocations: 0 / 0.7493 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006808/1.944, allocations: 1.023 MB / 0.7503 GB, free: 42.54 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.01992/1.964, allocations: 10.56 MB / 0.7606 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.979, allocations: 5.843 MB / 0.7663 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.979, allocations: 0 / 0.7663 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/1.986, allocations: 2.504 MB / 0.7688 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/1.99, allocations: 459.6 kB / 0.7692 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/2.022, allocations: 10.9 MB / 0.7799 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00851/2.031, allocations: 3.676 MB / 0.7834 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00929/2.04, allocations: 2.101 MB / 0.7855 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004817/2.045, allocations: 2.007 MB / 0.7875 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of SimCode: time 1.934e-06/2.045, allocations: 0 / 0.7875 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5517/2.597, allocations: 73.19 MB / 0.8589 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/2.597, allocations: 190.1 kB / 0.8591 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.944/7.541, allocations: 4 kB / 0.8591 GB, free: 114.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat