Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.488/2.488, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.972e-05, allocations: 4.312 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6082, allocations: 84.37 MB / 378.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.6086, allocations: 84.52 kB / 378.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3235/0.9321, allocations: 55.62 MB / 434.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.9322, allocations: 3.938 kB / 434.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.9323, allocations: 44 kB / 434.4 MB, free: 3.621 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.02156/0.9539, allocations: 2.903 MB / 437.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.954, allocations: 8.031 kB / 437.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.9753, allocations: 2.052 MB / 439.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/0.9938, allocations: 3.592 MB / 443 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.994, allocations: 76 kB / 443.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.9957, allocations: 147.9 kB / 443.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01294/1.009, allocations: 3.998 MB / 447.2 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/1.027, allocations: 6.165 MB / 453.4 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/1.028, allocations: 47.64 kB / 453.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006684/1.028, allocations: 27.95 kB / 453.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002149/1.03, allocations: 0.6983 MB / 454.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05955/1.09, allocations: 31 MB / 485.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.095, allocations: 1.986 MB / 487.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/1.098, allocations: 0.9612 MB / 488.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/1.099, allocations: 0.6472 MB / 488.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/1.099, allocations: 50.88 kB / 488.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 6.031e-06/1.099, allocations: 0 / 488.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=124): time 0.04589/1.145, allocations: 8.133 MB / 496.9 MB, free: 3.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/1.146, allocations: 145 kB / 497.1 MB, free: 3.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/1.154, allocations: 2.126 MB / 499.2 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004855/1.154, allocations: 25.7 kB / 499.2 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3179/1.472, allocations: 2.088 MB / 0.4895 GB, free: 103.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.473, allocations: 0.4903 MB / 0.49 GB, free: 103 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/1.474, allocations: 1.641 kB / 0.49 GB, free: 103 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006008/1.475, allocations: 0.5453 MB / 0.4906 GB, free: 102.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004983/1.48, allocations: 1.524 MB / 0.492 GB, free: 102.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007608/1.487, allocations: 4.377 MB / 0.4963 GB, free: 98.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008373/1.496, allocations: 2.576 MB / 0.4988 GB, free: 98.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/1.496, allocations: 29.75 kB / 0.4989 GB, free: 98.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.02959/1.526, allocations: 6.43 MB / 0.5051 GB, free: 98.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.526, allocations: 47.44 kB / 0.5052 GB, free: 98.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01303/1.539, allocations: 2.446 MB / 0.5076 GB, free: 98.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/1.551, allocations: 1.478 MB / 0.509 GB, free: 98.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007943/1.559, allocations: 1.048 MB / 0.51 GB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.576, allocations: 6.96 MB / 0.5168 GB, free: 95.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007454/1.584, allocations: 282.9 kB / 0.5171 GB, free: 95.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.585, allocations: 292 kB / 0.5174 GB, free: 95.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (558): * Single equations (assignments): 550 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001338/1.586, allocations: 363.6 kB / 0.5177 GB, free: 95.42 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01461/1.601, allocations: 3.116 MB / 0.5208 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009145/1.602, allocations: 212.8 kB / 0.521 GB, free: 95.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.616, allocations: 2.718 MB / 0.5236 GB, free: 94.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01248/1.628, allocations: 2.412 MB / 0.526 GB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.107e-05/1.628, allocations: 3.938 kB / 0.526 GB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/1.628, allocations: 6.703 kB / 0.526 GB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/1.656, allocations: 6.629 MB / 0.5325 GB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/1.656, allocations: 3.906 kB / 0.5325 GB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.658, allocations: 179.5 kB / 0.5326 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01086/1.669, allocations: 1.399 MB / 0.534 GB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004002/1.669, allocations: 21.8 kB / 0.534 GB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/1.688, allocations: 7.17 MB / 0.541 GB, free: 87.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001347/1.689, allocations: 1.392 MB / 0.5424 GB, free: 86.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/1.707, allocations: 4.809 MB / 0.5471 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000911/1.708, allocations: 285.2 kB / 0.5474 GB, free: 84.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009462/1.709, allocations: 11.14 kB / 0.5474 GB, free: 84.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.712, allocations: 114.9 kB / 0.5475 GB, free: 84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006349/1.713, allocations: 75.39 kB / 0.5476 GB, free: 83.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.713, allocations: 39.56 kB / 0.5476 GB, free: 83.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003884/1.717, allocations: 1.392 MB / 0.549 GB, free: 82.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.717, allocations: 0.5469 kB / 0.549 GB, free: 82.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01112/1.728, allocations: 0.6773 MB / 0.5496 GB, free: 82.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET4504347016.x[3],$STATESET4504347016.x[2],$STATESET4504347016.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02539/1.754, allocations: 5.643 MB / 0.5551 GB, free: 77.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01556/1.77, allocations: 4.08 MB / 0.5591 GB, free: 73.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.77, allocations: 4 kB / 0.5591 GB, free: 73.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.776, allocations: 1.669 MB / 0.5607 GB, free: 72.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.779, allocations: 195.8 kB / 0.5609 GB, free: 71.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.801, allocations: 6.201 MB / 0.567 GB, free: 66.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/1.805, allocations: 2.318 MB / 0.5692 GB, free: 64.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007998/1.813, allocations: 1.47 MB / 0.5707 GB, free: 63.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003228/1.816, allocations: 1.081 MB / 0.5717 GB, free: 62.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/1.816, allocations: 0 / 0.5717 GB, free: 62.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2417/2.058, allocations: 51.2 MB / 0.6217 GB, free: 11.71 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002672/2.058, allocations: 170.6 kB / 0.6219 GB, free: 11.51 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.072/7.131, allocations: 0 / 0.6219 GB, free: 11.51 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat