Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.213e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3569, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.545, allocations: 99.09 MB / 453.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.5453, allocations: 71.97 kB / 453.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6606/1.206, allocations: 74.82 MB / 0.516 GB, free: 49.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.206, allocations: 0 / 0.516 GB, free: 49.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002191/1.206, allocations: 72 kB / 0.5161 GB, free: 49.12 MB / 394.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.01311/1.219, allocations: 3.581 MB / 0.5196 GB, free: 45.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.219, allocations: 8.031 kB / 0.5196 GB, free: 45.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03283/1.252, allocations: 4.324 MB / 0.5238 GB, free: 41.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/1.27, allocations: 4.452 MB / 0.5282 GB, free: 36.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/1.27, allocations: 116.5 kB / 0.5283 GB, free: 36.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/1.272, allocations: 219.9 kB / 0.5285 GB, free: 36.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01283/1.285, allocations: 5.14 MB / 0.5335 GB, free: 31.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/1.304, allocations: 8.204 MB / 0.5415 GB, free: 21.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/1.304, allocations: 59.47 kB / 0.5416 GB, free: 21.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/1.305, allocations: 28 kB / 0.5416 GB, free: 21.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001828/1.307, allocations: 0.8844 MB / 0.5425 GB, free: 20.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0652/1.373, allocations: 43.37 MB / 0.5848 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006357/1.379, allocations: 2.62 MB / 0.5874 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003445/1.383, allocations: 1.488 MB / 0.5889 GB, free: 3.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/1.384, allocations: 0.8651 MB / 0.5897 GB, free: 2.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/1.384, allocations: 51.81 kB / 0.5897 GB, free: 2.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=159): time 5.169e-06/1.384, allocations: 0 / 0.5897 GB, free: 2.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.07239/1.457, allocations: 16.51 MB / 0.6059 GB, free: 2.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.457, allocations: 201.2 kB / 0.6061 GB, free: 1.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006438/1.463, allocations: 2.878 MB / 0.6089 GB, free: 14.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/1.464, allocations: 25.7 kB / 0.6089 GB, free: 14.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003122/1.467, allocations: 2.862 MB / 0.6117 GB, free: 12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00122/1.468, allocations: 0.7209 MB / 0.6124 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/1.469, allocations: 0 / 0.6124 GB, free: 11.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005427/1.469, allocations: 0.5661 MB / 0.6129 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004905/1.474, allocations: 1.921 MB / 0.6148 GB, free: 8.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008497/1.483, allocations: 5.553 MB / 0.6202 GB, free: 1.379 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3512/1.834, allocations: 3.247 MB / 0.6234 GB, free: 109.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.834, allocations: 37.41 kB / 0.6234 GB, free: 109.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.03128/1.865, allocations: 8.405 MB / 0.6317 GB, free: 109.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/1.866, allocations: 61.66 kB / 0.6317 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/1.866, allocations: 130.8 kB / 0.6318 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.876, allocations: 1.565 MB / 0.6334 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008937/1.885, allocations: 1.339 MB / 0.6347 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/1.908, allocations: 8.676 MB / 0.6432 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006681/1.914, allocations: 198.5 kB / 0.6433 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.916, allocations: 381.6 kB / 0.6437 GB, free: 107.9 MB / 458.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.001376/1.917, allocations: 425.5 kB / 0.6441 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01814/1.935, allocations: 4.383 MB / 0.6484 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.936, allocations: 311.9 kB / 0.6487 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.953, allocations: 3.748 MB / 0.6523 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/1.953, allocations: 21.77 kB / 0.6524 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.953, allocations: 11.66 kB / 0.6524 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-05/1.953, allocations: 12.31 kB / 0.6524 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02792/1.981, allocations: 7.64 MB / 0.6599 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/1.981, allocations: 3.688 kB / 0.6599 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/1.984, allocations: 254.1 kB / 0.6601 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008905/1.993, allocations: 1.217 MB / 0.6613 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003961/1.993, allocations: 5.906 kB / 0.6613 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/2.011, allocations: 6.881 MB / 0.668 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/2.011, allocations: 7.875 kB / 0.668 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/2.031, allocations: 6.226 MB / 0.6741 GB, free: 96.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/2.033, allocations: 0.5799 MB / 0.6747 GB, free: 96.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008426/2.034, allocations: 11.47 kB / 0.6747 GB, free: 96.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/2.037, allocations: 63.33 kB / 0.6747 GB, free: 96.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/2.037, allocations: 112.4 kB / 0.6748 GB, free: 96.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/2.038, allocations: 55.39 kB / 0.6749 GB, free: 96.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004217/2.042, allocations: 1.913 MB / 0.6768 GB, free: 94.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.042, allocations: 0 / 0.6768 GB, free: 94.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007196/2.049, allocations: 0.832 MB / 0.6776 GB, free: 93.62 MB / 458.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.02098/2.07, allocations: 7.212 MB / 0.6846 GB, free: 87.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/2.081, allocations: 4.737 MB / 0.6892 GB, free: 83.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/2.081, allocations: 1 kB / 0.6892 GB, free: 83.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/2.084, allocations: 1.56 MB / 0.6908 GB, free: 81.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/2.087, allocations: 298.7 kB / 0.6911 GB, free: 81.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/2.111, allocations: 7.854 MB / 0.6987 GB, free: 74.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00496/2.116, allocations: 3.031 MB / 0.7017 GB, free: 72.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008721/2.125, allocations: 1.903 MB / 0.7035 GB, free: 71.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003812/2.129, allocations: 1.649 MB / 0.7052 GB, free: 69.54 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/2.129, allocations: 0 / 0.7052 GB, free: 69.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1874/2.316, allocations: 70.21 MB / 0.7737 GB, free: 1.113 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003261/2.317, allocations: 148.2 kB / 0.7739 GB, free: 0.918 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.408/7.725, allocations: 0 / 0.7739 GB, free: 0.918 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat