Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.027e-05/4.038e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4151, allocations: 54.86 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.6227, allocations: 101.1 MB / 460.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.623, allocations: 77.17 kB / 461 MB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9543/1.577, allocations: 144.5 MB / 0.5913 GB, free: 94.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.577, allocations: 0 / 0.5913 GB, free: 94.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009673/1.578, allocations: 143.7 kB / 0.5914 GB, free: 94.5 MB / 458.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.02535/1.604, allocations: 6.548 MB / 0.5978 GB, free: 90.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.328e-05/1.604, allocations: 10.62 kB / 0.5978 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006085/1.61, allocations: 1.362 MB / 0.5992 GB, free: 89.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02881/1.639, allocations: 3.62 MB / 0.6027 GB, free: 86.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02541/1.664, allocations: 7.63 MB / 0.6102 GB, free: 78.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000749/1.665, allocations: 0.5966 MB / 0.6107 GB, free: 78.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004363/1.669, allocations: 0.777 MB / 0.6115 GB, free: 77.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08762/1.757, allocations: 21.53 MB / 0.6325 GB, free: 54.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005596/1.758, allocations: 95.14 kB / 0.6326 GB, free: 54.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004162/1.762, allocations: 383.8 kB / 0.633 GB, free: 53.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007228/1.769, allocations: 1.933 MB / 0.6349 GB, free: 51.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06384/1.833, allocations: 17.18 MB / 0.6516 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5105/2.344, allocations: 79.33 MB / 0.7291 GB, free: 47.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03133/2.375, allocations: 6.489 MB / 0.7355 GB, free: 47.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006098/2.381, allocations: 2.057 MB / 0.7375 GB, free: 47.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02902/2.41, allocations: 9.742 MB / 0.747 GB, free: 44.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/2.41, allocations: 66.12 kB / 0.747 GB, free: 44.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.634e-06/2.41, allocations: 0 / 0.747 GB, free: 44.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.118/2.528, allocations: 22.62 MB / 0.7691 GB, free: 39.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/2.529, allocations: 169.7 kB / 0.7693 GB, free: 39.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/2.541, allocations: 5.248 MB / 0.7744 GB, free: 39.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006933/2.542, allocations: 73.61 kB / 0.7745 GB, free: 39.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004499/2.547, allocations: 5.176 MB / 0.7795 GB, free: 35.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/2.548, allocations: 1.214 MB / 0.7807 GB, free: 34.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/2.55, allocations: 197.7 kB / 0.7809 GB, free: 34.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007304/2.55, allocations: 0.7069 MB / 0.7816 GB, free: 34.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007319/2.558, allocations: 2.627 MB / 0.7842 GB, free: 33.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/2.569, allocations: 8.355 MB / 0.7923 GB, free: 24.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/2.58, allocations: 4.626 MB / 0.7968 GB, free: 23.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002548/2.58, allocations: 58.5 kB / 0.7969 GB, free: 23.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02923/2.609, allocations: 10.73 MB / 0.8074 GB, free: 19.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.609, allocations: 95.95 kB / 0.8075 GB, free: 19.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000339/2.61, allocations: 200 kB / 0.8077 GB, free: 19.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/2.61, allocations: 303.3 kB / 0.8079 GB, free: 19.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/2.625, allocations: 2.385 MB / 0.8103 GB, free: 17.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004017/2.626, allocations: 403.1 kB / 0.8107 GB, free: 16.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.637, allocations: 0.6141 MB / 0.8113 GB, free: 16.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/2.64, allocations: 0.5638 MB / 0.8118 GB, free: 15.73 MB / 474.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.003101/2.643, allocations: 0.8534 MB / 0.8126 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/2.644, allocations: 0.536 MB / 0.8132 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008735/2.653, allocations: 3.198 MB / 0.8163 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/2.653, allocations: 34.33 kB / 0.8163 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/2.653, allocations: 4 kB / 0.8163 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.712e-05/2.653, allocations: 17.53 kB / 0.8163 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04481/2.698, allocations: 13.58 MB / 0.8296 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.23e-05/2.698, allocations: 32 kB / 0.8296 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004657/2.703, allocations: 0.591 MB / 0.8302 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.252e-05/2.703, allocations: 52 kB / 0.8303 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003524/2.703, allocations: 98.73 kB / 0.8304 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-05/2.703, allocations: 75.33 kB / 0.8304 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-05/2.703, allocations: 47.81 kB / 0.8305 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/2.719, allocations: 11.95 MB / 0.8421 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003418/2.722, allocations: 0.8354 MB / 0.843 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/2.724, allocations: 100.7 kB / 0.8431 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004869/2.728, allocations: 201.3 kB / 0.8432 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007523/2.729, allocations: 288.5 kB / 0.8435 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/2.73, allocations: 122.9 kB / 0.8436 GB, free: 372 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.02481/2.754, allocations: 4.492 MB / 0.848 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.062e-06/2.754, allocations: 4 kB / 0.848 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01237/2.767, allocations: 1.558 MB / 0.8496 GB, free: 13.65 MB / 0.4948 GB 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.01951/2.786, allocations: 18.46 MB / 0.8676 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01627/2.803, allocations: 6.146 MB / 0.8736 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.102e-05/2.803, allocations: 8.656 kB / 0.8736 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004066/2.807, allocations: 1.472 MB / 0.875 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006217/2.813, allocations: 0.7093 MB / 0.8757 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05468/2.868, allocations: 15.14 MB / 0.8905 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/2.882, allocations: 5.249 MB / 0.8956 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01436/2.896, allocations: 2.752 MB / 0.8983 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008555/2.905, allocations: 3.471 MB / 0.9017 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of SimCode: time 1.202e-06/2.905, allocations: 0 / 0.9017 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6656/3.57, allocations: 112.9 MB / 1.012 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/3.571, allocations: 141.7 kB / 1.012 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/11.14, allocations: 0 / 1.012 GB, free: 116.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat