Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.55e-05, allocations: 4 kB / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 48.69 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5455, allocations: 94.32 MB / 410.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5458, allocations: 85 kB / 410.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8468/1.393, allocations: 141.5 MB / 0.5392 GB, free: 82.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.393, allocations: 0 / 0.5392 GB, free: 82.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003959/1.393, allocations: 144.8 kB / 0.5394 GB, free: 82.09 MB / 410.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.02556/1.419, allocations: 6.636 MB / 0.5459 GB, free: 78.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.419, allocations: 7.719 kB / 0.5459 GB, free: 78.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02937/1.448, allocations: 3.621 MB / 0.5494 GB, free: 76.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/1.475, allocations: 7.626 MB / 0.5568 GB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005777/1.476, allocations: 256 kB / 0.5571 GB, free: 72.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/1.481, allocations: 469.1 kB / 0.5575 GB, free: 72.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02815/1.509, allocations: 11.3 MB / 0.5686 GB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04433/1.553, allocations: 16.54 MB / 0.5847 GB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006302/1.554, allocations: 107 kB / 0.5848 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004432/1.558, allocations: 51.94 kB / 0.5849 GB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005563/1.564, allocations: 1.929 MB / 0.5868 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5003/2.064, allocations: 77.11 MB / 0.6621 GB, free: 44.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008097/2.072, allocations: 3.326 MB / 0.6653 GB, free: 43.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00534/2.078, allocations: 1.887 MB / 0.6672 GB, free: 43.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/2.08, allocations: 1.769 MB / 0.6689 GB, free: 42.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006609/2.087, allocations: 2.017 MB / 0.6709 GB, free: 41.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 1.771e-05/2.087, allocations: 0 / 0.6709 GB, free: 41.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1068/2.194, allocations: 18.12 MB / 0.6886 GB, free: 37.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/2.194, allocations: 164.1 kB / 0.6887 GB, free: 37.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01752/2.212, allocations: 4.434 MB / 0.693 GB, free: 36.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000878/2.213, allocations: 28.52 kB / 0.6931 GB, free: 36.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007572/2.22, allocations: 5.344 MB / 0.6983 GB, free: 33.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002112/2.222, allocations: 1.196 MB / 0.6995 GB, free: 32.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/2.224, allocations: 0 / 0.6995 GB, free: 32.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001179/2.225, allocations: 0.7217 MB / 0.7002 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007275/2.233, allocations: 2.501 MB / 0.7026 GB, free: 32.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/2.244, allocations: 8.37 MB / 0.7108 GB, free: 23.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/2.255, allocations: 4.505 MB / 0.7152 GB, free: 22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002866/2.256, allocations: 59.22 kB / 0.7152 GB, free: 22 MB / 426.7 MB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02887/2.285, allocations: 9.601 MB / 0.7246 GB, free: 19.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002037/2.285, allocations: 125.7 kB / 0.7247 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003588/2.285, allocations: 209.4 kB / 0.7249 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/2.286, allocations: 315.2 kB / 0.7252 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01605/2.302, allocations: 2.459 MB / 0.7276 GB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/2.302, allocations: 414.1 kB / 0.728 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.315, allocations: 482.5 kB / 0.7285 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00249/2.317, allocations: 0.5817 MB / 0.729 GB, free: 18.54 MB / 426.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: 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.003878/2.321, allocations: 0.6369 MB / 0.7297 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009244/2.33, allocations: 3.115 MB / 0.7327 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/2.332, allocations: 0.4925 MB / 0.7332 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009316/2.341, allocations: 2.853 MB / 0.736 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-05/2.342, allocations: 35.8 kB / 0.736 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/2.342, allocations: 12.16 kB / 0.736 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/2.342, allocations: 12.89 kB / 0.736 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03466/2.376, allocations: 11.82 MB / 0.7476 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.343e-05/2.376, allocations: 32 kB / 0.7476 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004892/2.381, allocations: 0.5988 MB / 0.7482 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.264e-05/2.381, allocations: 48 kB / 0.7482 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000633/2.382, allocations: 59.27 kB / 0.7483 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-05/2.382, allocations: 65.53 kB / 0.7484 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.309e-05/2.382, allocations: 51.75 kB / 0.7484 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/2.398, allocations: 10.02 MB / 0.7582 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003455/2.402, allocations: 0.765 MB / 0.7589 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001946/2.404, allocations: 54.38 kB / 0.759 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005368/2.409, allocations: 165.8 kB / 0.7592 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.41, allocations: 292 kB / 0.7594 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004593/2.411, allocations: 123.4 kB / 0.7595 GB, free: 5.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008878/2.42, allocations: 2.901 MB / 0.7624 GB, free: 3.258 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.123e-06/2.42, allocations: 0 / 0.7624 GB, free: 3.258 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01308/2.433, allocations: 1.322 MB / 0.7637 GB, free: 1.945 MB / 442.7 MB 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.0203/2.453, allocations: 17.28 MB / 0.7805 GB, free: 64 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01706/2.47, allocations: 5.794 MB / 0.7862 GB, free: 10.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-05/2.47, allocations: 8.125 kB / 0.7862 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005557/2.476, allocations: 1.645 MB / 0.7878 GB, free: 9.293 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005589/2.481, allocations: 0.5314 MB / 0.7883 GB, free: 8.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05883/2.54, allocations: 14.67 MB / 0.8027 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/2.556, allocations: 5.229 MB / 0.8078 GB, free: 7.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0154/2.571, allocations: 2.793 MB / 0.8105 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009374/2.58, allocations: 3.398 MB / 0.8138 GB, free: 2.914 MB / 490.7 MB Notification: Performance of SimCode: time 1.953e-06/2.58, allocations: 0 / 0.8138 GB, free: 2.914 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6796/3.26, allocations: 102.7 MB / 0.9141 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/3.26, allocations: 130.4 kB / 0.9143 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/10.06, allocations: 3.938 kB / 0.9143 GB, free: 120.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat