Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Damper2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.635/2.635, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.083e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3894, allocations: 54.86 MB / 354.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.5972, allocations: 100.8 MB / 455.3 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.5976, allocations: 75.97 kB / 455.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9644/1.562, allocations: 141.5 MB / 0.5828 GB, free: 12.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.562, allocations: 0 / 0.5828 GB, free: 12.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004686/1.563, allocations: 148 kB / 0.583 GB, free: 12.09 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02934/1.592, allocations: 6.631 MB / 0.5895 GB, free: 5.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/1.592, allocations: 8.031 kB / 0.5895 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03376/1.626, allocations: 3.617 MB / 0.593 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03134/1.657, allocations: 7.641 MB / 0.6005 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006958/1.658, allocations: 260 kB / 0.6007 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004608/1.663, allocations: 467.9 kB / 0.6012 GB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03504/1.698, allocations: 11.31 MB / 0.6122 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8735/2.571, allocations: 16.53 MB / 0.6283 GB, free: 63.34 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008715/2.572, allocations: 94.03 kB / 0.6284 GB, free: 63.34 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0045/2.577, allocations: 48.84 kB / 0.6285 GB, free: 63.34 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007092/2.584, allocations: 1.932 MB / 0.6304 GB, free: 63.32 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1343/2.718, allocations: 77.11 MB / 0.7057 GB, free: 33.87 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/2.726, allocations: 3.332 MB / 0.7089 GB, free: 33.19 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004849/2.731, allocations: 1.891 MB / 0.7108 GB, free: 33.14 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/2.733, allocations: 1.771 MB / 0.7125 GB, free: 31.62 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005906/2.739, allocations: 2.006 MB / 0.7145 GB, free: 31.34 MB / 474.8 MB Notification: Performance of pre-optimization done (n=290): time 9.287e-06/2.739, allocations: 0 / 0.7145 GB, free: 31.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=320): time 0.09302/2.832, allocations: 18.11 MB / 0.7321 GB, free: 24.59 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/2.832, allocations: 165.7 kB / 0.7323 GB, free: 24.43 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/2.845, allocations: 4.438 MB / 0.7366 GB, free: 22.84 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007593/2.846, allocations: 32.02 kB / 0.7367 GB, free: 22.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006368/2.852, allocations: 5.345 MB / 0.7419 GB, free: 18.83 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002044/2.854, allocations: 1.187 MB / 0.743 GB, free: 17.96 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/2.856, allocations: 0 / 0.743 GB, free: 17.96 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001031/2.857, allocations: 0.7196 MB / 0.7437 GB, free: 17.48 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007763/2.865, allocations: 2.496 MB / 0.7462 GB, free: 16.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/2.878, allocations: 8.37 MB / 0.7544 GB, free: 7.785 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/2.89, allocations: 4.515 MB / 0.7588 GB, free: 6.246 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002563/2.89, allocations: 63.03 kB / 0.7588 GB, free: 6.242 MB / 474.8 MB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.03165/2.922, allocations: 9.602 MB / 0.7682 GB, free: 2.879 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002254/2.922, allocations: 121.3 kB / 0.7683 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003605/2.922, allocations: 211.2 kB / 0.7685 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/2.923, allocations: 312.1 kB / 0.7688 GB, free: 2.844 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/2.941, allocations: 2.459 MB / 0.7712 GB, free: 2.176 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000538/2.941, allocations: 416.6 kB / 0.7716 GB, free: 1.812 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/2.954, allocations: 476.6 kB / 0.7721 GB, free: 1.441 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002821/2.957, allocations: 0.5825 MB / 0.7726 GB, free: 0.8672 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1273): * Single equations (assignments): 1269 * Array equations: 3 * Algorithm blocks: 1 * 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.003666/2.961, allocations: 0.6409 MB / 0.7733 GB, free: 236 kB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01421/2.975, allocations: 3.325 MB / 0.7765 GB, free: 13.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/2.977, allocations: 497.4 kB / 0.777 GB, free: 13.41 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/2.987, allocations: 2.859 MB / 0.7798 GB, free: 10.95 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.384e-05/2.987, allocations: 36 kB / 0.7798 GB, free: 10.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/2.987, allocations: 0 / 0.7798 GB, free: 10.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/2.988, allocations: 13.78 kB / 0.7798 GB, free: 10.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04084/3.028, allocations: 11.82 MB / 0.7914 GB, free: 0.7344 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-05/3.029, allocations: 35.95 kB / 0.7914 GB, free: 0.6992 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00559/3.034, allocations: 0.5998 MB / 0.792 GB, free: 192 kB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/3.034, allocations: 48 kB / 0.792 GB, free: 144 kB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005878/3.035, allocations: 55.8 kB / 0.7921 GB, free: 92 kB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.849e-05/3.035, allocations: 65.98 kB / 0.7922 GB, free: 32 kB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001499/3.035, allocations: 48.45 kB / 0.7922 GB, free: 0 / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/3.051, allocations: 10.03 MB / 0.802 GB, free: 5.219 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/3.055, allocations: 0.7702 MB / 0.8028 GB, free: 4.484 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/3.057, allocations: 50.94 kB / 0.8028 GB, free: 4.441 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005498/3.062, allocations: 166.2 kB / 0.803 GB, free: 4.328 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/3.063, allocations: 296 kB / 0.8032 GB, free: 4.109 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/3.064, allocations: 123.2 kB / 0.8034 GB, free: 3.992 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009197/3.073, allocations: 2.892 MB / 0.8062 GB, free: 1.496 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.61e-07/3.073, allocations: 3.938 kB / 0.8062 GB, free: 1.492 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01406/3.087, allocations: 1.314 MB / 0.8075 GB, free: 192 kB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 296 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.4269/3.514, allocations: 17.29 MB / 0.8244 GB, free: 94.79 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01512/3.529, allocations: 5.785 MB / 0.83 GB, free: 94.69 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.103e-05/3.529, allocations: 3.875 kB / 0.83 GB, free: 94.69 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005344/3.535, allocations: 1.648 MB / 0.8316 GB, free: 94.68 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/3.541, allocations: 0.5334 MB / 0.8321 GB, free: 94.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05817/3.599, allocations: 14.66 MB / 0.8465 GB, free: 90.97 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01638/3.615, allocations: 5.244 MB / 0.8516 GB, free: 90.09 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02092/3.636, allocations: 2.795 MB / 0.8543 GB, free: 90.04 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01158/3.648, allocations: 3.39 MB / 0.8576 GB, free: 90.03 MB / 0.4949 GB Notification: Performance of SimCode: time 2.384e-06/3.648, allocations: 0 / 0.8576 GB, free: 90.03 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/3.947, allocations: 102.8 MB / 0.958 GB, free: 27.56 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002954/3.947, allocations: 138.8 kB / 0.9581 GB, free: 27.36 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.523/11.47, allocations: 0 / 0.9581 GB, free: 27.36 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat