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.664/1.664, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.339e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2551, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.3951, allocations: 79.74 MB / 338.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.3954, allocations: 79.95 kB / 338.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5039/0.8993, allocations: 75.68 MB / 413.8 MB, free: 61.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8994, allocations: 0 / 413.8 MB, free: 61.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001952/0.8996, allocations: 79.94 kB / 413.9 MB, free: 61.07 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.02065/0.9203, allocations: 4.043 MB / 418 MB, free: 56.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.9203, allocations: 8.031 kB / 418 MB, free: 56.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/0.9372, allocations: 2.23 MB / 420.2 MB, free: 54.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.9532, allocations: 4.333 MB / 424.5 MB, free: 50.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.9534, allocations: 136 kB / 424.7 MB, free: 50.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.9553, allocations: 240 kB / 424.9 MB, free: 50.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01333/0.9687, allocations: 5.704 MB / 430.6 MB, free: 44.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.9887, allocations: 9.015 MB / 439.6 MB, free: 34.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.989, allocations: 55.5 kB / 439.7 MB, free: 34.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009639/0.9899, allocations: 32 kB / 439.7 MB, free: 34.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.9919, allocations: 0.9818 MB / 440.7 MB, free: 33.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0762/1.068, allocations: 47.61 MB / 488.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00673/1.075, allocations: 2.258 MB / 490.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/1.079, allocations: 1.181 MB / 491.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/1.079, allocations: 15.5 kB / 491.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.117e-05/1.079, allocations: 55.28 kB / 491.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=137): time 8.206e-06/1.079, allocations: 0 / 491.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=144): time 0.04995/1.129, allocations: 8.871 MB / 0.489 GB, free: 3.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.13, allocations: 141.3 kB / 0.4891 GB, free: 3.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.141, allocations: 2.934 MB / 0.4919 GB, free: 224 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005094/1.142, allocations: 33.64 kB / 0.492 GB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2839/1.425, allocations: 3.11 MB / 0.495 GB, free: 85.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009636/1.427, allocations: 0.5839 MB / 0.4956 GB, free: 85.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/1.427, allocations: 0.5312 kB / 0.4956 GB, free: 85.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000415/1.427, allocations: 0.5702 MB / 0.4961 GB, free: 85.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004604/1.432, allocations: 1.829 MB / 0.4979 GB, free: 85.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/1.439, allocations: 5.827 MB / 0.5036 GB, free: 80.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006636/1.446, allocations: 3.24 MB / 0.5068 GB, free: 80 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.446, allocations: 46.27 kB / 0.5068 GB, free: 80 MB / 346.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.0222/1.468, allocations: 7.798 MB / 0.5144 GB, free: 79.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.887e-05/1.468, allocations: 66.22 kB / 0.5145 GB, free: 79.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009046/1.477, allocations: 2.58 MB / 0.517 GB, free: 79.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007354/1.484, allocations: 1.422 MB / 0.5184 GB, free: 79.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007929/1.492, allocations: 1.415 MB / 0.5198 GB, free: 78.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/1.499, allocations: 5.06 MB / 0.5247 GB, free: 75.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007011/1.506, allocations: 310.8 kB / 0.525 GB, free: 75.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.507, allocations: 398.6 kB / 0.5254 GB, free: 75.56 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * 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 (750): * Single equations (assignments): 740 * 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.001501/1.509, allocations: 464.2 kB / 0.5259 GB, free: 75.18 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01538/1.524, allocations: 3.353 MB / 0.5291 GB, free: 74.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.525, allocations: 297.9 kB / 0.5294 GB, free: 73.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/1.559, allocations: 2.888 MB / 0.5322 GB, free: 73.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02444/1.584, allocations: 2.476 MB / 0.5347 GB, free: 72.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/1.584, allocations: 0 / 0.5347 GB, free: 72.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-05/1.584, allocations: 12.84 kB / 0.5347 GB, free: 72.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.598, allocations: 5.228 MB / 0.5398 GB, free: 70.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/1.598, allocations: 0 / 0.5398 GB, free: 70.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.599, allocations: 174.3 kB / 0.5399 GB, free: 70.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007741/1.607, allocations: 1.415 MB / 0.5413 GB, free: 69.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/1.607, allocations: 18 kB / 0.5413 GB, free: 69.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008461/1.616, allocations: 5.649 MB / 0.5469 GB, free: 64.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009499/1.617, allocations: 1.387 MB / 0.5482 GB, free: 62.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/1.63, allocations: 5.106 MB / 0.5532 GB, free: 58.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009231/1.631, allocations: 351.2 kB / 0.5535 GB, free: 58.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/1.631, allocations: 12 kB / 0.5535 GB, free: 58.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.634, allocations: 115.2 kB / 0.5537 GB, free: 58.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.634, allocations: 90.61 kB / 0.5537 GB, free: 58.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.634, allocations: 40.42 kB / 0.5538 GB, free: 58.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0034/1.638, allocations: 1.91 MB / 0.5556 GB, free: 56.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.638, allocations: 2.953 kB / 0.5556 GB, free: 56.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006349/1.644, allocations: 0.8613 MB / 0.5565 GB, free: 55.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET12441432456.x[3],$STATESET12441432456.x[2],$STATESET12441432456.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 (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/1.655, allocations: 5.716 MB / 0.5621 GB, free: 50.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01169/1.667, allocations: 4.853 MB / 0.5668 GB, free: 46.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.667, allocations: 0 / 0.5668 GB, free: 46.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005726/1.673, allocations: 1.941 MB / 0.5687 GB, free: 44.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.675, allocations: 276.3 kB / 0.569 GB, free: 44.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02405/1.7, allocations: 8.333 MB / 0.5771 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004306/1.704, allocations: 3.114 MB / 0.5801 GB, free: 34.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007198/1.711, allocations: 1.838 MB / 0.5819 GB, free: 33.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003066/1.714, allocations: 1.698 MB / 0.5836 GB, free: 31.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/1.714, allocations: 0 / 0.5836 GB, free: 31.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/2.198, allocations: 67.33 MB / 0.6494 GB, free: 85.03 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/2.198, allocations: 159.3 kB / 0.6495 GB, free: 84.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/6.669, allocations: 0 / 0.6495 GB, free: 84.84 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