Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.428e-05, allocations: 7.984 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.5772, allocations: 93.66 MB / 436.8 MB, free: 392 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.5776, allocations: 90.19 kB / 436.9 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2838/0.8614, allocations: 58.85 MB / 495.8 MB, free: 9.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.8614, allocations: 0 / 495.8 MB, free: 9.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.8616, allocations: 48 kB / 495.8 MB, free: 9.609 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01776/0.8794, allocations: 2.951 MB / 498.8 MB, free: 6.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.8795, allocations: 12.03 kB / 498.8 MB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001861/0.8813, allocations: 0.5026 MB / 499.3 MB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.8985, allocations: 2.055 MB / 0.4896 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.9137, allocations: 3.474 MB / 0.493 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.914, allocations: 193 kB / 0.4932 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.9153, allocations: 259.8 kB / 0.4934 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.9346, allocations: 6.92 MB / 0.5002 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.9348, allocations: 39.62 kB / 0.5002 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006098/0.9354, allocations: 135.9 kB / 0.5003 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.9372, allocations: 0.7189 MB / 0.501 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.9553, allocations: 5.821 MB / 0.5067 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3493/1.305, allocations: 32.68 MB / 0.5386 GB, free: 93.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/1.317, allocations: 2.637 MB / 0.5412 GB, free: 93.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/1.319, allocations: 1.015 MB / 0.5422 GB, free: 93.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0092/1.328, allocations: 3.883 MB / 0.546 GB, free: 91.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.329, allocations: 54.28 kB / 0.546 GB, free: 91.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=112): time 4.799e-06/1.329, allocations: 0 / 0.546 GB, free: 91.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.03984/1.368, allocations: 8.873 MB / 0.5547 GB, free: 89.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001287/1.37, allocations: 1.583 MB / 0.5563 GB, free: 87.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/1.375, allocations: 2.41 MB / 0.5586 GB, free: 87.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.375, allocations: 44.11 kB / 0.5586 GB, free: 87.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.377, allocations: 2.075 MB / 0.5607 GB, free: 86.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/1.378, allocations: 0.5119 MB / 0.5612 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/1.378, allocations: 88.48 kB / 0.5613 GB, free: 86.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002756/1.379, allocations: 0.4997 MB / 0.5617 GB, free: 85.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.382, allocations: 1.563 MB / 0.5633 GB, free: 85.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00524/1.387, allocations: 4.31 MB / 0.5675 GB, free: 82.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005488/1.393, allocations: 2.598 MB / 0.57 GB, free: 82.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.433e-05/1.393, allocations: 31.56 kB / 0.57 GB, free: 82.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.02172/1.415, allocations: 6.635 MB / 0.5765 GB, free: 80.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/1.415, allocations: 48.88 kB / 0.5766 GB, free: 80.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01025/1.425, allocations: 2.515 MB / 0.579 GB, free: 79.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00909/1.434, allocations: 1.501 MB / 0.5805 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/1.44, allocations: 1.012 MB / 0.5815 GB, free: 79.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.455, allocations: 7.215 MB / 0.5885 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006447/1.461, allocations: 366.3 kB / 0.5889 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.463, allocations: 286.5 kB / 0.5892 GB, free: 75.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 533 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.464, allocations: 453.5 kB / 0.5896 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/1.464, allocations: 235.3 kB / 0.5898 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.475, allocations: 2.832 MB / 0.5926 GB, free: 73.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01009/1.485, allocations: 2.493 MB / 0.595 GB, free: 73.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.486, allocations: 3.781 kB / 0.595 GB, free: 73.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/1.486, allocations: 3.281 kB / 0.595 GB, free: 73.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/1.508, allocations: 6.858 MB / 0.6017 GB, free: 70.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.508, allocations: 6.844 kB / 0.6017 GB, free: 70.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.51, allocations: 179.3 kB / 0.6019 GB, free: 70.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008655/1.518, allocations: 1.429 MB / 0.6033 GB, free: 70.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/1.519, allocations: 23.89 kB / 0.6033 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.533, allocations: 7.344 MB / 0.6105 GB, free: 64.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001084/1.534, allocations: 1.45 MB / 0.6119 GB, free: 62.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.549, allocations: 4.913 MB / 0.6167 GB, free: 58.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/1.55, allocations: 304.7 kB / 0.617 GB, free: 58.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005668/1.55, allocations: 27.66 kB / 0.617 GB, free: 58.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/1.553, allocations: 122.5 kB / 0.6171 GB, free: 58.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/1.553, allocations: 86.53 kB / 0.6172 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.553, allocations: 35.23 kB / 0.6172 GB, free: 57.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003716/1.557, allocations: 1.664 MB / 0.6189 GB, free: 56.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.557, allocations: 3.938 kB / 0.6189 GB, free: 56.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00564/1.563, allocations: 0.768 MB / 0.6196 GB, free: 55.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01487/1.578, allocations: 5.941 MB / 0.6254 GB, free: 50.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01048/1.588, allocations: 4.101 MB / 0.6294 GB, free: 46.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.588, allocations: 0 / 0.6294 GB, free: 46.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005174/1.593, allocations: 1.677 MB / 0.6311 GB, free: 44.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.596, allocations: 253.6 kB / 0.6313 GB, free: 44.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.615, allocations: 6.372 MB / 0.6375 GB, free: 38.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/1.618, allocations: 2.355 MB / 0.6398 GB, free: 35.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00576/1.624, allocations: 1.414 MB / 0.6412 GB, free: 34.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/1.627, allocations: 1.112 MB / 0.6423 GB, free: 33.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.315e-06/1.627, allocations: 0 / 0.6423 GB, free: 33.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4823/2.109, allocations: 54.56 MB / 0.6956 GB, free: 112 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/2.109, allocations: 203.7 kB / 0.6958 GB, free: 111.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.341/6.45, allocations: 5.188 kB / 0.6958 GB, free: 111.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat