Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.692e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4206, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2928/0.7134, allocations: 106.7 MB / 489 MB, free: 1.801 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/0.7138, allocations: 79.95 kB / 489.1 MB, free: 1.723 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7619/1.476, allocations: 76.71 MB / 0.5525 GB, free: 111.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 4.018e-06/1.476, allocations: 6.234 kB / 0.5525 GB, free: 111.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000273/1.476, allocations: 65.97 kB / 0.5526 GB, free: 111.3 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01543/1.492, allocations: 3.593 MB / 0.5561 GB, free: 109.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/1.492, allocations: 11.16 kB / 0.5561 GB, free: 109.6 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003142/1.495, allocations: 0.6696 MB / 0.5567 GB, free: 109.6 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03199/1.527, allocations: 4.333 MB / 0.561 GB, free: 109.3 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01736/1.544, allocations: 4.484 MB / 0.5654 GB, free: 108 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/1.545, allocations: 276.4 kB / 0.5656 GB, free: 107.9 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/1.547, allocations: 368 kB / 0.566 GB, free: 107.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/1.572, allocations: 9.047 MB / 0.5748 GB, free: 98.74 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/1.572, allocations: 59.47 kB / 0.5749 GB, free: 98.68 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/1.574, allocations: 187.6 kB / 0.575 GB, free: 98.52 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001898/1.576, allocations: 0.8878 MB / 0.5759 GB, free: 97.64 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/1.597, allocations: 7.042 MB / 0.5828 GB, free: 90.59 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/1.657, allocations: 44.14 MB / 0.6259 GB, free: 45.11 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/1.672, allocations: 3.476 MB / 0.6293 GB, free: 41.49 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003508/1.676, allocations: 1.588 MB / 0.6308 GB, free: 39.89 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/1.694, allocations: 7.187 MB / 0.6379 GB, free: 32.47 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/1.694, allocations: 59.28 kB / 0.6379 GB, free: 32.41 MB / 458.8 MB Notification: Performance of pre-optimization done (n=151): time 6.172e-06/1.694, allocations: 0 / 0.6379 GB, free: 32.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=188): time 0.08947/1.784, allocations: 16.22 MB / 0.6538 GB, free: 16.07 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/1.784, allocations: 201.2 kB / 0.654 GB, free: 15.83 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007963/1.792, allocations: 3.29 MB / 0.6572 GB, free: 12.55 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004628/1.793, allocations: 53.69 kB / 0.6572 GB, free: 12.49 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.795, allocations: 2.83 MB / 0.66 GB, free: 9.664 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.796, allocations: 0.7132 MB / 0.6607 GB, free: 8.957 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006973/1.797, allocations: 116 kB / 0.6608 GB, free: 8.844 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004331/1.798, allocations: 0.55 MB / 0.6613 GB, free: 8.285 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00487/1.802, allocations: 1.94 MB / 0.6632 GB, free: 6.34 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007579/1.81, allocations: 5.44 MB / 0.6685 GB, free: 15.12 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008796/1.819, allocations: 3.238 MB / 0.6717 GB, free: 11.89 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/1.819, allocations: 36 kB / 0.6717 GB, free: 11.85 MB / 474.8 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.03018/1.849, allocations: 8.083 MB / 0.6796 GB, free: 3.766 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/1.85, allocations: 59.94 kB / 0.6797 GB, free: 3.707 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/1.85, allocations: 140.5 kB / 0.6798 GB, free: 3.57 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009827/1.86, allocations: 1.461 MB / 0.6812 GB, free: 2.105 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00867/1.868, allocations: 1.291 MB / 0.6825 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/1.891, allocations: 8.031 MB / 0.6903 GB, free: 8.648 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006928/1.898, allocations: 307.5 kB / 0.6906 GB, free: 8.348 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/1.9, allocations: 359.9 kB / 0.691 GB, free: 7.996 MB / 490.8 MB 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.002271/1.902, allocations: 0.5487 MB / 0.6915 GB, free: 7.438 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.903, allocations: 335.6 kB / 0.6918 GB, free: 7.105 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/1.92, allocations: 3.591 MB / 0.6953 GB, free: 3.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.205e-05/1.92, allocations: 28 kB / 0.6954 GB, free: 3.473 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/1.92, allocations: 8 kB / 0.6954 GB, free: 3.465 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-05/1.92, allocations: 11.92 kB / 0.6954 GB, free: 3.453 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03232/1.952, allocations: 7.881 MB / 0.7031 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/1.952, allocations: 4 kB / 0.7031 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.955, allocations: 239.7 kB / 0.7033 GB, free: 11.31 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009306/1.964, allocations: 1.233 MB / 0.7045 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004685/1.965, allocations: 32 kB / 0.7045 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/1.986, allocations: 7.298 MB / 0.7117 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.986, allocations: 0 / 0.7117 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4079/2.394, allocations: 6.006 MB / 0.7175 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/2.396, allocations: 0.6113 MB / 0.7181 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/2.397, allocations: 26 kB / 0.7182 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/2.401, allocations: 86.22 kB / 0.7182 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007683/2.402, allocations: 110.4 kB / 0.7184 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/2.402, allocations: 46.12 kB / 0.7184 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006802/2.409, allocations: 2.283 MB / 0.7206 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.32e-07/2.409, allocations: 3.969 kB / 0.7206 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007709/2.417, allocations: 0.9792 MB / 0.7216 GB, free: 141.1 MB / 0.4949 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.01992/2.436, allocations: 6.832 MB / 0.7283 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0114/2.448, allocations: 4.694 MB / 0.7328 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/2.448, allocations: 0 / 0.7328 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003889/2.452, allocations: 1.561 MB / 0.7344 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/2.455, allocations: 363.1 kB / 0.7347 GB, free: 139 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/2.483, allocations: 8.046 MB / 0.7426 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007664/2.491, allocations: 3.047 MB / 0.7455 GB, free: 135 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009031/2.5, allocations: 1.821 MB / 0.7473 GB, free: 135 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004208/2.505, allocations: 1.657 MB / 0.7489 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of SimCode: time 2.224e-06/2.505, allocations: 0 / 0.7489 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.173/2.678, allocations: 73.51 MB / 0.8207 GB, free: 74.64 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/2.678, allocations: 176.3 kB / 0.8209 GB, free: 74.41 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.436/8.114, allocations: 3.938 kB / 0.8209 GB, free: 74.41 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat