Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 270 MB / 283.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.3e-05, allocations: 4 kB / 348.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 61.9 MB / 410.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6068/0.7562, allocations: 105.9 MB / 0.5041 GB, free: 14.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.7565, allocations: 74.09 kB / 0.5042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042/1.798, allocations: 151.4 MB / 0.6521 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/1.798, allocations: 4 kB / 0.6521 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004768/1.799, allocations: 149.3 kB / 0.6522 GB, free: 106.9 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.03252/1.831, allocations: 7.357 MB / 0.6594 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.831, allocations: 9.188 kB / 0.6594 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006584/1.838, allocations: 1.306 MB / 0.6607 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/1.868, allocations: 3.514 MB / 0.6641 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03116/1.899, allocations: 8.777 MB / 0.6727 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007533/1.9, allocations: 0.5655 MB / 0.6732 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004362/1.904, allocations: 0.7372 MB / 0.6739 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05781/1.962, allocations: 17.41 MB / 0.691 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005698/1.963, allocations: 99.75 kB / 0.691 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004121/1.967, allocations: 358.2 kB / 0.6914 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00428/1.971, allocations: 1.618 MB / 0.693 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04386/2.015, allocations: 13.12 MB / 0.7058 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1266/2.142, allocations: 74.59 MB / 0.7786 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02765/2.17, allocations: 5.222 MB / 0.7837 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005093/2.175, allocations: 2.075 MB / 0.7858 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02971/2.205, allocations: 9.964 MB / 0.7955 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/2.205, allocations: 55.81 kB / 0.7955 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 7.073e-06/2.205, allocations: 4 kB / 0.7955 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.06746/2.272, allocations: 13.1 MB / 0.8083 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/2.272, allocations: 153.8 kB / 0.8085 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4155/2.688, allocations: 5.501 MB / 0.8139 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005415/2.689, allocations: 53.3 kB / 0.8139 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00831/2.697, allocations: 5.302 MB / 0.8191 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/2.699, allocations: 0.8221 MB / 0.8199 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/2.7, allocations: 160.9 kB / 0.82 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001547/2.702, allocations: 0.649 MB / 0.8207 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009582/2.712, allocations: 2.089 MB / 0.8227 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/2.725, allocations: 7.362 MB / 0.8299 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.737, allocations: 3.872 MB / 0.8337 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004852/2.737, allocations: 58.38 kB / 0.8337 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02768/2.765, allocations: 8.612 MB / 0.8421 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000257/2.765, allocations: 89.41 kB / 0.8422 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/2.766, allocations: 193.7 kB / 0.8424 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/2.766, allocations: 279.3 kB / 0.8427 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/2.779, allocations: 1.988 MB / 0.8446 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004161/2.779, allocations: 374.1 kB / 0.845 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/2.791, allocations: 0.5748 MB / 0.8455 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/2.793, allocations: 0.4968 MB / 0.846 GB, free: 102.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1031): * Single equations (assignments): 1028 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003472/2.797, allocations: 0.7608 MB / 0.8468 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/2.798, allocations: 0.5469 MB / 0.8473 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/2.801, allocations: 0.6466 MB / 0.8479 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.609e-05/2.801, allocations: 26.06 kB / 0.848 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/2.801, allocations: 3.438 kB / 0.848 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/2.801, allocations: 7.312 kB / 0.848 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03982/2.841, allocations: 14.97 MB / 0.8626 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000152/2.841, allocations: 45.78 kB / 0.8626 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/2.844, allocations: 437.4 kB / 0.863 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-05/2.844, allocations: 66.34 kB / 0.8631 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004662/2.845, allocations: 98.27 kB / 0.8632 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.812e-05/2.845, allocations: 88.27 kB / 0.8633 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.935e-05/2.845, allocations: 73.78 kB / 0.8634 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/2.854, allocations: 11.88 MB / 0.875 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/2.856, allocations: 0.6463 MB / 0.8756 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/2.858, allocations: 103.8 kB / 0.8757 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/2.863, allocations: 170 kB / 0.8759 GB, free: 84.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007046/2.864, allocations: 299.3 kB / 0.8761 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003443/2.864, allocations: 120.2 kB / 0.8763 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01081/2.875, allocations: 3.854 MB / 0.88 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/2.875, allocations: 0 / 0.88 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01164/2.887, allocations: 1.369 MB / 0.8814 GB, free: 82.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01099/2.898, allocations: 21.12 MB / 0.902 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01191/2.91, allocations: 4.738 MB / 0.9066 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-05/2.91, allocations: 6.938 kB / 0.9066 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/2.913, allocations: 1.091 MB / 0.9077 GB, free: 60.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007613/2.92, allocations: 0.8503 MB / 0.9085 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0518/2.972, allocations: 14.99 MB / 0.9232 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01461/2.987, allocations: 5.401 MB / 0.9284 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01333/3, allocations: 2.577 MB / 0.9309 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008005/3.008, allocations: 3.431 MB / 0.9343 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.934e-06/3.008, allocations: 4 kB / 0.9343 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6846/3.693, allocations: 109 MB / 1.041 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/3.693, allocations: 145 kB / 1.041 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/10.69, allocations: 6.844 kB / 1.041 GB, free: 121.7 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat