Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.15e-05, allocations: 4 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.5693, allocations: 92.5 MB / 408.8 MB, free: 184 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5696, allocations: 71.94 kB / 408.9 MB, free: 152 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3421/0.9118, allocations: 74.75 MB / 483.7 MB, free: 8.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.9118, allocations: 0 / 483.7 MB, free: 8.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002353/0.9121, allocations: 75.98 kB / 483.7 MB, free: 8.324 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: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01438/0.9265, allocations: 3.577 MB / 487.3 MB, free: 4.688 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.9265, allocations: 8.031 kB / 487.3 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03227/0.9588, allocations: 4.328 MB / 491.6 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.296/1.255, allocations: 4.453 MB / 496.1 MB, free: 90.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/1.255, allocations: 115.2 kB / 496.2 MB, free: 90.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/1.256, allocations: 216.7 kB / 496.4 MB, free: 90.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01313/1.27, allocations: 5.13 MB / 0.4898 GB, free: 90.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/1.289, allocations: 8.211 MB / 0.4978 GB, free: 87.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/1.289, allocations: 60.62 kB / 0.4979 GB, free: 87.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006455/1.29, allocations: 29.88 kB / 0.4979 GB, free: 87.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/1.292, allocations: 0.8822 MB / 0.4988 GB, free: 87.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05209/1.344, allocations: 43.34 MB / 0.5411 GB, free: 57.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/1.349, allocations: 2.644 MB / 0.5437 GB, free: 55.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/1.351, allocations: 1.475 MB / 0.5451 GB, free: 55.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.352, allocations: 0.8621 MB / 0.5459 GB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/1.353, allocations: 60.64 kB / 0.546 GB, free: 54.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 5.059e-06/1.353, allocations: 0 / 0.546 GB, free: 54.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.06121/1.414, allocations: 16.52 MB / 0.5621 GB, free: 48.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/1.414, allocations: 200 kB / 0.5623 GB, free: 48.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/1.419, allocations: 2.874 MB / 0.5651 GB, free: 46.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004311/1.419, allocations: 25.7 kB / 0.5652 GB, free: 46.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.421, allocations: 2.867 MB / 0.568 GB, free: 44.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009345/1.422, allocations: 0.7162 MB / 0.5687 GB, free: 44.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/1.423, allocations: 0 / 0.5687 GB, free: 44.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003511/1.423, allocations: 0.5586 MB / 0.5692 GB, free: 43.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/1.427, allocations: 1.921 MB / 0.5711 GB, free: 42.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.433, allocations: 5.559 MB / 0.5765 GB, free: 37.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/1.44, allocations: 3.246 MB / 0.5797 GB, free: 35.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.843e-05/1.44, allocations: 38.41 kB / 0.5797 GB, free: 35.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02673/1.466, allocations: 8.419 MB / 0.5879 GB, free: 28.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.705e-05/1.467, allocations: 62.97 kB / 0.588 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/1.467, allocations: 132 kB / 0.5881 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009174/1.476, allocations: 1.542 MB / 0.5896 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008125/1.484, allocations: 1.347 MB / 0.5909 GB, free: 26.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.504, allocations: 8.681 MB / 0.5994 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/1.511, allocations: 208.6 kB / 0.5996 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.512, allocations: 375.5 kB / 0.6 GB, free: 18.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (724): * Single equations (assignments): 720 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001184/1.513, allocations: 428.9 kB / 0.6004 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01657/1.53, allocations: 4.375 MB / 0.6047 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.531, allocations: 312 kB / 0.605 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.546, allocations: 3.746 MB / 0.6086 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.569e-05/1.546, allocations: 20.86 kB / 0.6086 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.546, allocations: 11.7 kB / 0.6086 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/1.546, allocations: 6.188 kB / 0.6086 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/1.571, allocations: 7.645 MB / 0.6161 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.571, allocations: 0 / 0.6161 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.574, allocations: 254.6 kB / 0.6164 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007768/1.582, allocations: 1.211 MB / 0.6175 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/1.582, allocations: 14.73 kB / 0.6176 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/1.599, allocations: 6.871 MB / 0.6243 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.599, allocations: 7.969 kB / 0.6243 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.619, allocations: 6.226 MB / 0.6304 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/1.621, allocations: 0.5867 MB / 0.6309 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006504/1.622, allocations: 4 kB / 0.6309 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.624, allocations: 67.89 kB / 0.631 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004929/1.625, allocations: 105.2 kB / 0.6311 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.625, allocations: 52.05 kB / 0.6311 GB, free: 5.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00421/1.629, allocations: 1.915 MB / 0.633 GB, free: 3.746 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.629, allocations: 0 / 0.633 GB, free: 3.746 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006724/1.636, allocations: 0.8395 MB / 0.6338 GB, free: 2.914 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 134 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.319/1.955, allocations: 7.193 MB / 0.6409 GB, free: 94.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.967, allocations: 4.741 MB / 0.6455 GB, free: 94.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.967, allocations: 1.344 kB / 0.6455 GB, free: 94.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003514/1.97, allocations: 1.557 MB / 0.647 GB, free: 94.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/1.973, allocations: 306.6 kB / 0.6473 GB, free: 94.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.999, allocations: 7.86 MB / 0.655 GB, free: 93.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006445/2.006, allocations: 3.037 MB / 0.6579 GB, free: 92.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008797/2.015, allocations: 1.901 MB / 0.6598 GB, free: 92.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0041/2.019, allocations: 1.646 MB / 0.6614 GB, free: 92.37 MB / 426.7 MB Notification: Performance of SimCode: time 2.715e-06/2.019, allocations: 0 / 0.6614 GB, free: 92.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/2.197, allocations: 70.2 MB / 0.73 GB, free: 57.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/2.198, allocations: 135.8 kB / 0.7301 GB, free: 57.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.885/7.083, allocations: 0 / 0.7301 GB, free: 57.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat