Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.994e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2875, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.434, allocations: 80.41 MB / 344.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.4344, allocations: 83.95 kB / 344.4 MB, free: 9.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5344/0.9688, allocations: 77.56 MB / 421.9 MB, free: 51.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9689, allocations: 0 / 421.9 MB, free: 51.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001976/0.9691, allocations: 87.81 kB / 422 MB, free: 51.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.02077/0.9899, allocations: 4.044 MB / 426.1 MB, free: 47.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.9899, allocations: 12.03 kB / 426.1 MB, free: 47.06 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002971/0.9929, allocations: 0.7457 MB / 426.8 MB, free: 46.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/1.01, allocations: 2.226 MB / 429 MB, free: 44.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/1.028, allocations: 4.331 MB / 433.4 MB, free: 39.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/1.028, allocations: 312.2 kB / 433.7 MB, free: 39.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/1.03, allocations: 407.9 kB / 434.1 MB, free: 38.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/1.058, allocations: 10.11 MB / 444.2 MB, free: 27.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/1.058, allocations: 63.44 kB / 444.3 MB, free: 27.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/1.059, allocations: 203.9 kB / 444.5 MB, free: 27.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/1.061, allocations: 0.9781 MB / 445.4 MB, free: 26.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/1.086, allocations: 7.779 MB / 453.2 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07156/1.157, allocations: 48.24 MB / 0.4897 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2579/1.415, allocations: 3.533 MB / 0.4931 GB, free: 81.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/1.418, allocations: 1.304 MB / 0.4944 GB, free: 81.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/1.434, allocations: 6.505 MB / 0.5008 GB, free: 79.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.434, allocations: 62.09 kB / 0.5008 GB, free: 79.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.36e-06/1.434, allocations: 0 / 0.5008 GB, free: 79.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.04382/1.478, allocations: 9.575 MB / 0.5102 GB, free: 77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001538/1.48, allocations: 1.574 MB / 0.5117 GB, free: 75.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009043/1.489, allocations: 3.326 MB / 0.515 GB, free: 75.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004257/1.49, allocations: 44.69 kB / 0.515 GB, free: 75.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.493, allocations: 3.077 MB / 0.518 GB, free: 73.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.494, allocations: 0.5807 MB / 0.5186 GB, free: 72.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009004/1.495, allocations: 117.2 kB / 0.5187 GB, free: 72.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005571/1.495, allocations: 0.5604 MB / 0.5192 GB, free: 72.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/1.5, allocations: 1.886 MB / 0.5211 GB, free: 72.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007757/1.508, allocations: 5.732 MB / 0.5267 GB, free: 66.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/1.515, allocations: 3.276 MB / 0.5299 GB, free: 65.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/1.516, allocations: 44.25 kB / 0.5299 GB, free: 65.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02672/1.542, allocations: 8.071 MB / 0.5378 GB, free: 63.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.543, allocations: 66.16 kB / 0.5379 GB, free: 63.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01047/1.553, allocations: 2.649 MB / 0.5405 GB, free: 62.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009218/1.562, allocations: 1.534 MB / 0.542 GB, free: 62.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00825/1.571, allocations: 1.36 MB / 0.5433 GB, free: 60.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/1.578, allocations: 5.166 MB / 0.5483 GB, free: 55.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008127/1.586, allocations: 437.8 kB / 0.5487 GB, free: 55.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.588, allocations: 385 kB / 0.5491 GB, free: 55.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (720): * Single equations (assignments): 710 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.002176/1.59, allocations: 0.57 MB / 0.5497 GB, free: 54.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008506/1.591, allocations: 315.9 kB / 0.55 GB, free: 54.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.602, allocations: 3.004 MB / 0.5529 GB, free: 51.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009942/1.612, allocations: 2.54 MB / 0.5554 GB, free: 49.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/1.612, allocations: 4 kB / 0.5554 GB, free: 49.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/1.613, allocations: 11.22 kB / 0.5554 GB, free: 49.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/1.623, allocations: 3.551 MB / 0.5589 GB, free: 47.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/1.623, allocations: 0 / 0.5589 GB, free: 47.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.624, allocations: 170.5 kB / 0.559 GB, free: 47.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009396/1.634, allocations: 1.426 MB / 0.5604 GB, free: 46.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004674/1.634, allocations: 30.86 kB / 0.5604 GB, free: 45.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.647, allocations: 5.739 MB / 0.5661 GB, free: 40.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001629/1.649, allocations: 1.459 MB / 0.5675 GB, free: 39.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/1.669, allocations: 5.137 MB / 0.5725 GB, free: 34.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.67, allocations: 379 kB / 0.5729 GB, free: 34.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/1.672, allocations: 27.2 kB / 0.5729 GB, free: 34.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00442/1.676, allocations: 136.2 kB / 0.573 GB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006832/1.677, allocations: 89.34 kB / 0.5731 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/1.677, allocations: 39.05 kB / 0.5731 GB, free: 34.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.008059/1.686, allocations: 2.269 MB / 0.5753 GB, free: 32.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.076e-06/1.686, allocations: 0 / 0.5753 GB, free: 32.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01015/1.696, allocations: 0.9724 MB / 0.5763 GB, free: 31.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01801/1.714, allocations: 5.739 MB / 0.5819 GB, free: 26.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01342/1.727, allocations: 4.86 MB / 0.5866 GB, free: 21.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.727, allocations: 4.188 kB / 0.5867 GB, free: 21.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006759/1.734, allocations: 1.91 MB / 0.5885 GB, free: 20.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.737, allocations: 348.6 kB / 0.5889 GB, free: 19.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/1.765, allocations: 8.476 MB / 0.5971 GB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006304/1.772, allocations: 3.121 MB / 0.6002 GB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007819/1.78, allocations: 1.771 MB / 0.6019 GB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00385/1.784, allocations: 1.706 MB / 0.6036 GB, free: 4.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/1.784, allocations: 0 / 0.6036 GB, free: 4.828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4106/2.194, allocations: 71.22 MB / 0.6731 GB, free: 65.89 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/2.194, allocations: 193.7 kB / 0.6733 GB, free: 65.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.904/7.099, allocations: 3.938 kB / 0.6733 GB, free: 65.66 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat