Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.628/2.628, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.012e-05, allocations: 11.17 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5749/0.7162, allocations: 108.5 MB / 0.5067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.7165, allocations: 75.95 kB / 0.5067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3385/1.055, allocations: 77.8 MB / 0.5827 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/1.055, allocations: 0 / 0.5827 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002697/1.055, allocations: 71.98 kB / 0.5828 GB, free: 13.05 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01532/1.071, allocations: 3.589 MB / 0.5863 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.071, allocations: 12.03 kB / 0.5863 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002977/1.074, allocations: 0.6716 MB / 0.587 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0346/1.108, allocations: 4.324 MB / 0.5912 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/1.127, allocations: 4.32 MB / 0.5954 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/1.128, allocations: 267.1 kB / 0.5957 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/1.13, allocations: 367.8 kB / 0.596 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/1.158, allocations: 9.052 MB / 0.6049 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002422/1.159, allocations: 67.45 kB / 0.6049 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008251/1.16, allocations: 179.9 kB / 0.6051 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/1.162, allocations: 0.8883 MB / 0.606 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4112/1.573, allocations: 7.042 MB / 0.6128 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06549/1.639, allocations: 44.11 MB / 0.6559 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.654, allocations: 3.464 MB / 0.6593 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/1.658, allocations: 1.588 MB / 0.6608 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/1.677, allocations: 7.181 MB / 0.6679 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/1.677, allocations: 50.91 kB / 0.6679 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=151): time 6.923e-06/1.677, allocations: 2.219 kB / 0.6679 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188): time 0.1095/1.787, allocations: 16.18 MB / 0.6837 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.787, allocations: 207.1 kB / 0.6839 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.797, allocations: 3.271 MB / 0.6871 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/1.798, allocations: 53.59 kB / 0.6872 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003751/1.801, allocations: 2.833 MB / 0.6899 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.803, allocations: 0.7168 MB / 0.6906 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008286/1.804, allocations: 113.4 kB / 0.6907 GB, free: 80.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005295/1.804, allocations: 0.5634 MB / 0.6913 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007091/1.811, allocations: 1.932 MB / 0.6932 GB, free: 79.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.822, allocations: 5.437 MB / 0.6985 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.833, allocations: 3.242 MB / 0.7016 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/1.834, allocations: 34.81 kB / 0.7017 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.04105/1.875, allocations: 8.082 MB / 0.7096 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.875, allocations: 63.69 kB / 0.7096 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/1.875, allocations: 125.8 kB / 0.7097 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/1.889, allocations: 1.465 MB / 0.7112 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/1.901, allocations: 1.288 MB / 0.7124 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/1.93, allocations: 8.013 MB / 0.7203 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009889/1.94, allocations: 300.9 kB / 0.7205 GB, free: 65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/1.941, allocations: 362.7 kB / 0.7209 GB, free: 64.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (697): * Single equations (assignments): 693 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001348/1.943, allocations: 0.5452 MB / 0.7214 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008897/1.944, allocations: 331.7 kB / 0.7217 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.957, allocations: 3.616 MB / 0.7253 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/1.958, allocations: 23.56 kB / 0.7253 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.958, allocations: 8 kB / 0.7253 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/1.958, allocations: 6.938 kB / 0.7253 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.983, allocations: 7.867 MB / 0.733 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/1.983, allocations: 0 / 0.733 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/1.986, allocations: 241 kB / 0.7332 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008422/1.994, allocations: 1.242 MB / 0.7344 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003611/1.995, allocations: 31.94 kB / 0.7345 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/2.012, allocations: 7.275 MB / 0.7416 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.012, allocations: 0 / 0.7416 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/2.031, allocations: 6.019 MB / 0.7475 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/2.032, allocations: 381.5 kB / 0.7478 GB, free: 41.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/2.033, allocations: 32.94 kB / 0.7478 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/2.036, allocations: 88.08 kB / 0.7479 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006881/2.037, allocations: 109.3 kB / 0.748 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/2.037, allocations: 47.8 kB / 0.7481 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004837/2.042, allocations: 2.269 MB / 0.7503 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.362e-06/2.042, allocations: 4.062 kB / 0.7503 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006784/2.049, allocations: 0.9714 MB / 0.7512 GB, free: 38.5 MB / 0.5105 GB 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 (130): * Single equations (assignments): 126 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01967/2.069, allocations: 6.84 MB / 0.7579 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01563/2.084, allocations: 4.68 MB / 0.7625 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/2.084, allocations: 0.625 kB / 0.7625 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005211/2.09, allocations: 1.571 MB / 0.764 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/2.094, allocations: 369.3 kB / 0.7644 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/2.131, allocations: 8.031 MB / 0.7722 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007625/2.139, allocations: 3.047 MB / 0.7752 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01073/2.149, allocations: 1.828 MB / 0.777 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004938/2.154, allocations: 1.644 MB / 0.7786 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/2.154, allocations: 0 / 0.7786 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6738/2.828, allocations: 73.42 MB / 0.8503 GB, free: 126 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/2.829, allocations: 180 kB / 0.8505 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.666/8.494, allocations: 0 / 0.8505 GB, free: 125.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat