Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.268/2.268, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.045e-05, allocations: 4.062 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.5815, allocations: 90.24 MB / 384.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5819, allocations: 84.33 kB / 384.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3786/0.9605, allocations: 70.3 MB / 454.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.39e-06/0.9605, allocations: 4 kB / 454.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002651/0.9608, allocations: 67.98 kB / 455 MB, free: 0.6641 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01483/0.9757, allocations: 3.361 MB / 458.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.9757, allocations: 8.031 kB / 458.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/0.9974, allocations: 2.078 MB / 460.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/1.025, allocations: 4.014 MB / 464.4 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/1.026, allocations: 108 kB / 464.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002718/1.028, allocations: 207.8 kB / 464.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02428/1.053, allocations: 5.026 MB / 469.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/1.089, allocations: 7.947 MB / 477.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005286/1.089, allocations: 55.47 kB / 477.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002404/1.092, allocations: 28 kB / 477.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003857/1.096, allocations: 0.8721 MB / 478.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4866/1.583, allocations: 40.96 MB / 0.5075 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/1.588, allocations: 2.469 MB / 0.5099 GB, free: 65.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/1.592, allocations: 1.374 MB / 0.5112 GB, free: 65.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/1.593, allocations: 328.2 kB / 0.5115 GB, free: 64.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/1.593, allocations: 49.5 kB / 0.5116 GB, free: 64.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.851e-06/1.593, allocations: 0 / 0.5116 GB, free: 64.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=130): time 0.03752/1.63, allocations: 11.25 MB / 0.5226 GB, free: 61.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/1.63, allocations: 170.7 kB / 0.5227 GB, free: 61.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006399/1.637, allocations: 2.782 MB / 0.5254 GB, free: 61.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003576/1.637, allocations: 25.7 kB / 0.5255 GB, free: 61.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002457/1.64, allocations: 2.771 MB / 0.5282 GB, free: 59.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000829/1.64, allocations: 0.5064 MB / 0.5287 GB, free: 59.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000586/1.641, allocations: 0 / 0.5287 GB, free: 59.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003871/1.641, allocations: 0.5396 MB / 0.5292 GB, free: 59.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.645, allocations: 1.59 MB / 0.5307 GB, free: 59.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006511/1.652, allocations: 5.097 MB / 0.5357 GB, free: 54.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006756/1.659, allocations: 2.85 MB / 0.5385 GB, free: 54.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.659, allocations: 37.62 kB / 0.5385 GB, free: 54.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01793/1.677, allocations: 5.996 MB / 0.5444 GB, free: 53.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.677, allocations: 61.94 kB / 0.5445 GB, free: 53.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/1.677, allocations: 131.4 kB / 0.5446 GB, free: 53.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.678, allocations: 346.2 kB / 0.5449 GB, free: 53.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008615/1.687, allocations: 1.325 MB / 0.5462 GB, free: 53.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/1.69, allocations: 2.242 MB / 0.5484 GB, free: 51.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/1.696, allocations: 196 kB / 0.5486 GB, free: 51.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.698, allocations: 341 kB / 0.5489 GB, free: 51.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (686): * Single equations (assignments): 682 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001446/1.699, allocations: 430.7 kB / 0.5493 GB, free: 51.36 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008643/1.708, allocations: 2.625 MB / 0.5519 GB, free: 50.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00077/1.709, allocations: 279.2 kB / 0.5522 GB, free: 50.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007983/1.717, allocations: 2.245 MB / 0.5543 GB, free: 49.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/1.717, allocations: 15.78 kB / 0.5544 GB, free: 49.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.717, allocations: 7.922 kB / 0.5544 GB, free: 49.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/1.717, allocations: 6.188 kB / 0.5544 GB, free: 49.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/1.735, allocations: 5.602 MB / 0.5598 GB, free: 47.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.735, allocations: 3.375 kB / 0.5598 GB, free: 47.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.737, allocations: 176.6 kB / 0.56 GB, free: 47.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.741, allocations: 0.7067 MB / 0.5607 GB, free: 47.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.741, allocations: 11.16 kB / 0.5607 GB, free: 47.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009068/1.75, allocations: 4.294 MB / 0.5649 GB, free: 44.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.75, allocations: 3.938 kB / 0.5649 GB, free: 44.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/1.764, allocations: 4.394 MB / 0.5692 GB, free: 43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.766, allocations: 0.5032 MB / 0.5697 GB, free: 42.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007548/1.767, allocations: 4 kB / 0.5697 GB, free: 42.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.769, allocations: 50.03 kB / 0.5697 GB, free: 42.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/1.769, allocations: 67.19 kB / 0.5698 GB, free: 42.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.769, allocations: 41.38 kB / 0.5699 GB, free: 42.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00429/1.774, allocations: 1.843 MB / 0.5717 GB, free: 40.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.774, allocations: 0 / 0.5717 GB, free: 40.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00699/1.781, allocations: 0.6994 MB / 0.5723 GB, free: 40.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01254/1.793, allocations: 5.371 MB / 0.5776 GB, free: 35.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009493/1.803, allocations: 3.751 MB / 0.5812 GB, free: 31.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.803, allocations: 0 / 0.5812 GB, free: 31.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/1.806, allocations: 1.076 MB / 0.5823 GB, free: 30.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/1.809, allocations: 286.4 kB / 0.5826 GB, free: 30.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06056/1.869, allocations: 6.831 MB / 0.5892 GB, free: 24.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/1.879, allocations: 2.842 MB / 0.592 GB, free: 22.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.015/1.895, allocations: 1.717 MB / 0.5937 GB, free: 21.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006771/1.901, allocations: 1.508 MB / 0.5952 GB, free: 20.13 MB / 394.7 MB Notification: Performance of SimCode: time 2.705e-06/1.901, allocations: 0 / 0.5952 GB, free: 20.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6427/2.544, allocations: 59.19 MB / 0.653 GB, free: 99.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002696/2.544, allocations: 161.8 kB / 0.6531 GB, free: 99.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.039/8.583, allocations: 0 / 0.6531 GB, free: 99.58 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat