Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.282e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 54.85 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.5761, allocations: 97.31 MB / 457.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5765, allocations: 76.55 kB / 457.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7262/1.303, allocations: 84.79 MB / 0.5293 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.303, allocations: 0 / 0.5293 GB, free: 102.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002885/1.303, allocations: 83.44 kB / 0.5294 GB, free: 102.2 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01583/1.319, allocations: 3.907 MB / 0.5332 GB, free: 100.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.319, allocations: 8.25 kB / 0.5332 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00326/1.322, allocations: 0.7622 MB / 0.534 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02071/1.343, allocations: 2.438 MB / 0.5364 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01983/1.363, allocations: 5.129 MB / 0.5414 GB, free: 99.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005619/1.363, allocations: 321.8 kB / 0.5417 GB, free: 99.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002576/1.366, allocations: 428.1 kB / 0.5421 GB, free: 99.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/1.395, allocations: 10.35 MB / 0.5522 GB, free: 96.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/1.395, allocations: 64.75 kB / 0.5523 GB, free: 96.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009039/1.396, allocations: 211.9 kB / 0.5525 GB, free: 96.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/1.398, allocations: 1.006 MB / 0.5534 GB, free: 96.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/1.421, allocations: 7.969 MB / 0.5612 GB, free: 96.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05969/1.481, allocations: 47.43 MB / 0.6075 GB, free: 59.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/1.493, allocations: 3.021 MB / 0.6105 GB, free: 58.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/1.495, allocations: 0.9653 MB / 0.6114 GB, free: 57.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/1.506, allocations: 5.204 MB / 0.6165 GB, free: 54.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.506, allocations: 46.19 kB / 0.6166 GB, free: 54.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=134): time 5.07e-06/1.506, allocations: 3.938 kB / 0.6166 GB, free: 54.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.03102/1.537, allocations: 8.267 MB / 0.6246 GB, free: 50.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/1.537, allocations: 200 kB / 0.6248 GB, free: 50.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006455/1.543, allocations: 3.546 MB / 0.6283 GB, free: 47.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/1.544, allocations: 45.7 kB / 0.6283 GB, free: 47.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.546, allocations: 3.149 MB / 0.6314 GB, free: 44.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/1.547, allocations: 0.5876 MB / 0.632 GB, free: 44.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/1.547, allocations: 120 kB / 0.6321 GB, free: 44.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003446/1.547, allocations: 0.5584 MB / 0.6326 GB, free: 43.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.551, allocations: 1.518 MB / 0.6341 GB, free: 42.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005203/1.556, allocations: 5.314 MB / 0.6393 GB, free: 35.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00611/1.562, allocations: 2.841 MB / 0.6421 GB, free: 32.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.562, allocations: 40 kB / 0.6421 GB, free: 32.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01678/1.579, allocations: 6.576 MB / 0.6485 GB, free: 27.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.579, allocations: 67.7 kB / 0.6486 GB, free: 26.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/1.579, allocations: 137.6 kB / 0.6487 GB, free: 26.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/1.58, allocations: 198.1 kB / 0.6489 GB, free: 26.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008235/1.588, allocations: 1.417 MB / 0.6503 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002213/1.588, allocations: 268.2 kB / 0.6506 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006574/1.595, allocations: 373.8 kB / 0.6509 GB, free: 24.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007733/1.596, allocations: 371.9 kB / 0.6513 GB, free: 24.47 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (746): * Single equations (assignments): 743 * 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.0009112/1.596, allocations: 0.5657 MB / 0.6518 GB, free: 23.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000619/1.597, allocations: 347.5 kB / 0.6522 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.6, allocations: 1.224 MB / 0.6534 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.6, allocations: 17.41 kB / 0.6534 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.6, allocations: 4 kB / 0.6534 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.6, allocations: 3.469 kB / 0.6534 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/1.614, allocations: 5.531 MB / 0.6588 GB, free: 17.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-05/1.614, allocations: 16.97 kB / 0.6588 GB, free: 17.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/1.616, allocations: 263.2 kB / 0.6591 GB, free: 17.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.282e-05/1.616, allocations: 28 kB / 0.6591 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.616, allocations: 44 kB / 0.6591 GB, free: 17.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/1.616, allocations: 35.91 kB / 0.6592 GB, free: 17.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-05/1.616, allocations: 20.69 kB / 0.6592 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/1.622, allocations: 4.835 MB / 0.6639 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.624, allocations: 0.5285 MB / 0.6644 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.625, allocations: 51.14 kB / 0.6645 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.628, allocations: 89.09 kB / 0.6645 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/1.628, allocations: 128.4 kB / 0.6647 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.628, allocations: 70.95 kB / 0.6647 GB, free: 11.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00595/1.634, allocations: 2.446 MB / 0.6671 GB, free: 8.992 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.634, allocations: 0 / 0.6671 GB, free: 8.992 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006681/1.641, allocations: 0.8945 MB / 0.668 GB, free: 8.098 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * 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 (134): * Single equations (assignments): 131 * 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.007873/1.649, allocations: 9.228 MB / 0.677 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0093/1.658, allocations: 3.559 MB / 0.6805 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/1.658, allocations: 3.938 kB / 0.6805 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.66, allocations: 0.6889 MB / 0.6812 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/1.664, allocations: 422 kB / 0.6816 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/1.692, allocations: 8.303 MB / 0.6897 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007175/1.699, allocations: 3.215 MB / 0.6928 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008666/1.708, allocations: 1.796 MB / 0.6946 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004312/1.713, allocations: 1.819 MB / 0.6963 GB, free: 11.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.044e-06/1.713, allocations: 0 / 0.6963 GB, free: 11.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5619/2.274, allocations: 67.08 MB / 0.7619 GB, free: 107 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/2.275, allocations: 137.7 kB / 0.762 GB, free: 106.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.105/7.38, allocations: 0 / 0.762 GB, free: 106.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat