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 2.282/2.282, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.059e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.308, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.4903, allocations: 90.24 MB / 384.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.4907, allocations: 87.94 kB / 384.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6064/1.097, allocations: 70.29 MB / 454.8 MB, free: 89.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.097, allocations: 0 / 454.8 MB, free: 89.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002586/1.097, allocations: 68.23 kB / 454.9 MB, free: 89.76 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01335/1.111, allocations: 3.344 MB / 458.3 MB, free: 87.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/1.111, allocations: 11.66 kB / 458.3 MB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/1.127, allocations: 2.077 MB / 460.3 MB, free: 86.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/1.142, allocations: 4.026 MB / 464.4 MB, free: 83.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/1.142, allocations: 115.9 kB / 464.5 MB, free: 83.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/1.144, allocations: 199.9 kB / 464.7 MB, free: 83.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0125/1.157, allocations: 5.034 MB / 469.7 MB, free: 78.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/1.178, allocations: 7.934 MB / 477.6 MB, free: 69.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/1.178, allocations: 59.45 kB / 477.7 MB, free: 69.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002089/1.181, allocations: 32 kB / 477.7 MB, free: 69.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002092/1.183, allocations: 0.8681 MB / 478.6 MB, free: 68.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/1.239, allocations: 40.95 MB / 0.5074 GB, free: 26.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/1.243, allocations: 2.479 MB / 0.5098 GB, free: 23.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/1.246, allocations: 1.373 MB / 0.5111 GB, free: 22.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/1.246, allocations: 335.2 kB / 0.5115 GB, free: 22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.247, allocations: 47.12 kB / 0.5115 GB, free: 21.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 5.08e-06/1.247, allocations: 4 kB / 0.5115 GB, free: 21.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.03401/1.281, allocations: 11.25 MB / 0.5225 GB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/1.281, allocations: 170.8 kB / 0.5227 GB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/1.287, allocations: 2.785 MB / 0.5254 GB, free: 7.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003862/1.288, allocations: 29.69 kB / 0.5254 GB, free: 7.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.29, allocations: 2.756 MB / 0.5281 GB, free: 4.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009565/1.291, allocations: 0.5209 MB / 0.5286 GB, free: 4.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007687/1.292, allocations: 0 / 0.5286 GB, free: 4.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005728/1.293, allocations: 0.5335 MB / 0.5291 GB, free: 3.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/1.297, allocations: 1.592 MB / 0.5307 GB, free: 2.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007407/1.304, allocations: 5.104 MB / 0.5357 GB, free: 11.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/1.311, allocations: 2.841 MB / 0.5384 GB, free: 8.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.312, allocations: 36 kB / 0.5385 GB, free: 8.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01828/1.33, allocations: 5.995 MB / 0.5443 GB, free: 2.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.33, allocations: 60 kB / 0.5444 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/1.33, allocations: 131.2 kB / 0.5445 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/1.331, allocations: 348.7 kB / 0.5448 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008578/1.34, allocations: 1.322 MB / 0.5461 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/1.344, allocations: 2.246 MB / 0.5483 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/1.35, allocations: 191.5 kB / 0.5485 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.351, allocations: 344 kB / 0.5488 GB, free: 13.54 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.001613/1.353, allocations: 420.7 kB / 0.5492 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009329/1.362, allocations: 2.634 MB / 0.5518 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.363, allocations: 280.4 kB / 0.5521 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008533/1.372, allocations: 2.258 MB / 0.5543 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-05/1.372, allocations: 15.91 kB / 0.5543 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.372, allocations: 7.938 kB / 0.5543 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-05/1.372, allocations: 11.97 kB / 0.5543 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/1.393, allocations: 5.605 MB / 0.5598 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.393, allocations: 0 / 0.5598 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.395, allocations: 175.7 kB / 0.56 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004217/1.399, allocations: 0.7108 MB / 0.5607 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003524/1.4, allocations: 4 kB / 0.5607 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3011/1.701, allocations: 4.283 MB / 0.5648 GB, free: 105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.701, allocations: 10.25 kB / 0.5648 GB, free: 105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.713, allocations: 4.387 MB / 0.5691 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.715, allocations: 0.4976 MB / 0.5696 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.716, allocations: 7.844 kB / 0.5696 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.719, allocations: 51.97 kB / 0.5697 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/1.72, allocations: 73.84 kB / 0.5697 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.72, allocations: 33.97 kB / 0.5698 GB, free: 104.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005417/1.725, allocations: 1.852 MB / 0.5716 GB, free: 104.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.725, allocations: 3.906 kB / 0.5716 GB, free: 104.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006507/1.732, allocations: 0.6921 MB / 0.5723 GB, free: 104.1 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.01207/1.744, allocations: 5.359 MB / 0.5775 GB, free: 102.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008753/1.753, allocations: 3.765 MB / 0.5812 GB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.753, allocations: 0 / 0.5812 GB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/1.755, allocations: 1.072 MB / 0.5822 GB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/1.758, allocations: 290.5 kB / 0.5825 GB, free: 101.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/1.792, allocations: 6.832 MB / 0.5892 GB, free: 99.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008316/1.8, allocations: 2.829 MB / 0.5919 GB, free: 97.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009664/1.81, allocations: 1.713 MB / 0.5936 GB, free: 97.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003965/1.814, allocations: 1.51 MB / 0.5951 GB, free: 96.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/1.814, allocations: 0 / 0.5951 GB, free: 96.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.18/1.994, allocations: 59.18 MB / 0.6529 GB, free: 48.65 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/1.994, allocations: 163.4 kB / 0.653 GB, free: 48.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.962/6.956, allocations: 0 / 0.653 GB, free: 48.45 MB / 394.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