Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-05/5.037e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 61.9 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5574/0.6956, allocations: 106.5 MB / 0.5047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.696, allocations: 75.97 kB / 0.5048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4184/1.114, allocations: 87.64 MB / 0.5904 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.236e-06/1.114, allocations: 0 / 0.5904 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002982/1.115, allocations: 84 kB / 0.5904 GB, free: 5.219 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01604/1.131, allocations: 3.972 MB / 0.5943 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/1.131, allocations: 8.031 kB / 0.5943 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003981/1.135, allocations: 0.7826 MB / 0.5951 GB, free: 388 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/1.156, allocations: 2.443 MB / 0.5975 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/1.177, allocations: 4.883 MB / 0.6022 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005898/1.177, allocations: 340.7 kB / 0.6026 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002588/1.18, allocations: 435.8 kB / 0.603 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4174/1.597, allocations: 10.54 MB / 0.6133 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005023/1.598, allocations: 59.48 kB / 0.6133 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/1.6, allocations: 216.1 kB / 0.6135 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003318/1.604, allocations: 1.039 MB / 0.6146 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/1.632, allocations: 7.992 MB / 0.6224 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.073/1.705, allocations: 48.05 MB / 0.6693 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.718, allocations: 3.177 MB / 0.6724 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/1.721, allocations: 1.019 MB / 0.6734 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/1.734, allocations: 5.978 MB / 0.6792 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.734, allocations: 62.25 kB / 0.6793 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=148): time 5.541e-06/1.734, allocations: 0 / 0.6793 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.03555/1.769, allocations: 8.638 MB / 0.6877 GB, free: 76.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/1.769, allocations: 199 kB / 0.6879 GB, free: 76.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008099/1.778, allocations: 3.547 MB / 0.6914 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/1.778, allocations: 49.17 kB / 0.6914 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/1.781, allocations: 3.176 MB / 0.6945 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008567/1.782, allocations: 0.6394 MB / 0.6951 GB, free: 72.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/1.782, allocations: 122.2 kB / 0.6953 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003773/1.783, allocations: 0.5601 MB / 0.6958 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/1.787, allocations: 1.552 MB / 0.6973 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006431/1.793, allocations: 5.34 MB / 0.7025 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/1.799, allocations: 2.893 MB / 0.7054 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/1.8, allocations: 38.78 kB / 0.7054 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01607/1.816, allocations: 6.291 MB / 0.7115 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.816, allocations: 66.91 kB / 0.7116 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/1.816, allocations: 141.4 kB / 0.7117 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/1.816, allocations: 196.8 kB / 0.7119 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008607/1.825, allocations: 1.442 MB / 0.7133 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002523/1.825, allocations: 268.2 kB / 0.7136 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/1.832, allocations: 380 kB / 0.714 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.833, allocations: 374.8 kB / 0.7143 GB, free: 61.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (763): * Single equations (assignments): 760 * 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.001198/1.835, allocations: 0.5759 MB / 0.7149 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008042/1.835, allocations: 354.8 kB / 0.7152 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/1.839, allocations: 1.311 MB / 0.7165 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/1.839, allocations: 24.52 kB / 0.7165 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.839, allocations: 1.719 kB / 0.7165 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/1.839, allocations: 6.562 kB / 0.7165 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/1.855, allocations: 5.779 MB / 0.7222 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/1.855, allocations: 15.41 kB / 0.7222 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.857, allocations: 283.9 kB / 0.7225 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/1.857, allocations: 34.31 kB / 0.7225 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.857, allocations: 46.06 kB / 0.7225 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-05/1.857, allocations: 37.64 kB / 0.7226 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.011e-05/1.857, allocations: 26.28 kB / 0.7226 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/1.863, allocations: 5.286 MB / 0.7278 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.864, allocations: 431.1 kB / 0.7282 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/1.865, allocations: 57.42 kB / 0.7282 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.867, allocations: 92.95 kB / 0.7283 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.867, allocations: 146.8 kB / 0.7285 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.867, allocations: 73.92 kB / 0.7285 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005098/1.872, allocations: 2.444 MB / 0.7309 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/1.872, allocations: 0 / 0.7309 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006611/1.879, allocations: 0.9179 MB / 0.7318 GB, free: 51.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (146): * Single equations (assignments): 143 * 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.006457/1.886, allocations: 10.18 MB / 0.7417 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007418/1.893, allocations: 3.443 MB / 0.7451 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/1.893, allocations: 0 / 0.7451 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/1.894, allocations: 0.7145 MB / 0.7458 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.898, allocations: 441.5 kB / 0.7462 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.921, allocations: 8.499 MB / 0.7545 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005574/1.927, allocations: 3.263 MB / 0.7577 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008472/1.936, allocations: 1.818 MB / 0.7595 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00403/1.94, allocations: 1.861 MB / 0.7613 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.465e-06/1.94, allocations: 0 / 0.7613 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.566/2.506, allocations: 67.71 MB / 0.8274 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/2.506, allocations: 138.9 kB / 0.8276 GB, free: 123 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.838/8.344, allocations: 0 / 0.8276 GB, free: 123 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat