Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.252e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09505, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5313, allocations: 90.28 MB / 390.2 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5316, allocations: 84.81 kB / 390.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3683/0.8999, allocations: 91.79 MB / 482.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9, allocations: 0 / 482.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002867/0.9003, allocations: 88 kB / 482.2 MB, free: 5.684 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.02646/0.9268, allocations: 4.624 MB / 486.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.9268, allocations: 8.031 kB / 486.8 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00423/0.9311, allocations: 0.8361 MB / 487.7 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0226/0.9537, allocations: 2.681 MB / 490.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/0.9764, allocations: 5.547 MB / 495.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005525/0.977, allocations: 353.2 kB / 496.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002733/0.9797, allocations: 467.8 kB / 496.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04176/1.022, allocations: 12.27 MB / 0.497 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002635/1.022, allocations: 67.34 kB / 0.4971 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001746/1.024, allocations: 231.9 kB / 0.4973 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003199/1.027, allocations: 1.167 MB / 0.4985 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3199/1.347, allocations: 9.922 MB / 0.5081 GB, free: 70.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07963/1.426, allocations: 52.33 MB / 0.5593 GB, free: 38.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/1.444, allocations: 4.034 MB / 0.5632 GB, free: 37.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/1.448, allocations: 1.594 MB / 0.5648 GB, free: 37.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/1.466, allocations: 7.406 MB / 0.572 GB, free: 34.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.466, allocations: 65.7 kB / 0.572 GB, free: 34.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 7.594e-06/1.466, allocations: 0 / 0.572 GB, free: 34.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.06446/1.531, allocations: 13.82 MB / 0.5855 GB, free: 29.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001355/1.532, allocations: 1.594 MB / 0.5871 GB, free: 28.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009027/1.541, allocations: 3.666 MB / 0.5907 GB, free: 26.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000495/1.542, allocations: 53.39 kB / 0.5907 GB, free: 26.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.545, allocations: 3.375 MB / 0.594 GB, free: 24.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.546, allocations: 0.7482 MB / 0.5948 GB, free: 23.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/1.547, allocations: 133.5 kB / 0.5949 GB, free: 23.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005653/1.548, allocations: 0.5815 MB / 0.5955 GB, free: 23.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005407/1.553, allocations: 2.1 MB / 0.5975 GB, free: 22.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008206/1.561, allocations: 6.154 MB / 0.6035 GB, free: 16.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008073/1.569, allocations: 3.542 MB / 0.607 GB, free: 15.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.57, allocations: 44.33 kB / 0.607 GB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02509/1.595, allocations: 8.755 MB / 0.6156 GB, free: 12.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.595, allocations: 70.53 kB / 0.6156 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008696/1.604, allocations: 2.689 MB / 0.6183 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005678/1.609, allocations: 1.089 MB / 0.6193 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009428/1.619, allocations: 1.57 MB / 0.6209 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/1.625, allocations: 4.372 MB / 0.6251 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008884/1.634, allocations: 0.5011 MB / 0.6256 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/1.636, allocations: 412 kB / 0.626 GB, free: 4.863 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (825): * Single equations (assignments): 816 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001976/1.638, allocations: 0.6163 MB / 0.6266 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009021/1.638, allocations: 371.2 kB / 0.627 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009916/1.648, allocations: 3.128 MB / 0.63 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009991/1.658, allocations: 2.67 MB / 0.6326 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/1.659, allocations: 7.953 kB / 0.6326 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/1.659, allocations: 7.734 kB / 0.6326 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03209/1.691, allocations: 9.957 MB / 0.6424 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/1.691, allocations: 12 kB / 0.6424 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00307/1.694, allocations: 352.1 kB / 0.6427 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005484/1.699, allocations: 0.9855 MB / 0.6437 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005059/1.7, allocations: 58.61 kB / 0.6437 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008274/1.708, allocations: 4.594 MB / 0.6482 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001501/1.71, allocations: 1.458 MB / 0.6496 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/1.726, allocations: 7.143 MB / 0.6566 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.729, allocations: 0.6508 MB / 0.6573 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.73, allocations: 58.53 kB / 0.6573 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003956/1.734, allocations: 173.9 kB / 0.6575 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007684/1.735, allocations: 160 kB / 0.6576 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/1.735, allocations: 71.36 kB / 0.6577 GB, free: 8.574 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007373/1.742, allocations: 2.512 MB / 0.6601 GB, free: 6.336 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.742, allocations: 0 / 0.6601 GB, free: 6.336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00842/1.751, allocations: 1.122 MB / 0.6612 GB, free: 5.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($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],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 157 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3012/2.052, allocations: 10.76 MB / 0.6717 GB, free: 95.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01594/2.068, allocations: 5.633 MB / 0.6772 GB, free: 95.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/2.068, allocations: 2.656 kB / 0.6772 GB, free: 95.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006433/2.075, allocations: 2.105 MB / 0.6793 GB, free: 94.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/2.078, allocations: 451 kB / 0.6797 GB, free: 94.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/2.107, allocations: 10.18 MB / 0.6897 GB, free: 92.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006897/2.114, allocations: 3.494 MB / 0.6931 GB, free: 91.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008668/2.123, allocations: 1.995 MB / 0.695 GB, free: 91.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00425/2.127, allocations: 2.043 MB / 0.697 GB, free: 91.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/2.127, allocations: 7.562 kB / 0.697 GB, free: 91.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1984/2.326, allocations: 80.66 MB / 0.7758 GB, free: 47.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/2.326, allocations: 205.7 kB / 0.776 GB, free: 47.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.755/8.081, allocations: 4 kB / 0.776 GB, free: 47.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat