Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.558e-05, allocations: 4.938 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 54.85 MB / 359.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.6095, allocations: 101.3 MB / 461.1 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.6099, allocations: 80.73 kB / 461.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8506/1.461, allocations: 133 MB / 0.5802 GB, free: 98.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.726e-06/1.461, allocations: 0 / 0.5802 GB, free: 98.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003937/1.461, allocations: 134.2 kB / 0.5804 GB, free: 98.32 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02654/1.488, allocations: 6.423 MB / 0.5866 GB, free: 95.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.488, allocations: 15.12 kB / 0.5867 GB, free: 95.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005579/1.493, allocations: 1.2 MB / 0.5878 GB, free: 94.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05284/1.546, allocations: 7.135 MB / 0.5948 GB, free: 91.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02585/1.572, allocations: 7.228 MB / 0.6019 GB, free: 87.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005996/1.573, allocations: 0.5091 MB / 0.6024 GB, free: 86.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/1.577, allocations: 0.66 MB / 0.603 GB, free: 86.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05195/1.629, allocations: 16.61 MB / 0.6192 GB, free: 68.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004749/1.629, allocations: 87.19 kB / 0.6193 GB, free: 68.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003536/1.633, allocations: 319.8 kB / 0.6196 GB, free: 67.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0034/1.636, allocations: 1.558 MB / 0.6211 GB, free: 66.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04394/1.68, allocations: 13.77 MB / 0.6346 GB, free: 52.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4603/2.14, allocations: 70.14 MB / 0.7031 GB, free: 92.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03642/2.177, allocations: 7.838 MB / 0.7107 GB, free: 91.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008578/2.185, allocations: 3.887 MB / 0.7145 GB, free: 91.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/2.186, allocations: 58.3 kB / 0.7146 GB, free: 91.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/2.186, allocations: 68.25 kB / 0.7146 GB, free: 91.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 8.005e-06/2.186, allocations: 2.031 kB / 0.7146 GB, free: 91.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.132/2.318, allocations: 28.24 MB / 0.7422 GB, free: 87.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/2.318, allocations: 216.5 kB / 0.7424 GB, free: 87.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.333, allocations: 5.561 MB / 0.7479 GB, free: 86.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001063/2.334, allocations: 77.48 kB / 0.7479 GB, free: 86.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004629/2.338, allocations: 4.604 MB / 0.7524 GB, free: 84.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002319/2.341, allocations: 1.233 MB / 0.7536 GB, free: 83.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/2.342, allocations: 170.5 kB / 0.7538 GB, free: 83.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009348/2.343, allocations: 0.671 MB / 0.7545 GB, free: 82.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00995/2.353, allocations: 3.709 MB / 0.7581 GB, free: 81.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/2.366, allocations: 8.521 MB / 0.7664 GB, free: 73.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/2.379, allocations: 5.557 MB / 0.7718 GB, free: 71.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002438/2.38, allocations: 48 kB / 0.7719 GB, free: 71.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03893/2.419, allocations: 13.58 MB / 0.7851 GB, free: 67.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/2.419, allocations: 80 kB / 0.7852 GB, free: 66.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/2.419, allocations: 168 kB / 0.7854 GB, free: 66.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007236/2.426, allocations: 1.688 MB / 0.787 GB, free: 65.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01519/2.442, allocations: 2.083 MB / 0.7891 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/2.463, allocations: 11.36 MB / 0.8001 GB, free: 53.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.475, allocations: 0.53 MB / 0.8007 GB, free: 53.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002282/2.477, allocations: 0.4971 MB / 0.8011 GB, free: 52.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1042 * Array equations: 3 * 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: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002794/2.48, allocations: 0.7469 MB / 0.8019 GB, free: 51.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/2.481, allocations: 0.5523 MB / 0.8024 GB, free: 51.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/2.503, allocations: 7.43 MB / 0.8097 GB, free: 45.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-05/2.503, allocations: 37.3 kB / 0.8097 GB, free: 45.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/2.503, allocations: 8 kB / 0.8097 GB, free: 45.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/2.503, allocations: 21.95 kB / 0.8097 GB, free: 45.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04938/2.552, allocations: 16.27 MB / 0.8256 GB, free: 31.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-05/2.552, allocations: 8.062 kB / 0.8256 GB, free: 31.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006907/2.559, allocations: 0.6479 MB / 0.8263 GB, free: 30.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006437/2.566, allocations: 1.416 MB / 0.8276 GB, free: 29.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008661/2.567, allocations: 63.98 kB / 0.8277 GB, free: 29.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/2.588, allocations: 10.59 MB / 0.838 GB, free: 18.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/2.588, allocations: 7.938 kB / 0.8381 GB, free: 18.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03015/2.618, allocations: 12.71 MB / 0.8505 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005033/2.623, allocations: 1.203 MB / 0.8516 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/2.625, allocations: 56 kB / 0.8517 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006392/2.631, allocations: 271.6 kB / 0.852 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/2.633, allocations: 201.8 kB / 0.8521 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004523/2.633, allocations: 99.92 kB / 0.8522 GB, free: 3.684 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01011/2.643, allocations: 3.937 MB / 0.8561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.643, allocations: 0 / 0.8561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01205/2.656, allocations: 1.666 MB / 0.8577 GB, free: 14.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * 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: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03697/2.693, allocations: 14.07 MB / 0.8715 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02465/2.717, allocations: 9.173 MB / 0.8804 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.717, allocations: 0 / 0.8804 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3513/3.069, allocations: 3.797 MB / 0.8841 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006459/3.075, allocations: 0.6697 MB / 0.8848 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05852/3.134, allocations: 15.59 MB / 0.9 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/3.147, allocations: 4.988 MB / 0.9049 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01434/3.161, allocations: 2.925 MB / 0.9077 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008745/3.17, allocations: 3.162 MB / 0.9108 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/3.17, allocations: 0 / 0.9108 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2888/3.459, allocations: 128.9 MB / 1.037 GB, free: 32.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/3.459, allocations: 185.7 kB / 1.037 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/11.28, allocations: 0 / 1.037 GB, free: 32.32 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat