Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.787e-05, allocations: 8 kB / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.547, allocations: 90.16 MB / 406.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5473, allocations: 77.39 kB / 406.6 MB, free: 2.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3514/0.8988, allocations: 82.99 MB / 489.6 MB, free: 2.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8988, allocations: 0 / 489.6 MB, free: 2.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002691/0.8991, allocations: 83.94 kB / 489.6 MB, free: 2.34 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.2894/1.189, allocations: 3.897 MB / 493.5 MB, free: 86.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.189, allocations: 9.281 kB / 493.5 MB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/1.21, allocations: 2.438 MB / 496 MB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/1.229, allocations: 5.106 MB / 0.4893 GB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/1.23, allocations: 138.6 kB / 0.4895 GB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/1.232, allocations: 248.4 kB / 0.4897 GB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01675/1.249, allocations: 5.999 MB / 0.4956 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/1.272, allocations: 9.264 MB / 0.5046 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/1.272, allocations: 63.25 kB / 0.5047 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008989/1.273, allocations: 33.53 kB / 0.5047 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/1.275, allocations: 1.018 MB / 0.5057 GB, free: 82.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05904/1.335, allocations: 46.63 MB / 0.5512 GB, free: 49.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/1.338, allocations: 1.971 MB / 0.5532 GB, free: 48.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/1.34, allocations: 0.8782 MB / 0.554 GB, free: 48.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/1.34, allocations: 0.5608 MB / 0.5546 GB, free: 47.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/1.34, allocations: 53.97 kB / 0.5546 GB, free: 47.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 4.448e-06/1.34, allocations: 0 / 0.5546 GB, free: 47.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.0255/1.366, allocations: 8.748 MB / 0.5632 GB, free: 42.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/1.366, allocations: 250.5 kB / 0.5634 GB, free: 42.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/1.371, allocations: 3.028 MB / 0.5664 GB, free: 41.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003144/1.372, allocations: 29.67 kB / 0.5664 GB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.374, allocations: 3.182 MB / 0.5695 GB, free: 38.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/1.375, allocations: 0.6058 MB / 0.5701 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/1.375, allocations: 3.531 kB / 0.5701 GB, free: 38.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/1.376, allocations: 0.5651 MB / 0.5707 GB, free: 37.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/1.379, allocations: 1.47 MB / 0.5721 GB, free: 37.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/1.384, allocations: 5.373 MB / 0.5773 GB, free: 31.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/1.389, allocations: 2.806 MB / 0.5801 GB, free: 30.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.743e-05/1.389, allocations: 42 kB / 0.5801 GB, free: 30.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01425/1.404, allocations: 5.927 MB / 0.5859 GB, free: 27.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/1.404, allocations: 68 kB / 0.586 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/1.404, allocations: 140.9 kB / 0.5861 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/1.404, allocations: 207.9 kB / 0.5863 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008262/1.413, allocations: 1.475 MB / 0.5877 GB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002032/1.413, allocations: 274.9 kB / 0.588 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/1.419, allocations: 279.5 kB / 0.5883 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.421, allocations: 380.7 kB / 0.5886 GB, free: 24.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (776): * Single equations (assignments): 773 * 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.0009089/1.422, allocations: 458.6 kB / 0.5891 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003386/1.425, allocations: 1.588 MB / 0.5906 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/1.425, allocations: 312 kB / 0.5909 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/1.428, allocations: 1.17 MB / 0.5921 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/1.428, allocations: 20.58 kB / 0.5921 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.428, allocations: 7.625 kB / 0.5921 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/1.428, allocations: 6.703 kB / 0.5921 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/1.439, allocations: 5.014 MB / 0.597 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/1.439, allocations: 16 kB / 0.597 GB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.441, allocations: 281.5 kB / 0.5973 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-05/1.441, allocations: 24 kB / 0.5973 GB, free: 17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/1.441, allocations: 23.95 kB / 0.5973 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.463e-05/1.441, allocations: 35.2 kB / 0.5974 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-05/1.441, allocations: 23.94 kB / 0.5974 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004908/1.446, allocations: 4.772 MB / 0.602 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.447, allocations: 0.4939 MB / 0.6025 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005496/1.448, allocations: 23.47 kB / 0.6025 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.45, allocations: 71.81 kB / 0.6026 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.45, allocations: 137.6 kB / 0.6027 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.45, allocations: 65.64 kB / 0.6028 GB, free: 11.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003688/1.454, allocations: 2.009 MB / 0.6048 GB, free: 9.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.454, allocations: 0 / 0.6048 GB, free: 9.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00639/1.46, allocations: 0.7547 MB / 0.6055 GB, free: 8.586 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * 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.006617/1.467, allocations: 9.348 MB / 0.6146 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008249/1.475, allocations: 3.366 MB / 0.6179 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.475, allocations: 0 / 0.6179 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/1.477, allocations: 0.684 MB / 0.6186 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/1.48, allocations: 346.9 kB / 0.6189 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/1.505, allocations: 8.142 MB / 0.6269 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005883/1.511, allocations: 3.225 MB / 0.63 GB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008625/1.52, allocations: 1.858 MB / 0.6318 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/1.53, allocations: 2.167 MB / 0.6339 GB, free: 15.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.984e-06/1.53, allocations: 0 / 0.6339 GB, free: 15.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4547/1.985, allocations: 61.88 MB / 0.6944 GB, free: 99.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/1.985, allocations: 125.4 kB / 0.6945 GB, free: 99.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.528/6.513, allocations: 0 / 0.6945 GB, free: 99.56 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat