Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.871e-05, allocations: 7.984 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3997, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.6047, allocations: 110 MB / 492.3 MB, free: 14.32 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.605, allocations: 75.95 kB / 492.4 MB, free: 14.25 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7184/1.323, allocations: 91.41 MB / 0.5701 GB, free: 105.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.524e-06/1.324, allocations: 0 / 0.5701 GB, free: 105.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003054/1.324, allocations: 88 kB / 0.5702 GB, free: 105.6 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01529/1.339, allocations: 4.156 MB / 0.5743 GB, free: 101.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.339, allocations: 8.031 kB / 0.5743 GB, free: 101.4 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003147/1.342, allocations: 0.8331 MB / 0.5751 GB, free: 100.6 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03234/1.375, allocations: 4.436 MB / 0.5794 GB, free: 96.15 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/1.392, allocations: 4.744 MB / 0.5841 GB, free: 91.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/1.393, allocations: 350.2 kB / 0.5844 GB, free: 91.09 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002526/1.395, allocations: 466.2 kB / 0.5848 GB, free: 90.66 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/1.424, allocations: 10.52 MB / 0.5951 GB, free: 79.16 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/1.424, allocations: 63.45 kB / 0.5952 GB, free: 79.1 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002168/1.426, allocations: 227.8 kB / 0.5954 GB, free: 78.88 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00206/1.428, allocations: 0.9877 MB / 0.5964 GB, free: 77.89 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02249/1.451, allocations: 8.275 MB / 0.6044 GB, free: 69.61 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06502/1.516, allocations: 46.98 MB / 0.6503 GB, free: 21.11 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008922/1.525, allocations: 2.916 MB / 0.6532 GB, free: 18.05 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/1.528, allocations: 1.576 MB / 0.6547 GB, free: 16.46 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/1.529, allocations: 340.1 kB / 0.655 GB, free: 16.07 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.529, allocations: 55.86 kB / 0.6551 GB, free: 16.01 MB / 458.8 MB Notification: Performance of pre-optimization done (n=176): time 6.482e-06/1.529, allocations: 4 kB / 0.6551 GB, free: 16 MB / 458.8 MB Notification: Performance of matching and sorting (n=194): time 0.0397/1.569, allocations: 11.27 MB / 0.6661 GB, free: 4.613 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/1.569, allocations: 205.2 kB / 0.6663 GB, free: 4.367 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008109/1.577, allocations: 3.371 MB / 0.6696 GB, free: 1.012 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004811/1.577, allocations: 53.7 kB / 0.6696 GB, free: 0.9531 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003564/1.581, allocations: 3.226 MB / 0.6728 GB, free: 13.68 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.582, allocations: 0.7366 MB / 0.6735 GB, free: 12.93 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000803/1.583, allocations: 123.9 kB / 0.6736 GB, free: 12.81 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005908/1.584, allocations: 0.5543 MB / 0.6742 GB, free: 12.25 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006714/1.591, allocations: 1.995 MB / 0.6761 GB, free: 10.25 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/1.605, allocations: 5.634 MB / 0.6816 GB, free: 2.777 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/1.617, allocations: 3.342 MB / 0.6849 GB, free: 15.43 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001981/1.617, allocations: 40 kB / 0.6849 GB, free: 15.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.0327/1.65, allocations: 7.282 MB / 0.692 GB, free: 8.102 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/1.65, allocations: 63.98 kB / 0.6921 GB, free: 8.039 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003273/1.651, allocations: 128.9 kB / 0.6922 GB, free: 7.914 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/1.653, allocations: 388.7 kB / 0.6926 GB, free: 7.531 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/1.667, allocations: 1.427 MB / 0.694 GB, free: 6.102 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008555/1.675, allocations: 3.003 MB / 0.6969 GB, free: 2.969 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/1.687, allocations: 352 kB / 0.6972 GB, free: 2.625 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002094/1.689, allocations: 376 kB / 0.6976 GB, free: 2.258 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (747): * Single equations (assignments): 743 * 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.002943/1.692, allocations: 0.5555 MB / 0.6981 GB, free: 1.691 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.693, allocations: 343.5 kB / 0.6985 GB, free: 1.352 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.706, allocations: 2.629 MB / 0.701 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.024e-05/1.706, allocations: 23.98 kB / 0.7011 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.706, allocations: 7.984 kB / 0.7011 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/1.706, allocations: 11.97 kB / 0.7011 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0336/1.74, allocations: 7.436 MB / 0.7083 GB, free: 7.164 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/1.74, allocations: 0 / 0.7083 GB, free: 7.164 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/1.743, allocations: 351.5 kB / 0.7087 GB, free: 6.82 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/1.744, allocations: 184.6 kB / 0.7089 GB, free: 6.637 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004911/1.745, allocations: 39.97 kB / 0.7089 GB, free: 6.598 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/1.75, allocations: 2.56 MB / 0.7114 GB, free: 3.902 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.75, allocations: 8.047 kB / 0.7114 GB, free: 3.895 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3762/2.126, allocations: 5.15 MB / 0.7164 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003531/2.13, allocations: 0.6254 MB / 0.717 GB, free: 135 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/2.132, allocations: 31.16 kB / 0.7171 GB, free: 135 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005184/2.137, allocations: 114.8 kB / 0.7172 GB, free: 135 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.138, allocations: 128.2 kB / 0.7173 GB, free: 135 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004574/2.138, allocations: 56.14 kB / 0.7174 GB, free: 135 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0102/2.149, allocations: 2.336 MB / 0.7196 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.274e-06/2.149, allocations: 1.219 kB / 0.7196 GB, free: 134.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007428/2.156, allocations: 1.001 MB / 0.7206 GB, free: 134.9 MB / 0.4949 GB 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.01548/2.172, allocations: 5.969 MB / 0.7264 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01537/2.187, allocations: 4.707 MB / 0.731 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/2.187, allocations: 2.25 kB / 0.731 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/2.192, allocations: 1.517 MB / 0.7325 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/2.196, allocations: 390.9 kB / 0.7329 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04073/2.237, allocations: 9.146 MB / 0.7418 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00984/2.247, allocations: 3.551 MB / 0.7453 GB, free: 129.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009778/2.257, allocations: 1.952 MB / 0.7472 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005154/2.262, allocations: 2.003 MB / 0.7492 GB, free: 128.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.834e-06/2.262, allocations: 0 / 0.7492 GB, free: 128.1 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1898/2.452, allocations: 74.67 MB / 0.8221 GB, free: 71.69 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/2.452, allocations: 181.6 kB / 0.8223 GB, free: 71.46 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.736/8.189, allocations: 0 / 0.8223 GB, free: 71.46 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat