Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.011/2.011, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.075e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.6005, allocations: 95.84 MB / 412.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.6009, allocations: 77.7 kB / 412.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3259/0.9268, allocations: 71.77 MB / 484 MB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9269, allocations: 0 / 484 MB, free: 8.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002439/0.9271, allocations: 79.98 kB / 484.1 MB, free: 8.113 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01736/0.9445, allocations: 4.086 MB / 488.2 MB, free: 3.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.9446, allocations: 8.031 kB / 488.2 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/0.9516, allocations: 0.7591 MB / 488.9 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009299/0.961, allocations: 2.568 MB / 491.5 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.9613, allocations: 136 kB / 491.6 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/0.9632, allocations: 247.9 kB / 491.9 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3294/1.293, allocations: 6.132 MB / 498 MB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/1.319, allocations: 7.798 MB / 0.494 GB, free: 90.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/1.319, allocations: 19.25 kB / 0.494 GB, free: 90.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/1.321, allocations: 13.02 kB / 0.494 GB, free: 90.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003742/1.324, allocations: 0.8565 MB / 0.4948 GB, free: 90.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07792/1.402, allocations: 30.24 MB / 0.5244 GB, free: 75.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/1.406, allocations: 1.941 MB / 0.5263 GB, free: 74.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/1.41, allocations: 1.45 MB / 0.5277 GB, free: 74.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01649/1.427, allocations: 8.584 MB / 0.5361 GB, free: 68.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/1.427, allocations: 42.25 kB / 0.5361 GB, free: 68.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 4.278e-06/1.427, allocations: 0 / 0.5361 GB, free: 68.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.02733/1.454, allocations: 8.049 MB / 0.544 GB, free: 65.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.454, allocations: 118.2 kB / 0.5441 GB, free: 65.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/1.459, allocations: 2.168 MB / 0.5462 GB, free: 64.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002784/1.459, allocations: 25.7 kB / 0.5462 GB, free: 64.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/1.461, allocations: 2.589 MB / 0.5487 GB, free: 62.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/1.461, allocations: 392.7 kB / 0.5491 GB, free: 62.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/1.462, allocations: 0 / 0.5491 GB, free: 62.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/1.462, allocations: 483.9 kB / 0.5496 GB, free: 62.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/1.465, allocations: 1.29 MB / 0.5508 GB, free: 61.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/1.47, allocations: 3.724 MB / 0.5545 GB, free: 57.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/1.476, allocations: 2.247 MB / 0.5567 GB, free: 56.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.504e-05/1.476, allocations: 29.62 kB / 0.5567 GB, free: 56.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.0142/1.491, allocations: 4.673 MB / 0.5613 GB, free: 55.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/1.491, allocations: 47.03 kB / 0.5613 GB, free: 55.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.491, allocations: 87 kB / 0.5614 GB, free: 55.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/1.491, allocations: 127.3 kB / 0.5615 GB, free: 55.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006517/1.498, allocations: 1.019 MB / 0.5625 GB, free: 55.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001452/1.498, allocations: 174.7 kB / 0.5627 GB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/1.503, allocations: 168 kB / 0.5628 GB, free: 55.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008834/1.504, allocations: 256.1 kB / 0.5631 GB, free: 54.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (534): * Single equations (assignments): 533 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009166/1.505, allocations: 343.8 kB / 0.5634 GB, free: 54.63 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003297/1.508, allocations: 1.536 MB / 0.5649 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/1.509, allocations: 213 kB / 0.5651 GB, free: 53.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/1.512, allocations: 1.707 MB / 0.5668 GB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.512, allocations: 11.14 kB / 0.5668 GB, free: 51.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.512, allocations: 7.953 kB / 0.5668 GB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/1.512, allocations: 6.844 kB / 0.5668 GB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.525, allocations: 5.587 MB / 0.5723 GB, free: 46.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.525, allocations: 16 kB / 0.5723 GB, free: 46.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/1.527, allocations: 265.8 kB / 0.5725 GB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.531e-05/1.527, allocations: 24 kB / 0.5725 GB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.527, allocations: 24 kB / 0.5726 GB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-05/1.527, allocations: 35.06 kB / 0.5726 GB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-05/1.527, allocations: 27.88 kB / 0.5726 GB, free: 46.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/1.531, allocations: 3.514 MB / 0.5761 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009332/1.532, allocations: 324.7 kB / 0.5764 GB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007158/1.533, allocations: 27.52 kB / 0.5764 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.535, allocations: 49.06 kB / 0.5764 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1.535, allocations: 140.6 kB / 0.5766 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/1.535, allocations: 59.44 kB / 0.5766 GB, free: 41.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003024/1.538, allocations: 1.428 MB / 0.578 GB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.538, allocations: 0 / 0.578 GB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005508/1.544, allocations: 0.657 MB / 0.5787 GB, free: 39.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005462/1.549, allocations: 8.587 MB / 0.5871 GB, free: 30.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006232/1.555, allocations: 2.855 MB / 0.5898 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/1.556, allocations: 0 / 0.5898 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.557, allocations: 0.7701 MB / 0.5906 GB, free: 27.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/1.559, allocations: 221.9 kB / 0.5908 GB, free: 27.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.581, allocations: 7.22 MB / 0.5979 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006851/1.588, allocations: 3.018 MB / 0.6008 GB, free: 18.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005375/1.594, allocations: 1.027 MB / 0.6018 GB, free: 17.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00376/1.598, allocations: 1.575 MB / 0.6033 GB, free: 16.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/1.598, allocations: 0 / 0.6033 GB, free: 16.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4907/2.088, allocations: 50.32 MB / 0.6525 GB, free: 92.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/2.089, allocations: 135.4 kB / 0.6526 GB, free: 92.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.17/6.258, allocations: 4 kB / 0.6526 GB, free: 92.39 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat