Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 235.1 MB / 242.2 MB, free: 15.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.774e-05, allocations: 4 kB / 299.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4696, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.6571, allocations: 103.1 MB / 457.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.6574, allocations: 75.97 kB / 457.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6729/1.33, allocations: 89.11 MB / 0.5338 GB, free: 93.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.527e-06/1.33, allocations: 4 kB / 0.5338 GB, free: 93.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000239/1.331, allocations: 84 kB / 0.5339 GB, free: 93.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01536/1.346, allocations: 4.155 MB / 0.538 GB, free: 89.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.346, allocations: 11.97 kB / 0.538 GB, free: 89.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03193/1.378, allocations: 4.432 MB / 0.5423 GB, free: 85.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/1.395, allocations: 4.73 MB / 0.5469 GB, free: 80.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/1.395, allocations: 152.7 kB / 0.5471 GB, free: 80.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/1.398, allocations: 275.9 kB / 0.5473 GB, free: 80.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/1.414, allocations: 6.304 MB / 0.5535 GB, free: 73.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/1.44, allocations: 9.715 MB / 0.563 GB, free: 62.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/1.441, allocations: 55.47 kB / 0.563 GB, free: 62.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/1.443, allocations: 32 kB / 0.5631 GB, free: 62.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/1.445, allocations: 0.9912 MB / 0.564 GB, free: 61.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06458/1.51, allocations: 44.74 MB / 0.6077 GB, free: 16.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/1.515, allocations: 2.704 MB / 0.6104 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/1.518, allocations: 1.546 MB / 0.6119 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/1.519, allocations: 335.2 kB / 0.6122 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.519, allocations: 51.88 kB / 0.6122 GB, free: 11.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.592e-06/1.519, allocations: 0 / 0.6122 GB, free: 11.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.0367/1.556, allocations: 12.36 MB / 0.6243 GB, free: 14.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.556, allocations: 201.2 kB / 0.6245 GB, free: 14.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007846/1.564, allocations: 2.967 MB / 0.6274 GB, free: 11.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.564, allocations: 25.7 kB / 0.6274 GB, free: 11.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003645/1.568, allocations: 3.288 MB / 0.6306 GB, free: 8.223 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.569, allocations: 0.7209 MB / 0.6314 GB, free: 7.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006867/1.57, allocations: 0 / 0.6314 GB, free: 7.492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005318/1.57, allocations: 0.5744 MB / 0.6319 GB, free: 6.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005135/1.576, allocations: 1.929 MB / 0.6338 GB, free: 4.973 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009709/1.585, allocations: 5.763 MB / 0.6394 GB, free: 13.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008798/1.594, allocations: 3.307 MB / 0.6427 GB, free: 9.961 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.594, allocations: 40 kB / 0.6427 GB, free: 9.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.02164/1.616, allocations: 7.026 MB / 0.6496 GB, free: 2.887 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.616, allocations: 62.81 kB / 0.6496 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/1.616, allocations: 140 kB / 0.6497 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/1.618, allocations: 396.5 kB / 0.6501 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00984/1.628, allocations: 1.493 MB / 0.6516 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/1.634, allocations: 2.908 MB / 0.6544 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/1.646, allocations: 231.9 kB / 0.6546 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/1.648, allocations: 387.9 kB / 0.655 GB, free: 13.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (780): * Single equations (assignments): 776 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002085/1.65, allocations: 441.3 kB / 0.6554 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008525/1.658, allocations: 2.779 MB / 0.6581 GB, free: 9.941 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.66, allocations: 319.8 kB / 0.6585 GB, free: 9.625 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007789/1.667, allocations: 2.485 MB / 0.6609 GB, free: 7.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/1.667, allocations: 20 kB / 0.6609 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.668, allocations: 4 kB / 0.6609 GB, free: 7.105 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-05/1.668, allocations: 7.969 kB / 0.6609 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/1.689, allocations: 6.535 MB / 0.6673 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.689, allocations: 0 / 0.6673 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.692, allocations: 347.5 kB / 0.6676 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.694, allocations: 184.6 kB / 0.6678 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003769/1.694, allocations: 19.98 kB / 0.6678 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3314/2.025, allocations: 2.436 MB / 0.6702 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/2.025, allocations: 1.25 kB / 0.6702 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/2.038, allocations: 5.005 MB / 0.6751 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/2.041, allocations: 0.5968 MB / 0.6757 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/2.042, allocations: 6.516 kB / 0.6757 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/2.045, allocations: 88.98 kB / 0.6758 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/2.046, allocations: 132.3 kB / 0.6759 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/2.046, allocations: 52.56 kB / 0.6759 GB, free: 123 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005459/2.052, allocations: 1.967 MB / 0.6779 GB, free: 122.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.52e-07/2.052, allocations: 1.094 kB / 0.6779 GB, free: 122.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007575/2.059, allocations: 0.8491 MB / 0.6787 GB, free: 122.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/2.071, allocations: 5.799 MB / 0.6844 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01067/2.082, allocations: 4.666 MB / 0.6889 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/2.082, allocations: 0 / 0.6889 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003385/2.085, allocations: 1.488 MB / 0.6904 GB, free: 121.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/2.089, allocations: 312.3 kB / 0.6907 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/2.122, allocations: 8.915 MB / 0.6994 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/2.132, allocations: 3.539 MB / 0.7028 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009656/2.142, allocations: 2.011 MB / 0.7048 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005199/2.147, allocations: 1.983 MB / 0.7067 GB, free: 115.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.333e-06/2.147, allocations: 0 / 0.7067 GB, free: 115.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/2.331, allocations: 69.7 MB / 0.7748 GB, free: 61.29 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/2.331, allocations: 146 kB / 0.7749 GB, free: 61.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.294/7.626, allocations: 0 / 0.7749 GB, free: 61.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat