Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Damper",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.846e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3849, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.585, allocations: 100.4 MB / 454.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5854, allocations: 75.97 kB / 454.9 MB, free: 10.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9495/1.535, allocations: 141 MB / 0.5819 GB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.535, allocations: 0 / 0.5819 GB, free: 13.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004458/1.535, allocations: 147.9 kB / 0.5821 GB, free: 13.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02895/1.564, allocations: 6.542 MB / 0.5885 GB, free: 6.414 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.113e-05/1.565, allocations: 8.031 kB / 0.5885 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/1.599, allocations: 3.613 MB / 0.592 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03117/1.63, allocations: 7.632 MB / 0.5995 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006771/1.631, allocations: 260 kB / 0.5997 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004349/1.635, allocations: 463.9 kB / 0.6001 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03534/1.67, allocations: 11.3 MB / 0.6112 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4131/2.084, allocations: 16.51 MB / 0.6273 GB, free: 65.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006772/2.084, allocations: 95 kB / 0.6274 GB, free: 65.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003972/2.088, allocations: 49.81 kB / 0.6274 GB, free: 65.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00689/2.095, allocations: 1.935 MB / 0.6293 GB, free: 65.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/2.222, allocations: 77.02 MB / 0.7045 GB, free: 35.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007461/2.23, allocations: 3.309 MB / 0.7078 GB, free: 35.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/2.235, allocations: 1.887 MB / 0.7096 GB, free: 35.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/2.237, allocations: 1.766 MB / 0.7113 GB, free: 33.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.63e-05/2.237, allocations: 70.75 kB / 0.7114 GB, free: 33.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=287): time 7.874e-06/2.237, allocations: 0 / 0.7114 GB, free: 33.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=317): time 0.08719/2.325, allocations: 18.04 MB / 0.729 GB, free: 27.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/2.325, allocations: 157.9 kB / 0.7292 GB, free: 27.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/2.336, allocations: 4.429 MB / 0.7335 GB, free: 25.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007028/2.337, allocations: 33.12 kB / 0.7335 GB, free: 25.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004626/2.341, allocations: 5.238 MB / 0.7386 GB, free: 21.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001897/2.343, allocations: 1.173 MB / 0.7398 GB, free: 20.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/2.344, allocations: 0 / 0.7398 GB, free: 20.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008993/2.345, allocations: 0.722 MB / 0.7405 GB, free: 20.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007208/2.353, allocations: 2.484 MB / 0.7429 GB, free: 19.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/2.365, allocations: 8.358 MB / 0.7511 GB, free: 10.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/2.377, allocations: 4.496 MB / 0.7555 GB, free: 8.945 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002666/2.377, allocations: 63.52 kB / 0.7555 GB, free: 8.941 MB / 474.7 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.03023/2.407, allocations: 9.555 MB / 0.7649 GB, free: 5.602 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/2.408, allocations: 93 kB / 0.765 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003782/2.408, allocations: 217.3 kB / 0.7652 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/2.408, allocations: 307.3 kB / 0.7655 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01686/2.425, allocations: 2.443 MB / 0.7678 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/2.426, allocations: 418.3 kB / 0.7682 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/2.438, allocations: 451.1 kB / 0.7687 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002743/2.441, allocations: 0.5833 MB / 0.7692 GB, free: 4.809 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1269): * Single equations (assignments): 1266 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003799/2.445, allocations: 0.638 MB / 0.7699 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0105/2.456, allocations: 3.102 MB / 0.7729 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/2.457, allocations: 497.6 kB / 0.7734 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/2.471, allocations: 2.995 MB / 0.7763 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.409e-05/2.472, allocations: 39.94 kB / 0.7763 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/2.472, allocations: 0 / 0.7763 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-05/2.472, allocations: 17.48 kB / 0.7764 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/2.511, allocations: 11.53 MB / 0.7876 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-05/2.511, allocations: 34.25 kB / 0.7876 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005279/2.516, allocations: 0.5821 MB / 0.7882 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/2.516, allocations: 52 kB / 0.7883 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005752/2.517, allocations: 55.17 kB / 0.7883 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-05/2.517, allocations: 65.89 kB / 0.7884 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.197e-05/2.517, allocations: 51.81 kB / 0.7884 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/2.533, allocations: 10.12 MB / 0.7983 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003317/2.536, allocations: 0.7638 MB / 0.7991 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/2.538, allocations: 50.09 kB / 0.7991 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005271/2.543, allocations: 153.2 kB / 0.7992 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009682/2.544, allocations: 286.3 kB / 0.7995 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003859/2.544, allocations: 123.3 kB / 0.7996 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008527/2.553, allocations: 2.881 MB / 0.8025 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.11e-07/2.553, allocations: 0 / 0.8025 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01287/2.566, allocations: 1.309 MB / 0.8037 GB, free: 4.273 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 295 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3982/2.964, allocations: 17.39 MB / 0.8207 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01359/2.978, allocations: 5.707 MB / 0.8263 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.831e-05/2.978, allocations: 8.25 kB / 0.8263 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/2.981, allocations: 1.381 MB / 0.8276 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/2.986, allocations: 0.5102 MB / 0.8281 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05102/3.037, allocations: 14.67 MB / 0.8425 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01293/3.05, allocations: 5.234 MB / 0.8476 GB, free: 95.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01451/3.065, allocations: 2.791 MB / 0.8503 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008025/3.073, allocations: 3.452 MB / 0.8537 GB, free: 95.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.804e-06/3.073, allocations: 7.406 kB / 0.8537 GB, free: 95.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2753/3.348, allocations: 102 MB / 0.9533 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002811/3.349, allocations: 133.6 kB / 0.9534 GB, free: 33.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.251/10.6, allocations: 4.031 kB / 0.9534 GB, free: 33.38 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat