Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.624/2.624, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.366e-05, allocations: 7.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.6168, allocations: 109 MB / 491.3 MB, free: 15.46 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.6172, allocations: 75.97 kB / 491.4 MB, free: 15.39 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7978/1.415, allocations: 98.98 MB / 0.5765 GB, free: 99.43 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.094e-06/1.415, allocations: 0 / 0.5765 GB, free: 99.43 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000289/1.415, allocations: 95.36 kB / 0.5766 GB, free: 99.34 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.03222/1.448, allocations: 4.69 MB / 0.5812 GB, free: 94.62 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/1.448, allocations: 11.97 kB / 0.5812 GB, free: 94.61 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006331/1.454, allocations: 0.9532 MB / 0.5821 GB, free: 93.68 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03741/1.491, allocations: 3.634 MB / 0.5857 GB, free: 90.03 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/1.511, allocations: 4.916 MB / 0.5905 GB, free: 85.12 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/1.511, allocations: 379.2 kB / 0.5909 GB, free: 84.78 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003261/1.514, allocations: 0.4952 MB / 0.5913 GB, free: 84.32 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03719/1.552, allocations: 12.18 MB / 0.6032 GB, free: 71.61 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/1.552, allocations: 35.66 kB / 0.6033 GB, free: 71.57 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00278/1.555, allocations: 227.8 kB / 0.6035 GB, free: 71.35 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/1.558, allocations: 1.338 MB / 0.6048 GB, free: 70.01 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03274/1.59, allocations: 11.32 MB / 0.6158 GB, free: 58.68 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08446/1.675, allocations: 42.31 MB / 0.6572 GB, free: 15.32 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/1.691, allocations: 5.019 MB / 0.6621 GB, free: 10.08 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005092/1.696, allocations: 2.386 MB / 0.6644 GB, free: 7.684 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01671/1.713, allocations: 6.921 MB / 0.6712 GB, free: 400 kB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/1.713, allocations: 48.56 kB / 0.6712 GB, free: 340 kB / 458.8 MB Notification: Performance of pre-optimization done (n=235): time 5.661e-06/1.713, allocations: 0 / 0.6712 GB, free: 340 kB / 458.8 MB Notification: Performance of matching and sorting (n=244): time 0.06357/1.777, allocations: 13.83 MB / 0.6847 GB, free: 2.422 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/1.777, allocations: 73.41 kB / 0.6848 GB, free: 2.336 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006763/1.784, allocations: 2.846 MB / 0.6876 GB, free: 15.48 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005646/1.784, allocations: 61.69 kB / 0.6876 GB, free: 15.41 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003509/1.788, allocations: 3.297 MB / 0.6908 GB, free: 12.07 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.79, allocations: 0.9136 MB / 0.6917 GB, free: 11.14 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007552/1.79, allocations: 124 kB / 0.6918 GB, free: 11.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005786/1.791, allocations: 0.5703 MB / 0.6924 GB, free: 10.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/1.797, allocations: 2.351 MB / 0.6947 GB, free: 8.086 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.807, allocations: 5.692 MB / 0.7003 GB, free: 0.7188 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009626/1.817, allocations: 3.703 MB / 0.7039 GB, free: 13 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/1.817, allocations: 32 kB / 0.7039 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of matching and sorting (n=812) (initialization): time 0.02841/1.846, allocations: 8.533 MB / 0.7122 GB, free: 4.422 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.846, allocations: 56 kB / 0.7123 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/1.846, allocations: 120 kB / 0.7124 GB, free: 4.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006504/1.853, allocations: 1.141 MB / 0.7135 GB, free: 3.102 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009648/1.862, allocations: 1.396 MB / 0.7149 GB, free: 1.703 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3629/2.225, allocations: 4.573 MB / 0.7193 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/2.232, allocations: 331.6 kB / 0.7197 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/2.233, allocations: 356.9 kB / 0.72 GB, free: 128.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (751): * Single equations (assignments): 743 * 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.00217/2.236, allocations: 0.5437 MB / 0.7205 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008285/2.237, allocations: 311.4 kB / 0.7208 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/2.249, allocations: 4.43 MB / 0.7252 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/2.249, allocations: 50.17 kB / 0.7252 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/2.249, allocations: 3.969 kB / 0.7252 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-05/2.249, allocations: 9.984 kB / 0.7252 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02994/2.279, allocations: 10.56 MB / 0.7355 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/2.279, allocations: 3.938 kB / 0.7355 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003711/2.283, allocations: 401.5 kB / 0.7359 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/2.287, allocations: 0.6701 MB / 0.7366 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005011/2.287, allocations: 51.64 kB / 0.7366 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/2.291, allocations: 2.422 MB / 0.739 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.291, allocations: 10.59 kB / 0.739 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01547/2.306, allocations: 7.262 MB / 0.7461 GB, free: 124.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/2.308, allocations: 357.9 kB / 0.7464 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007926/2.308, allocations: 46.25 kB / 0.7465 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/2.311, allocations: 142.2 kB / 0.7466 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/2.311, allocations: 138.1 kB / 0.7467 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/2.312, allocations: 71.84 kB / 0.7468 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004264/2.316, allocations: 1.921 MB / 0.7487 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.81e-07/2.316, allocations: 3.188 kB / 0.7487 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006713/2.323, allocations: 1.088 MB / 0.7498 GB, free: 123.8 MB / 0.4949 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 (197): * Single equations (assignments): 188 * 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.01637/2.339, allocations: 9.227 MB / 0.7588 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01408/2.353, allocations: 5.612 MB / 0.7642 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/2.353, allocations: 2.094 kB / 0.7642 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007117/2.36, allocations: 2.399 MB / 0.7666 GB, free: 116.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/2.364, allocations: 430.7 kB / 0.767 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/2.4, allocations: 11.16 MB / 0.7779 GB, free: 109.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00864/2.409, allocations: 3.856 MB / 0.7817 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009636/2.419, allocations: 2.059 MB / 0.7837 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005335/2.424, allocations: 2.145 MB / 0.7858 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.733e-06/2.424, allocations: 0 / 0.7858 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2492/2.673, allocations: 77.01 MB / 0.861 GB, free: 33.75 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/2.674, allocations: 194.4 kB / 0.8612 GB, free: 33.52 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.15/7.823, allocations: 9.844 kB / 0.8612 GB, free: 33.51 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat