Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.829e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.09998, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.552, allocations: 90.91 MB / 390.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.5523, allocations: 86.02 kB / 391 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2911/0.8435, allocations: 71.68 MB / 462.6 MB, free: 4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.8436, allocations: 0 / 462.6 MB, free: 4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002257/0.8438, allocations: 75.94 kB / 462.7 MB, free: 3.926 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.01392/0.8577, allocations: 3.355 MB / 466.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.8578, allocations: 12.03 kB / 466.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002981/0.8608, allocations: 0.6422 MB / 466.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.8779, allocations: 2.074 MB / 468.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/0.8943, allocations: 4.012 MB / 472.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.8948, allocations: 265.3 kB / 473.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/0.8968, allocations: 341.8 kB / 473.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/0.9225, allocations: 8.798 MB / 482.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002161/0.9228, allocations: 55.47 kB / 482.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.924, allocations: 176.9 kB / 482.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002143/0.9261, allocations: 0.8643 MB / 483.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/0.9495, allocations: 7.058 MB / 490.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3802/1.33, allocations: 42.59 MB / 0.5204 GB, free: 69.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/1.342, allocations: 3.164 MB / 0.5235 GB, free: 68.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/1.346, allocations: 1.41 MB / 0.5249 GB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/1.357, allocations: 4.075 MB / 0.5289 GB, free: 67.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/1.357, allocations: 49.5 kB / 0.5289 GB, free: 67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 5.651e-06/1.357, allocations: 0 / 0.5289 GB, free: 67 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.03843/1.395, allocations: 9.397 MB / 0.5381 GB, free: 64.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.396, allocations: 143.2 kB / 0.5383 GB, free: 64.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007032/1.403, allocations: 3.277 MB / 0.5415 GB, free: 64.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/1.403, allocations: 38.77 kB / 0.5415 GB, free: 64.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.405, allocations: 2.728 MB / 0.5442 GB, free: 62.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/1.406, allocations: 0.5006 MB / 0.5446 GB, free: 62.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/1.407, allocations: 103.5 kB / 0.5447 GB, free: 62.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/1.407, allocations: 0.5268 MB / 0.5453 GB, free: 62.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.411, allocations: 1.631 MB / 0.5468 GB, free: 62.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006239/1.417, allocations: 5.019 MB / 0.5517 GB, free: 57.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007077/1.424, allocations: 2.857 MB / 0.5545 GB, free: 57.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.424, allocations: 33.5 kB / 0.5546 GB, free: 57.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01782/1.442, allocations: 6.551 MB / 0.561 GB, free: 57.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.442, allocations: 58.78 kB / 0.561 GB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001995/1.443, allocations: 127.4 kB / 0.5611 GB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.444, allocations: 336.3 kB / 0.5615 GB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007849/1.451, allocations: 1.268 MB / 0.5627 GB, free: 57.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/1.455, allocations: 2.346 MB / 0.565 GB, free: 55.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/1.461, allocations: 285.2 kB / 0.5653 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/1.463, allocations: 332.2 kB / 0.5656 GB, free: 55.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (656): * Single equations (assignments): 652 * 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.001478/1.464, allocations: 0.5137 MB / 0.5661 GB, free: 55.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008939/1.465, allocations: 301 kB / 0.5664 GB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00768/1.473, allocations: 2.319 MB / 0.5686 GB, free: 55.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.784e-05/1.473, allocations: 16.56 kB / 0.5687 GB, free: 55.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.473, allocations: 3.219 kB / 0.5687 GB, free: 55.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/1.473, allocations: 10.94 kB / 0.5687 GB, free: 55.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/1.492, allocations: 5.824 MB / 0.5744 GB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/1.492, allocations: 1.812 kB / 0.5744 GB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.493, allocations: 166.2 kB / 0.5745 GB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003833/1.497, allocations: 0.7116 MB / 0.5752 GB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/1.498, allocations: 24.27 kB / 0.5752 GB, free: 53.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008624/1.506, allocations: 4.441 MB / 0.5796 GB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.506, allocations: 0 / 0.5796 GB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.517, allocations: 4.357 MB / 0.5838 GB, free: 48.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.519, allocations: 0.5327 MB / 0.5843 GB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007918/1.52, allocations: 19.91 kB / 0.5844 GB, free: 48.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.522, allocations: 62.72 kB / 0.5844 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/1.523, allocations: 69.02 kB / 0.5845 GB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.523, allocations: 33.33 kB / 0.5845 GB, free: 48.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005452/1.528, allocations: 2.274 MB / 0.5867 GB, free: 47.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.528, allocations: 0 / 0.5867 GB, free: 47.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00614/1.534, allocations: 0.8074 MB / 0.5875 GB, free: 47.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (90): * Single equations (assignments): 86 * 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.01132/1.546, allocations: 5.276 MB / 0.5927 GB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009241/1.555, allocations: 3.902 MB / 0.5965 GB, free: 42.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.555, allocations: 0 / 0.5965 GB, free: 42.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.558, allocations: 1.072 MB / 0.5975 GB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.561, allocations: 359.3 kB / 0.5979 GB, free: 40.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.583, allocations: 6.947 MB / 0.6047 GB, free: 35.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004648/1.588, allocations: 2.831 MB / 0.6074 GB, free: 32.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00697/1.595, allocations: 1.636 MB / 0.609 GB, free: 31.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/1.598, allocations: 1.513 MB / 0.6105 GB, free: 30.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/1.598, allocations: 0 / 0.6105 GB, free: 30.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2183/1.817, allocations: 64.43 MB / 0.6734 GB, free: 4.145 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/1.817, allocations: 199 kB / 0.6736 GB, free: 3.914 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.188/7.005, allocations: 0 / 0.6736 GB, free: 3.914 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat