Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 235 MB / 247.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.586e-05/4.601e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4208, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.6041, allocations: 99.76 MB / 459.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.6045, allocations: 73.47 kB / 459.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3307/0.9352, allocations: 76.34 MB / 0.5235 GB, free: 116 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9353, allocations: 0 / 0.5235 GB, free: 116 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002549/0.9355, allocations: 71.94 kB / 0.5235 GB, free: 44 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.3256/1.261, allocations: 3.581 MB / 0.527 GB, free: 104.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.261, allocations: 9.406 kB / 0.527 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003151/1.264, allocations: 0.6716 MB / 0.5277 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03494/1.299, allocations: 4.32 MB / 0.5319 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/1.319, allocations: 4.468 MB / 0.5363 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/1.319, allocations: 274.4 kB / 0.5365 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/1.321, allocations: 363.5 kB / 0.5369 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/1.347, allocations: 9.077 MB / 0.5458 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/1.347, allocations: 61.69 kB / 0.5458 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008214/1.348, allocations: 179.8 kB / 0.546 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001916/1.35, allocations: 0.8811 MB / 0.5468 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/1.372, allocations: 7.202 MB / 0.5539 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05808/1.43, allocations: 44.06 MB / 0.5969 GB, free: 67.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/1.447, allocations: 3.485 MB / 0.6003 GB, free: 65.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004461/1.452, allocations: 1.583 MB / 0.6019 GB, free: 65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02352/1.475, allocations: 7.195 MB / 0.6089 GB, free: 60.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/1.475, allocations: 46.38 kB / 0.6089 GB, free: 60.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 7.414e-06/1.475, allocations: 2.844 kB / 0.6089 GB, free: 60.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.1384/1.614, allocations: 17.06 MB / 0.6256 GB, free: 52.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/1.614, allocations: 201.2 kB / 0.6258 GB, free: 52.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006614/1.62, allocations: 3.271 MB / 0.629 GB, free: 49.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004733/1.621, allocations: 49.7 kB / 0.629 GB, free: 49.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.623, allocations: 2.825 MB / 0.6318 GB, free: 46.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.624, allocations: 0.7019 MB / 0.6325 GB, free: 46.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004929/1.625, allocations: 116 kB / 0.6326 GB, free: 45.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003316/1.625, allocations: 0.5525 MB / 0.6331 GB, free: 45.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/1.63, allocations: 1.945 MB / 0.635 GB, free: 43.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/1.637, allocations: 5.464 MB / 0.6404 GB, free: 36.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/1.644, allocations: 3.242 MB / 0.6435 GB, free: 33.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.644, allocations: 36 kB / 0.6436 GB, free: 33.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02939/1.674, allocations: 8.948 MB / 0.6523 GB, free: 26.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.674, allocations: 59.94 kB / 0.6524 GB, free: 26.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.674, allocations: 128 kB / 0.6525 GB, free: 26.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009312/1.683, allocations: 1.545 MB / 0.654 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007787/1.691, allocations: 1.275 MB / 0.6552 GB, free: 23.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/1.713, allocations: 8.948 MB / 0.664 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006476/1.719, allocations: 311.2 kB / 0.6643 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.721, allocations: 367.9 kB / 0.6646 GB, free: 13.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (691): * Single equations (assignments): 687 * 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.002061/1.723, allocations: 0.544 MB / 0.6651 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009392/1.724, allocations: 327.7 kB / 0.6655 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.74, allocations: 3.805 MB / 0.6692 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.868e-05/1.74, allocations: 23.98 kB / 0.6692 GB, free: 9.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.74, allocations: 8 kB / 0.6692 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/1.74, allocations: 7.969 kB / 0.6692 GB, free: 9.184 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/1.768, allocations: 7.99 MB / 0.677 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/1.768, allocations: 7.891 kB / 0.677 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.77, allocations: 235.7 kB / 0.6772 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008405/1.779, allocations: 1.236 MB / 0.6785 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004419/1.779, allocations: 31.98 kB / 0.6785 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/1.8, allocations: 7.282 MB / 0.6856 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.8, allocations: 4.031 kB / 0.6856 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/1.822, allocations: 6.156 MB / 0.6916 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/1.825, allocations: 0.5981 MB / 0.6922 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.826, allocations: 31.98 kB / 0.6922 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003212/1.829, allocations: 99.91 kB / 0.6923 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007185/1.83, allocations: 105.1 kB / 0.6924 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.83, allocations: 47.98 kB / 0.6925 GB, free: 1.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006516/1.837, allocations: 2.261 MB / 0.6947 GB, free: 14.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.837, allocations: 0 / 0.6947 GB, free: 14.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007161/1.844, allocations: 0.9687 MB / 0.6956 GB, free: 13.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (129): * Single equations (assignments): 125 * 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.02261/1.867, allocations: 6.994 MB / 0.7025 GB, free: 6.914 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/1.88, allocations: 4.878 MB / 0.7072 GB, free: 2.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.88, allocations: 4.188 kB / 0.7072 GB, free: 2.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.884, allocations: 1.585 MB / 0.7088 GB, free: 460 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.887, allocations: 369.4 kB / 0.7091 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3433/2.231, allocations: 7.984 MB / 0.7169 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006152/2.237, allocations: 3.033 MB / 0.7199 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008846/2.246, allocations: 1.813 MB / 0.7216 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003616/2.249, allocations: 1.64 MB / 0.7233 GB, free: 121.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/2.249, allocations: 0 / 0.7233 GB, free: 121.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1713/2.421, allocations: 74.36 MB / 0.7959 GB, free: 91.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/2.421, allocations: 173.5 kB / 0.796 GB, free: 91.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.077/7.498, allocations: 4 kB / 0.796 GB, free: 91.76 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat