Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.658/2.658, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.411e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3809, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.5708, allocations: 96.65 MB / 451.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5711, allocations: 75.95 kB / 451.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7011/1.272, allocations: 82.99 MB / 0.5216 GB, free: 43.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.272, allocations: 0 / 0.5216 GB, free: 43.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002393/1.273, allocations: 84 kB / 0.5217 GB, free: 43.15 MB / 394.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.01492/1.287, allocations: 3.901 MB / 0.5255 GB, free: 39.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.288, allocations: 12.03 kB / 0.5255 GB, free: 39.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02146/1.309, allocations: 2.436 MB / 0.5279 GB, free: 36.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/1.328, allocations: 5.114 MB / 0.5329 GB, free: 31.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/1.328, allocations: 140.7 kB / 0.533 GB, free: 31.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/1.33, allocations: 251.9 kB / 0.5333 GB, free: 31.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0157/1.346, allocations: 6.002 MB / 0.5391 GB, free: 25.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/1.368, allocations: 9.265 MB / 0.5482 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002409/1.369, allocations: 63.41 kB / 0.5483 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009873/1.37, allocations: 32 kB / 0.5483 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/1.372, allocations: 1.01 MB / 0.5493 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0759/1.448, allocations: 46.63 MB / 0.5948 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/1.453, allocations: 1.973 MB / 0.5967 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/1.455, allocations: 0.8631 MB / 0.5976 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/1.456, allocations: 0.5643 MB / 0.5981 GB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.488e-05/1.456, allocations: 55.33 kB / 0.5982 GB, free: 9.695 MB / 442.7 MB Notification: Performance of pre-optimization done (n=144): time 5.831e-06/1.456, allocations: 3.938 kB / 0.5982 GB, free: 9.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.03281/1.489, allocations: 8.745 MB / 0.6067 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/1.489, allocations: 252.1 kB / 0.607 GB, free: 0.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007093/1.496, allocations: 3.027 MB / 0.6099 GB, free: 13.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/1.496, allocations: 33.77 kB / 0.61 GB, free: 13.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003702/1.5, allocations: 3.175 MB / 0.6131 GB, free: 10.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.501, allocations: 0.6095 MB / 0.6136 GB, free: 9.602 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/1.502, allocations: 3.938 kB / 0.6137 GB, free: 9.598 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005645/1.502, allocations: 0.5624 MB / 0.6142 GB, free: 9.027 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/1.506, allocations: 1.465 MB / 0.6156 GB, free: 7.559 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007991/1.514, allocations: 5.381 MB / 0.6209 GB, free: 196 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3773/1.891, allocations: 2.806 MB / 0.6236 GB, free: 105.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002331/1.892, allocations: 39.72 kB / 0.6237 GB, free: 105.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.0274/1.919, allocations: 5.934 MB / 0.6295 GB, free: 105.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.919, allocations: 67.78 kB / 0.6295 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003096/1.92, allocations: 145.3 kB / 0.6297 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/1.92, allocations: 203.9 kB / 0.6299 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01532/1.936, allocations: 1.463 MB / 0.6313 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/1.936, allocations: 282.3 kB / 0.6316 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/1.948, allocations: 269.7 kB / 0.6318 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/1.95, allocations: 381.8 kB / 0.6322 GB, free: 105.4 MB / 458.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.002107/1.952, allocations: 461.2 kB / 0.6326 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00642/1.959, allocations: 1.587 MB / 0.6342 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.96, allocations: 324.4 kB / 0.6345 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/1.965, allocations: 1.156 MB / 0.6356 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-05/1.965, allocations: 24.27 kB / 0.6356 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.965, allocations: 0 / 0.6356 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/1.965, allocations: 3.844 kB / 0.6356 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.984, allocations: 5.034 MB / 0.6405 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/1.985, allocations: 13.91 kB / 0.6406 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/1.987, allocations: 272.8 kB / 0.6408 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.075e-05/1.987, allocations: 28 kB / 0.6408 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.987, allocations: 30 kB / 0.6409 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.873e-05/1.987, allocations: 29.69 kB / 0.6409 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.163e-05/1.987, allocations: 26.77 kB / 0.6409 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/1.993, allocations: 4.757 MB / 0.6456 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.995, allocations: 0.4904 MB / 0.6461 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008066/1.996, allocations: 23.94 kB / 0.6461 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.998, allocations: 74.17 kB / 0.6461 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.999, allocations: 134.9 kB / 0.6463 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.999, allocations: 65.62 kB / 0.6463 GB, free: 100.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004925/2.004, allocations: 2.006 MB / 0.6483 GB, free: 100.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.132e-06/2.004, allocations: 2.469 kB / 0.6483 GB, free: 100.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00784/2.012, allocations: 0.7568 MB / 0.649 GB, free: 100.2 MB / 458.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.007808/2.02, allocations: 9.361 MB / 0.6582 GB, free: 92.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008543/2.028, allocations: 3.363 MB / 0.6615 GB, free: 92.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/2.028, allocations: 0 / 0.6615 GB, free: 92.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/2.03, allocations: 0.6911 MB / 0.6621 GB, free: 92.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/2.033, allocations: 344.8 kB / 0.6625 GB, free: 92.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/2.061, allocations: 8.137 MB / 0.6704 GB, free: 89.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006379/2.067, allocations: 3.209 MB / 0.6736 GB, free: 88.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01168/2.079, allocations: 1.875 MB / 0.6754 GB, free: 87.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005655/2.085, allocations: 1.816 MB / 0.6772 GB, free: 86.42 MB / 458.7 MB Notification: Performance of SimCode: time 2.445e-06/2.085, allocations: 0 / 0.6772 GB, free: 86.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1982/2.283, allocations: 61.9 MB / 0.7376 GB, free: 34.64 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000301/2.283, allocations: 125.6 kB / 0.7377 GB, free: 34.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.307/7.59, allocations: 0 / 0.7377 GB, free: 34.45 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat