Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.403e-05, allocations: 0 / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5724, allocations: 92.84 MB / 409.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5727, allocations: 85.58 kB / 409.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3455/0.9182, allocations: 80.27 MB / 490.2 MB, free: 1.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9183, allocations: 0 / 490.2 MB, free: 1.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002468/0.9186, allocations: 87.94 kB / 490.3 MB, free: 1.629 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.02263/0.9412, allocations: 4.146 MB / 494.5 MB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.9413, allocations: 11.97 kB / 494.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003132/0.9444, allocations: 0.7782 MB / 495.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.9627, allocations: 2.252 MB / 497.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/0.9813, allocations: 4.405 MB / 0.4901 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004898/0.9819, allocations: 324.5 kB / 0.4904 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/0.9842, allocations: 423.9 kB / 0.4908 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/1.018, allocations: 10.47 MB / 0.5011 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/1.018, allocations: 59.5 kB / 0.5011 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/1.02, allocations: 211.9 kB / 0.5013 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002725/1.023, allocations: 1.025 MB / 0.5023 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02827/1.051, allocations: 8.092 MB / 0.5102 GB, free: 200 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.362/1.413, allocations: 49.13 MB / 0.5582 GB, free: 65.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/1.431, allocations: 3.928 MB / 0.562 GB, free: 64.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/1.434, allocations: 1.386 MB / 0.5634 GB, free: 64.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/1.451, allocations: 7.665 MB / 0.5709 GB, free: 61.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.451, allocations: 52.44 kB / 0.5709 GB, free: 61.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 6.062e-06/1.451, allocations: 0 / 0.5709 GB, free: 61.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.04356/1.494, allocations: 10.12 MB / 0.5808 GB, free: 57.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001329/1.496, allocations: 1.584 MB / 0.5824 GB, free: 55.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007671/1.503, allocations: 3.364 MB / 0.5856 GB, free: 54.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004319/1.504, allocations: 50.31 kB / 0.5857 GB, free: 54.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002786/1.507, allocations: 3.124 MB / 0.5887 GB, free: 52.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.508, allocations: 0.6523 MB / 0.5894 GB, free: 51.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/1.509, allocations: 122.5 kB / 0.5895 GB, free: 51.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004675/1.509, allocations: 0.5652 MB / 0.5901 GB, free: 51.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/1.514, allocations: 1.937 MB / 0.5919 GB, free: 50.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007393/1.522, allocations: 5.803 MB / 0.5976 GB, free: 44.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007223/1.529, allocations: 3.336 MB / 0.6009 GB, free: 43.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/1.529, allocations: 41.12 kB / 0.6009 GB, free: 43.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.03285/1.562, allocations: 8.226 MB / 0.6089 GB, free: 41.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/1.562, allocations: 65.28 kB / 0.609 GB, free: 41.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01568/1.578, allocations: 2.759 MB / 0.6117 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/1.592, allocations: 1.527 MB / 0.6132 GB, free: 40.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/1.604, allocations: 1.378 MB / 0.6145 GB, free: 40.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.616, allocations: 5.496 MB / 0.6199 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/1.628, allocations: 446.7 kB / 0.6203 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/1.63, allocations: 386.8 kB / 0.6207 GB, free: 34.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (738): * Single equations (assignments): 728 * 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 {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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.002499/1.632, allocations: 0.5967 MB / 0.6213 GB, free: 34.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.633, allocations: 327.7 kB / 0.6216 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/1.652, allocations: 3.102 MB / 0.6246 GB, free: 31.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01775/1.67, allocations: 2.641 MB / 0.6272 GB, free: 29.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/1.67, allocations: 7.938 kB / 0.6272 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/1.67, allocations: 6.938 kB / 0.6272 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03994/1.71, allocations: 8.557 MB / 0.6356 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/1.71, allocations: 3.953 kB / 0.6356 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/1.713, allocations: 202 kB / 0.6358 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01249/1.726, allocations: 1.422 MB / 0.6372 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005695/1.726, allocations: 38.42 kB / 0.6372 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.74, allocations: 5.695 MB / 0.6428 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001569/1.742, allocations: 1.463 MB / 0.6442 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02181/1.764, allocations: 5.316 MB / 0.6494 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/1.765, allocations: 376.7 kB / 0.6497 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/1.767, allocations: 35.98 kB / 0.6498 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/1.772, allocations: 131.8 kB / 0.6499 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008084/1.773, allocations: 96.7 kB / 0.65 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003316/1.773, allocations: 49.11 kB / 0.65 GB, free: 9.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008745/1.782, allocations: 2.293 MB / 0.6523 GB, free: 7.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.453e-06/1.782, allocations: 3.938 kB / 0.6523 GB, free: 7.547 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01236/1.794, allocations: 1.012 MB / 0.6533 GB, free: 6.543 MB / 426.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 (91): * Single equations (assignments): 83 * 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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.023/1.817, allocations: 6.117 MB / 0.6592 GB, free: 392 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02231/1.84, allocations: 5.082 MB / 0.6642 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.84, allocations: 4 kB / 0.6642 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01061/1.85, allocations: 1.973 MB / 0.6661 GB, free: 9.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.855, allocations: 352.2 kB / 0.6665 GB, free: 8.887 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04701/1.902, allocations: 8.727 MB / 0.675 GB, free: 128 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3009/2.203, allocations: 3.187 MB / 0.6781 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008942/2.212, allocations: 1.815 MB / 0.6799 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004124/2.216, allocations: 1.766 MB / 0.6816 GB, free: 107.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.664e-06/2.216, allocations: 0 / 0.6816 GB, free: 107.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2242/2.44, allocations: 73.58 MB / 0.7535 GB, free: 79.68 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/2.441, allocations: 202.1 kB / 0.7536 GB, free: 79.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.555/7.995, allocations: 3.938 kB / 0.7537 GB, free: 79.44 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat