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 1.973/1.973, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.299e-05, allocations: 7.984 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5426, allocations: 94.36 MB / 416.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.543, allocations: 75.95 kB / 416.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9273/1.47, allocations: 144.5 MB / 0.5476 GB, free: 89.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.47, allocations: 0 / 0.5476 GB, free: 89.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004/1.471, allocations: 146.6 kB / 0.5478 GB, free: 89.63 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.0262/1.497, allocations: 6.55 MB / 0.5542 GB, free: 86.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.497, allocations: 11.28 kB / 0.5542 GB, free: 86.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006675/1.504, allocations: 1.362 MB / 0.5555 GB, free: 86.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02936/1.533, allocations: 3.622 MB / 0.5591 GB, free: 86.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02595/1.559, allocations: 7.623 MB / 0.5665 GB, free: 83.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000803/1.56, allocations: 0.5939 MB / 0.5671 GB, free: 83.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004952/1.565, allocations: 0.7854 MB / 0.5679 GB, free: 83.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07438/1.639, allocations: 21.53 MB / 0.5889 GB, free: 64.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006006/1.64, allocations: 99.11 kB / 0.589 GB, free: 64.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004397/1.645, allocations: 376.4 kB / 0.5893 GB, free: 64.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00544/1.65, allocations: 1.933 MB / 0.5912 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06325/1.713, allocations: 17.19 MB / 0.608 GB, free: 45.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4782/2.192, allocations: 79.32 MB / 0.6855 GB, free: 28.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03168/2.223, allocations: 6.485 MB / 0.6918 GB, free: 27.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005792/2.229, allocations: 2.053 MB / 0.6938 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02912/2.258, allocations: 9.751 MB / 0.7033 GB, free: 25.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.623e-05/2.259, allocations: 69.06 kB / 0.7034 GB, free: 25.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 6.823e-06/2.259, allocations: 0 / 0.7034 GB, free: 25.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1194/2.378, allocations: 22.62 MB / 0.7255 GB, free: 20.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/2.378, allocations: 158.8 kB / 0.7256 GB, free: 20.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/2.39, allocations: 5.252 MB / 0.7308 GB, free: 19.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006751/2.391, allocations: 71.7 kB / 0.7308 GB, free: 19.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00458/2.396, allocations: 5.176 MB / 0.7359 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001955/2.398, allocations: 1.215 MB / 0.7371 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/2.399, allocations: 198 kB / 0.7373 GB, free: 14.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008221/2.4, allocations: 0.7069 MB / 0.738 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007711/2.407, allocations: 2.63 MB / 0.7405 GB, free: 12.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/2.419, allocations: 8.35 MB / 0.7487 GB, free: 4.383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/2.43, allocations: 4.638 MB / 0.7532 GB, free: 2.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000218/2.43, allocations: 57.59 kB / 0.7533 GB, free: 2.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02873/2.459, allocations: 10.72 MB / 0.7637 GB, free: 15.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/2.459, allocations: 90.53 kB / 0.7638 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003259/2.46, allocations: 200.7 kB / 0.764 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/2.46, allocations: 300.1 kB / 0.7643 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01594/2.476, allocations: 2.39 MB / 0.7666 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005907/2.477, allocations: 398 kB / 0.767 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/2.489, allocations: 0.6181 MB / 0.7676 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/2.491, allocations: 0.5684 MB / 0.7682 GB, free: 12.98 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.003914/2.495, allocations: 0.8594 MB / 0.769 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/2.497, allocations: 0.536 MB / 0.7695 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/2.508, allocations: 3.194 MB / 0.7726 GB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/2.508, allocations: 32 kB / 0.7727 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/2.508, allocations: 0 / 0.7727 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/2.508, allocations: 16.28 kB / 0.7727 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04615/2.554, allocations: 13.73 MB / 0.7861 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-05/2.554, allocations: 32 kB / 0.7861 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004915/2.559, allocations: 0.5922 MB / 0.7867 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.379e-05/2.559, allocations: 52 kB / 0.7868 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005656/2.56, allocations: 99.42 kB / 0.7869 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.589e-05/2.56, allocations: 70.83 kB / 0.7869 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.457e-05/2.56, allocations: 47.81 kB / 0.787 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/2.58, allocations: 12.19 MB / 0.7989 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003672/2.584, allocations: 0.8409 MB / 0.7997 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/2.586, allocations: 98.28 kB / 0.7998 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005449/2.591, allocations: 200.5 kB / 0.8 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009436/2.592, allocations: 284.5 kB / 0.8002 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003872/2.593, allocations: 131 kB / 0.8004 GB, free: 14.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01136/2.604, allocations: 3.632 MB / 0.8039 GB, free: 11.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.604, allocations: 0 / 0.8039 GB, free: 11.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01305/2.617, allocations: 1.549 MB / 0.8054 GB, free: 9.785 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.02015/2.638, allocations: 18.48 MB / 0.8235 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01652/2.654, allocations: 6.148 MB / 0.8295 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.299e-05/2.654, allocations: 4 kB / 0.8295 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3145/2.969, allocations: 1.47 MB / 0.8309 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006603/2.975, allocations: 0.6996 MB / 0.8316 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05942/3.035, allocations: 15.14 MB / 0.8464 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01513/3.05, allocations: 5.252 MB / 0.8515 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01411/3.064, allocations: 2.752 MB / 0.8542 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00883/3.073, allocations: 3.473 MB / 0.8576 GB, free: 135.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.893e-06/3.073, allocations: 0 / 0.8576 GB, free: 135.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2444/3.318, allocations: 112.9 MB / 0.9679 GB, free: 60.63 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/3.318, allocations: 153.7 kB / 0.968 GB, free: 60.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/11.09, allocations: 0 / 0.968 GB, free: 60.39 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