Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.043/2.043, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.577e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5631, allocations: 94.38 MB / 416.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5634, allocations: 71.97 kB / 416.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9714/1.535, allocations: 144.5 MB / 0.5477 GB, free: 89.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.535, allocations: 0 / 0.5477 GB, free: 89.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003604/1.535, allocations: 145.1 kB / 0.5478 GB, free: 89.27 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.0251/1.56, allocations: 6.549 MB / 0.5542 GB, free: 86.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.56, allocations: 6.781 kB / 0.5542 GB, free: 86.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007011/1.567, allocations: 1.368 MB / 0.5556 GB, free: 86.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02938/1.597, allocations: 3.615 MB / 0.5591 GB, free: 85.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02573/1.623, allocations: 7.625 MB / 0.5665 GB, free: 83.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008543/1.624, allocations: 0.5931 MB / 0.5671 GB, free: 83.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/1.628, allocations: 0.7892 MB / 0.5679 GB, free: 83.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07446/1.703, allocations: 21.43 MB / 0.5888 GB, free: 64.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004624/1.703, allocations: 99.09 kB / 0.5889 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00374/1.707, allocations: 383.5 kB / 0.5893 GB, free: 64.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005378/1.712, allocations: 1.935 MB / 0.5912 GB, free: 62.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06489/1.777, allocations: 16.88 MB / 0.6076 GB, free: 45.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4836/2.261, allocations: 79.33 MB / 0.6851 GB, free: 28.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03193/2.293, allocations: 6.46 MB / 0.6914 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006539/2.3, allocations: 2.055 MB / 0.6934 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02816/2.328, allocations: 9.735 MB / 0.7029 GB, free: 25.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/2.328, allocations: 68.38 kB / 0.703 GB, free: 25.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.103e-06/2.328, allocations: 0 / 0.703 GB, free: 25.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1264/2.454, allocations: 22.61 MB / 0.7251 GB, free: 20.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/2.454, allocations: 161.8 kB / 0.7252 GB, free: 20.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/2.469, allocations: 5.257 MB / 0.7304 GB, free: 19.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007924/2.47, allocations: 73.09 kB / 0.7304 GB, free: 19.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00505/2.475, allocations: 5.174 MB / 0.7355 GB, free: 15.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/2.477, allocations: 1.216 MB / 0.7367 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/2.478, allocations: 194.2 kB / 0.7369 GB, free: 14.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007532/2.479, allocations: 0.7086 MB / 0.7376 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007443/2.487, allocations: 2.63 MB / 0.7401 GB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01175/2.499, allocations: 8.291 MB / 0.7482 GB, free: 4.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/2.51, allocations: 4.633 MB / 0.7528 GB, free: 3.168 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002506/2.51, allocations: 62.86 kB / 0.7528 GB, free: 3.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02887/2.539, allocations: 10.16 MB / 0.7627 GB, free: 40 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/2.539, allocations: 93.91 kB / 0.7628 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/2.539, allocations: 200.6 kB / 0.763 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/2.54, allocations: 299.2 kB / 0.7633 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01605/2.556, allocations: 2.392 MB / 0.7656 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005672/2.557, allocations: 400.1 kB / 0.766 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/2.569, allocations: 0.627 MB / 0.7666 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/2.572, allocations: 0.5581 MB / 0.7672 GB, free: 13.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * 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 (1236): * Single equations (assignments): 1233 * 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.003254/2.575, allocations: 0.8596 MB / 0.768 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/2.576, allocations: 0.5399 MB / 0.7685 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009922/2.586, allocations: 3.187 MB / 0.7717 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.28e-05/2.587, allocations: 32 kB / 0.7717 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/2.587, allocations: 0 / 0.7717 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.763e-05/2.587, allocations: 19.8 kB / 0.7717 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04495/2.632, allocations: 13.58 MB / 0.785 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.929e-05/2.632, allocations: 32 kB / 0.785 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005005/2.637, allocations: 0.5952 MB / 0.7856 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/2.637, allocations: 48 kB / 0.7856 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006376/2.638, allocations: 105.9 kB / 0.7857 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.902e-05/2.638, allocations: 66.73 kB / 0.7858 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/2.638, allocations: 47.81 kB / 0.7858 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/2.655, allocations: 11.96 MB / 0.7975 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/2.659, allocations: 0.8428 MB / 0.7983 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/2.661, allocations: 99.12 kB / 0.7984 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005361/2.666, allocations: 203.7 kB / 0.7986 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009521/2.667, allocations: 286.4 kB / 0.7989 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003492/2.667, allocations: 133.8 kB / 0.799 GB, free: 14.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01113/2.678, allocations: 3.63 MB / 0.8026 GB, free: 11.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.193e-06/2.679, allocations: 0 / 0.8026 GB, free: 11.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01272/2.691, allocations: 1.545 MB / 0.8041 GB, free: 9.941 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (301): * Single equations (assignments): 298 * 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.02058/2.712, allocations: 18.47 MB / 0.8221 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01731/2.729, allocations: 5.839 MB / 0.8278 GB, free: 1.461 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-05/2.729, allocations: 12.02 kB / 0.8278 GB, free: 1.453 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004224/2.734, allocations: 1.425 MB / 0.8292 GB, free: 152 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009369/2.743, allocations: 0.8549 MB / 0.83 GB, free: 0 / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3883/3.131, allocations: 15.09 MB / 0.8448 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01499/3.146, allocations: 5.251 MB / 0.8499 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01403/3.16, allocations: 2.751 MB / 0.8526 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008315/3.169, allocations: 3.472 MB / 0.856 GB, free: 135.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.374e-06/3.169, allocations: 2.031 kB / 0.856 GB, free: 135.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3045/3.473, allocations: 112.1 MB / 0.9655 GB, free: 61.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/3.474, allocations: 140.5 kB / 0.9656 GB, free: 61.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/11.3, allocations: 0 / 0.9656 GB, free: 61.47 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat