Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.708e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5443, allocations: 90.61 MB / 412.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5446, allocations: 75.95 kB / 412.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3644/0.9091, allocations: 84.78 MB / 497.3 MB, free: 9.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.9091, allocations: 0 / 497.3 MB, free: 9.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000288/0.9094, allocations: 83.94 kB / 497.4 MB, free: 9.688 MB / 426.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.01506/0.9245, allocations: 3.904 MB / 0.4895 GB, free: 5.719 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.9246, allocations: 12.03 kB / 0.4895 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003257/0.9279, allocations: 0.7583 MB / 0.4903 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/0.9479, allocations: 2.443 MB / 0.4927 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3321/1.28, allocations: 5.103 MB / 0.4977 GB, free: 95.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000637/1.281, allocations: 326.2 kB / 0.498 GB, free: 95.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/1.283, allocations: 426.5 kB / 0.4984 GB, free: 95.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/1.316, allocations: 10.34 MB / 0.5085 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/1.317, allocations: 68.55 kB / 0.5085 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/1.318, allocations: 210.7 kB / 0.5087 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002787/1.321, allocations: 1.013 MB / 0.5097 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02565/1.347, allocations: 7.969 MB / 0.5175 GB, free: 92.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06255/1.41, allocations: 47.45 MB / 0.5638 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/1.421, allocations: 3.009 MB / 0.5668 GB, free: 57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/1.423, allocations: 0.9674 MB / 0.5677 GB, free: 56.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/1.435, allocations: 5.22 MB / 0.5728 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.435, allocations: 46.75 kB / 0.5729 GB, free: 53.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.381e-06/1.435, allocations: 0 / 0.5729 GB, free: 53.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.03113/1.466, allocations: 8.278 MB / 0.581 GB, free: 49.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/1.466, allocations: 195.8 kB / 0.5811 GB, free: 49.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.473, allocations: 3.547 MB / 0.5846 GB, free: 47.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/1.473, allocations: 45.61 kB / 0.5847 GB, free: 47.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/1.476, allocations: 3.075 MB / 0.5877 GB, free: 45.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007782/1.477, allocations: 0.5907 MB / 0.5882 GB, free: 45.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/1.477, allocations: 120.3 kB / 0.5883 GB, free: 44.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003384/1.477, allocations: 0.5594 MB / 0.5889 GB, free: 44.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003398/1.481, allocations: 1.513 MB / 0.5904 GB, free: 44.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00562/1.486, allocations: 5.32 MB / 0.5956 GB, free: 38.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006036/1.493, allocations: 2.842 MB / 0.5983 GB, free: 37.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.493, allocations: 44.78 kB / 0.5984 GB, free: 37.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01636/1.509, allocations: 6.437 MB / 0.6047 GB, free: 34.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.509, allocations: 68.06 kB / 0.6047 GB, free: 34.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/1.509, allocations: 139.4 kB / 0.6049 GB, free: 34.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/1.51, allocations: 200 kB / 0.6051 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008492/1.518, allocations: 1.414 MB / 0.6064 GB, free: 32.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002773/1.519, allocations: 270.9 kB / 0.6067 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006866/1.525, allocations: 370 kB / 0.6071 GB, free: 32.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.527, allocations: 373.2 kB / 0.6074 GB, free: 31.78 MB / 426.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.001172/1.528, allocations: 0.5685 MB / 0.608 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/1.529, allocations: 351.5 kB / 0.6083 GB, free: 30.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.532, allocations: 1.214 MB / 0.6095 GB, free: 29.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/1.532, allocations: 16 kB / 0.6095 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.532, allocations: 11.8 kB / 0.6095 GB, free: 29.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.532, allocations: 6.75 kB / 0.6095 GB, free: 29.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.546, allocations: 5.533 MB / 0.6149 GB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.546, allocations: 16 kB / 0.6149 GB, free: 24.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.548, allocations: 258.7 kB / 0.6152 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.031e-05/1.548, allocations: 24 kB / 0.6152 GB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.548, allocations: 44.59 kB / 0.6152 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.462e-05/1.548, allocations: 39.81 kB / 0.6153 GB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/1.548, allocations: 27.06 kB / 0.6153 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/1.553, allocations: 4.841 MB / 0.62 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.555, allocations: 0.5242 MB / 0.6205 GB, free: 18.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007355/1.556, allocations: 47.61 kB / 0.6206 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/1.559, allocations: 98.8 kB / 0.6207 GB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/1.559, allocations: 124.4 kB / 0.6208 GB, free: 18.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.559, allocations: 61.17 kB / 0.6209 GB, free: 18.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005566/1.565, allocations: 2.446 MB / 0.6233 GB, free: 16.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.565, allocations: 4 kB / 0.6233 GB, free: 16.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006396/1.571, allocations: 0.891 MB / 0.6241 GB, free: 15.42 MB / 426.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.006252/1.577, allocations: 9.184 MB / 0.6331 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007574/1.585, allocations: 3.558 MB / 0.6366 GB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/1.585, allocations: 4 kB / 0.6366 GB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.586, allocations: 0.6926 MB / 0.6373 GB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.59, allocations: 422.2 kB / 0.6377 GB, free: 1.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02922/1.619, allocations: 8.742 MB / 0.6462 GB, free: 9.879 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00712/1.626, allocations: 3.211 MB / 0.6493 GB, free: 7.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004684/1.631, allocations: 1.875 MB / 0.6512 GB, free: 5.703 MB / 442.7 MB Notification: Performance of SimCode: time 3.376e-06/1.631, allocations: 0 / 0.6512 GB, free: 5.703 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.154/5.785, allocations: 75.18 MB / 0.7246 GB, free: 82.94 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat