Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.4 MB / 216.5 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.304e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 48.71 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.532, allocations: 94.02 MB / 410.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5323, allocations: 82.36 kB / 410.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8052/1.338, allocations: 129.7 MB / 0.5275 GB, free: 82.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.338, allocations: 0 / 0.5275 GB, free: 82.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003973/1.338, allocations: 133.1 kB / 0.5276 GB, free: 82.59 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02619/1.364, allocations: 6.424 MB / 0.5339 GB, free: 79.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.364, allocations: 13.78 kB / 0.5339 GB, free: 79.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05183/1.416, allocations: 7.137 MB / 0.5409 GB, free: 78.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0251/1.441, allocations: 7.229 MB / 0.548 GB, free: 76.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/1.442, allocations: 218.6 kB / 0.5482 GB, free: 76.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003544/1.445, allocations: 396.6 kB / 0.5485 GB, free: 76.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0233/1.469, allocations: 9.519 MB / 0.5578 GB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03673/1.505, allocations: 14.37 MB / 0.5719 GB, free: 55.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004236/1.506, allocations: 79.28 kB / 0.572 GB, free: 55.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003183/1.509, allocations: 40 kB / 0.572 GB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/1.513, allocations: 1.576 MB / 0.5735 GB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/1.616, allocations: 67.12 MB / 0.6391 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3056/1.922, allocations: 5.584 MB / 0.6445 GB, free: 91.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009199/1.931, allocations: 3.8 MB / 0.6482 GB, free: 91.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/1.932, allocations: 56.47 kB / 0.6483 GB, free: 91.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.33e-05/1.932, allocations: 68.78 kB / 0.6484 GB, free: 91.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 1.101e-05/1.932, allocations: 0 / 0.6484 GB, free: 91.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=334): time 0.1214/2.053, allocations: 29.33 MB / 0.677 GB, free: 85.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/2.053, allocations: 212.4 kB / 0.6772 GB, free: 84.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007828/2.061, allocations: 4.25 MB / 0.6814 GB, free: 83.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009707/2.062, allocations: 29.67 kB / 0.6814 GB, free: 83.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003497/2.066, allocations: 4.692 MB / 0.686 GB, free: 79.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002031/2.068, allocations: 1.205 MB / 0.6871 GB, free: 78.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008714/2.069, allocations: 0 / 0.6871 GB, free: 78.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005207/2.069, allocations: 0.6827 MB / 0.6878 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007617/2.077, allocations: 3.619 MB / 0.6913 GB, free: 76.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/2.088, allocations: 8.633 MB / 0.6998 GB, free: 68.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/2.1, allocations: 5.523 MB / 0.7052 GB, free: 67.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/2.1, allocations: 50.03 kB / 0.7052 GB, free: 67.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.03485/2.135, allocations: 12.67 MB / 0.7176 GB, free: 63.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/2.135, allocations: 80.38 kB / 0.7177 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002488/2.136, allocations: 180 kB / 0.7178 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006827/2.143, allocations: 1.697 MB / 0.7195 GB, free: 61.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/2.157, allocations: 2.169 MB / 0.7216 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/2.178, allocations: 10.77 MB / 0.7321 GB, free: 50.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/2.188, allocations: 373.9 kB / 0.7325 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00221/2.191, allocations: 0.5226 MB / 0.733 GB, free: 49.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * 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 (1091): * Single equations (assignments): 1086 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002673/2.193, allocations: 0.5508 MB / 0.7335 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01846/2.212, allocations: 7.094 MB / 0.7405 GB, free: 42.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/2.214, allocations: 485.8 kB / 0.7409 GB, free: 42.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/2.233, allocations: 7.142 MB / 0.7479 GB, free: 36.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.239e-05/2.233, allocations: 37.17 kB / 0.7479 GB, free: 36.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/2.233, allocations: 10.06 kB / 0.7479 GB, free: 36.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/2.233, allocations: 19.12 kB / 0.748 GB, free: 36.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04019/2.273, allocations: 15 MB / 0.7626 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/2.274, allocations: 4 kB / 0.7626 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00674/2.28, allocations: 0.6597 MB / 0.7633 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006292/2.287, allocations: 1.406 MB / 0.7646 GB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009946/2.288, allocations: 15.05 kB / 0.7646 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/2.306, allocations: 9.852 MB / 0.7743 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/2.306, allocations: 11.95 kB / 0.7743 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02645/2.332, allocations: 12.34 MB / 0.7863 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00399/2.336, allocations: 1.08 MB / 0.7874 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001489/2.338, allocations: 15.94 kB / 0.7874 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004893/2.343, allocations: 227.6 kB / 0.7876 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009412/2.344, allocations: 202.2 kB / 0.7878 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004363/2.344, allocations: 91.98 kB / 0.7879 GB, free: 15.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006955/2.351, allocations: 2.849 MB / 0.7907 GB, free: 13.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.035e-06/2.351, allocations: 0 / 0.7907 GB, free: 13.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01159/2.363, allocations: 1.443 MB / 0.7921 GB, free: 11.61 MB / 442.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 (280): * Single equations (assignments): 275 * 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.347/2.71, allocations: 13.72 MB / 0.8055 GB, free: 93.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02393/2.734, allocations: 9.088 MB / 0.8144 GB, free: 93.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.734, allocations: 5.656 kB / 0.8144 GB, free: 93.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009873/2.744, allocations: 3.64 MB / 0.8179 GB, free: 92.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/2.749, allocations: 493.6 kB / 0.8184 GB, free: 92.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05143/2.8, allocations: 15.12 MB / 0.8332 GB, free: 89.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01256/2.813, allocations: 4.99 MB / 0.838 GB, free: 87.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01448/2.828, allocations: 2.919 MB / 0.8409 GB, free: 87.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008445/2.836, allocations: 3.111 MB / 0.8439 GB, free: 85.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/2.836, allocations: 0 / 0.8439 GB, free: 85.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2619/3.098, allocations: 114.6 MB / 0.9558 GB, free: 15.25 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/3.098, allocations: 144.6 kB / 0.956 GB, free: 15.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/9.645, allocations: 3.938 kB / 0.956 GB, free: 15.06 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat