Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.934e-05, allocations: 0 / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6024, allocations: 99.61 MB / 442.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.6027, allocations: 89.75 kB / 442.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3277/0.9305, allocations: 74.09 MB / 0.5048 GB, free: 4.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9305, allocations: 0 / 0.5048 GB, free: 4.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002311/0.9307, allocations: 71.94 kB / 0.5049 GB, free: 4.293 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01345/0.9442, allocations: 3.385 MB / 0.5082 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.9443, allocations: 12.03 kB / 0.5082 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002573/0.9469, allocations: 0.651 MB / 0.5089 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.9637, allocations: 2.085 MB / 0.5109 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.9799, allocations: 3.889 MB / 0.5147 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.9804, allocations: 270.7 kB / 0.515 GB, free: 9.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.9824, allocations: 351.8 kB / 0.5153 GB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3684/1.351, allocations: 8.874 MB / 0.524 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/1.351, allocations: 62.59 kB / 0.524 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/1.353, allocations: 172.2 kB / 0.5242 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003303/1.356, allocations: 0.8841 MB / 0.525 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/1.384, allocations: 7.002 MB / 0.5319 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05837/1.442, allocations: 42.94 MB / 0.5738 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.454, allocations: 3.274 MB / 0.577 GB, free: 73.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/1.457, allocations: 1.433 MB / 0.5784 GB, free: 72.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009546/1.467, allocations: 4.415 MB / 0.5827 GB, free: 70.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.467, allocations: 53.81 kB / 0.5828 GB, free: 70.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.539e-06/1.467, allocations: 0 / 0.5828 GB, free: 70.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.03764/1.505, allocations: 9.579 MB / 0.5921 GB, free: 66.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/1.505, allocations: 150 kB / 0.5923 GB, free: 66.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/1.512, allocations: 3.279 MB / 0.5955 GB, free: 65.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003252/1.512, allocations: 44.73 kB / 0.5955 GB, free: 65.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/1.514, allocations: 2.754 MB / 0.5982 GB, free: 62.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007687/1.515, allocations: 0.5229 MB / 0.5987 GB, free: 62.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/1.515, allocations: 106.2 kB / 0.5988 GB, free: 62.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003082/1.516, allocations: 0.5256 MB / 0.5993 GB, free: 62.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/1.519, allocations: 1.644 MB / 0.6009 GB, free: 61.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/1.525, allocations: 5.03 MB / 0.6059 GB, free: 56.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/1.531, allocations: 2.877 MB / 0.6087 GB, free: 55.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.531, allocations: 36.62 kB / 0.6087 GB, free: 55.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01627/1.548, allocations: 6.264 MB / 0.6148 GB, free: 53.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/1.548, allocations: 57.44 kB / 0.6149 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/1.548, allocations: 128.6 kB / 0.615 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009397/1.549, allocations: 333.1 kB / 0.6153 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007837/1.557, allocations: 1.283 MB / 0.6166 GB, free: 52.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/1.56, allocations: 2.299 MB / 0.6188 GB, free: 51.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/1.566, allocations: 281.1 kB / 0.6191 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.567, allocations: 331 kB / 0.6194 GB, free: 51.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (666): * Single equations (assignments): 662 * 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.001095/1.568, allocations: 0.5255 MB / 0.6199 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007383/1.569, allocations: 311.2 kB / 0.6202 GB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007266/1.576, allocations: 2.35 MB / 0.6225 GB, free: 49.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/1.576, allocations: 15.84 kB / 0.6225 GB, free: 49.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.576, allocations: 7.938 kB / 0.6225 GB, free: 49.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/1.576, allocations: 7.453 kB / 0.6225 GB, free: 49.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.595, allocations: 5.935 MB / 0.6283 GB, free: 45.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/1.596, allocations: 0 / 0.6283 GB, free: 45.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.597, allocations: 176.5 kB / 0.6285 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/1.601, allocations: 0.7042 MB / 0.6292 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/1.601, allocations: 24 kB / 0.6292 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008366/1.61, allocations: 4.438 MB / 0.6335 GB, free: 40.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.61, allocations: 3.938 kB / 0.6335 GB, free: 40.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.62, allocations: 4.418 MB / 0.6379 GB, free: 37.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.621, allocations: 375.7 kB / 0.6382 GB, free: 36.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007996/1.622, allocations: 16 kB / 0.6382 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/1.624, allocations: 68.56 kB / 0.6383 GB, free: 36.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/1.625, allocations: 71.89 kB / 0.6384 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.625, allocations: 39.12 kB / 0.6384 GB, free: 36.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004946/1.63, allocations: 2.283 MB / 0.6406 GB, free: 34.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.63, allocations: 3.938 kB / 0.6406 GB, free: 34.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006029/1.636, allocations: 0.8233 MB / 0.6414 GB, free: 33.75 MB / 442.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 (96): * Single equations (assignments): 92 * 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.01078/1.647, allocations: 5.361 MB / 0.6467 GB, free: 28.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008342/1.655, allocations: 3.783 MB / 0.6504 GB, free: 25.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.655, allocations: 1.188 kB / 0.6504 GB, free: 25.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.657, allocations: 1.08 MB / 0.6514 GB, free: 24.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.66, allocations: 352 kB / 0.6518 GB, free: 24.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.682, allocations: 7.022 MB / 0.6586 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004288/1.686, allocations: 2.86 MB / 0.6614 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007112/1.693, allocations: 1.66 MB / 0.663 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003526/1.697, allocations: 1.534 MB / 0.6645 GB, free: 13.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.392e-06/1.697, allocations: 0 / 0.6645 GB, free: 13.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4679/2.165, allocations: 64.69 MB / 0.7277 GB, free: 108.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/2.165, allocations: 185.6 kB / 0.7279 GB, free: 108.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.04/7.205, allocations: 0 / 0.7279 GB, free: 108.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat