Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.602/1.602, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.233e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.254, allocations: 38.76 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.4078, allocations: 84.65 MB / 348.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.4082, allocations: 87.89 kB / 348.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6119/1.02, allocations: 91.6 MB / 440.2 MB, free: 33.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.02, allocations: 0 / 440.2 MB, free: 33.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002389/1.02, allocations: 91.94 kB / 440.3 MB, free: 33.29 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.02263/1.043, allocations: 4.621 MB / 444.9 MB, free: 28.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.043, allocations: 8.031 kB / 444.9 MB, free: 28.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002548/1.046, allocations: 0.8322 MB / 445.7 MB, free: 27.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/1.066, allocations: 2.682 MB / 448.4 MB, free: 25.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/1.085, allocations: 5.536 MB / 454 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/1.085, allocations: 353.2 kB / 454.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/1.087, allocations: 467.8 kB / 454.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03326/1.12, allocations: 12.27 MB / 467 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002046/1.12, allocations: 67.39 kB / 467.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000969/1.121, allocations: 227.9 kB / 467.3 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/1.124, allocations: 1.182 MB / 468.5 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03355/1.157, allocations: 9.911 MB / 478.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3303/1.488, allocations: 52.32 MB / 0.5183 GB, free: 35.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.505, allocations: 4.051 MB / 0.5222 GB, free: 34.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/1.508, allocations: 1.59 MB / 0.5238 GB, free: 34.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01589/1.524, allocations: 7.399 MB / 0.531 GB, free: 32.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/1.524, allocations: 63.2 kB / 0.5311 GB, free: 32.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 5.491e-06/1.524, allocations: 0 / 0.5311 GB, free: 32.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.0592/1.583, allocations: 13.82 MB / 0.5446 GB, free: 29.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001283/1.585, allocations: 1.594 MB / 0.5461 GB, free: 28.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00775/1.592, allocations: 3.674 MB / 0.5497 GB, free: 27.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004833/1.593, allocations: 54.67 kB / 0.5498 GB, free: 27.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00279/1.596, allocations: 3.374 MB / 0.5531 GB, free: 25.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.597, allocations: 0.7443 MB / 0.5538 GB, free: 24.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/1.598, allocations: 134.7 kB / 0.5539 GB, free: 24.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004036/1.598, allocations: 0.5784 MB / 0.5545 GB, free: 24.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004771/1.603, allocations: 2.096 MB / 0.5565 GB, free: 23.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00783/1.611, allocations: 6.149 MB / 0.5626 GB, free: 17.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007817/1.619, allocations: 3.534 MB / 0.566 GB, free: 16.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/1.619, allocations: 40.38 kB / 0.566 GB, free: 16.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02402/1.643, allocations: 8.669 MB / 0.5745 GB, free: 12.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.643, allocations: 68 kB / 0.5746 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007839/1.651, allocations: 2.62 MB / 0.5771 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004601/1.656, allocations: 0.9987 MB / 0.5781 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009516/1.665, allocations: 1.587 MB / 0.5797 GB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/1.67, allocations: 4.018 MB / 0.5836 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/1.681, allocations: 0.4915 MB / 0.5841 GB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/1.683, allocations: 411.2 kB / 0.5844 GB, free: 3.684 MB / 346.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 (828): * Single equations (assignments): 819 * 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 {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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002708/1.686, allocations: 0.6086 MB / 0.585 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.687, allocations: 379.1 kB / 0.5854 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.7, allocations: 3.135 MB / 0.5885 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01232/1.713, allocations: 2.795 MB / 0.5912 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.713, allocations: 4 kB / 0.5912 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/1.713, allocations: 7.406 kB / 0.5912 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03104/1.744, allocations: 9.95 MB / 0.6009 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/1.744, allocations: 12 kB / 0.6009 GB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003071/1.747, allocations: 347.9 kB / 0.6013 GB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005389/1.752, allocations: 0.9846 MB / 0.6022 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/1.753, allocations: 56.41 kB / 0.6023 GB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008388/1.761, allocations: 4.58 MB / 0.6068 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001511/1.763, allocations: 1.474 MB / 0.6082 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.779, allocations: 7.15 MB / 0.6152 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/1.782, allocations: 0.656 MB / 0.6158 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.783, allocations: 55.98 kB / 0.6159 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00356/1.787, allocations: 167.8 kB / 0.616 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005337/1.787, allocations: 164.3 kB / 0.6162 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/1.788, allocations: 71.98 kB / 0.6163 GB, free: 7.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00703/1.795, allocations: 2.517 MB / 0.6187 GB, free: 4.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.795, allocations: 0 / 0.6187 GB, free: 4.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008066/1.803, allocations: 1.108 MB / 0.6198 GB, free: 3.641 MB / 378.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.01888/1.822, allocations: 10.76 MB / 0.6303 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01607/1.838, allocations: 5.486 MB / 0.6357 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.838, allocations: 8 kB / 0.6357 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006852/1.845, allocations: 2.111 MB / 0.6377 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.848, allocations: 445.1 kB / 0.6382 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3139/2.162, allocations: 10.16 MB / 0.6481 GB, free: 113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007085/2.169, allocations: 3.495 MB / 0.6515 GB, free: 112.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008788/2.178, allocations: 2 MB / 0.6534 GB, free: 112.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004459/2.183, allocations: 2.042 MB / 0.6554 GB, free: 112.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/2.183, allocations: 0 / 0.6554 GB, free: 112.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1704/2.353, allocations: 80.04 MB / 0.7336 GB, free: 59.23 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/2.353, allocations: 209.5 kB / 0.7338 GB, free: 59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.417/7.771, allocations: 0 / 0.7338 GB, free: 59 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat does not exist to compare? outputFormat=mat