Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.755e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 44.5 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.4723, allocations: 84.38 MB / 378.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4726, allocations: 87.94 kB / 378.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4892/0.9618, allocations: 55.6 MB / 434.3 MB, free: 90.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.9619, allocations: 0 / 434.3 MB, free: 90.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001231/0.962, allocations: 51.36 kB / 434.3 MB, free: 90.81 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01695/0.979, allocations: 2.906 MB / 437.3 MB, free: 89.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.9791, allocations: 7.312 kB / 437.3 MB, free: 89.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.9952, allocations: 2.054 MB / 439.3 MB, free: 89.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/1.009, allocations: 3.598 MB / 442.9 MB, free: 89.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.009, allocations: 80.84 kB / 443 MB, free: 89.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/1.01, allocations: 152.4 kB / 443.1 MB, free: 89.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008837/1.019, allocations: 3.996 MB / 447.1 MB, free: 89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/1.033, allocations: 6.172 MB / 453.3 MB, free: 86.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/1.033, allocations: 38.25 kB / 453.3 MB, free: 86.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005371/1.034, allocations: 25.34 kB / 453.4 MB, free: 86.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/1.035, allocations: 0.696 MB / 454.1 MB, free: 86.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/1.075, allocations: 31 MB / 485.1 MB, free: 60.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/1.079, allocations: 1.991 MB / 487.1 MB, free: 58.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.08, allocations: 0.9535 MB / 488 MB, free: 57.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.082, allocations: 0.651 MB / 488.7 MB, free: 56.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.082, allocations: 46.94 kB / 488.7 MB, free: 56.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 4.739e-06/1.082, allocations: 0 / 488.7 MB, free: 56.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.02833/1.11, allocations: 8.139 MB / 496.8 MB, free: 48.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.11, allocations: 145.2 kB / 497 MB, free: 48.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/1.114, allocations: 2.126 MB / 499.1 MB, free: 46.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003444/1.114, allocations: 29.64 kB / 499.1 MB, free: 46.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.116, allocations: 2.094 MB / 0.4895 GB, free: 44.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/1.116, allocations: 0.4937 MB / 0.49 GB, free: 43.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/1.117, allocations: 0 / 0.49 GB, free: 43.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003798/1.117, allocations: 0.5557 MB / 0.4905 GB, free: 42.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/1.121, allocations: 1.52 MB / 0.492 GB, free: 41.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/1.126, allocations: 4.372 MB / 0.4963 GB, free: 35.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005336/1.132, allocations: 2.581 MB / 0.4988 GB, free: 33.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.034e-05/1.132, allocations: 28 kB / 0.4988 GB, free: 33 MB / 362.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.02078/1.153, allocations: 6.431 MB / 0.5051 GB, free: 26.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/1.153, allocations: 52.97 kB / 0.5051 GB, free: 26.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00981/1.163, allocations: 2.433 MB / 0.5075 GB, free: 24.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008722/1.171, allocations: 1.481 MB / 0.509 GB, free: 22.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005771/1.177, allocations: 1.053 MB / 0.51 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.191, allocations: 6.952 MB / 0.5168 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005663/1.196, allocations: 287.2 kB / 0.5171 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.197, allocations: 292 kB / 0.5173 GB, free: 13.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (558): * Single equations (assignments): 550 * 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.000929/1.198, allocations: 352 kB / 0.5177 GB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01105/1.209, allocations: 3.128 MB / 0.5207 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007521/1.21, allocations: 221.2 kB / 0.5209 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.221, allocations: 2.71 MB / 0.5236 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009437/1.23, allocations: 2.409 MB / 0.5259 GB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.23, allocations: 4 kB / 0.5259 GB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/1.23, allocations: 7.922 kB / 0.5259 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/1.251, allocations: 6.634 MB / 0.5324 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.251, allocations: 0 / 0.5324 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.253, allocations: 175.7 kB / 0.5326 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008822/1.262, allocations: 1.407 MB / 0.534 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003306/1.262, allocations: 15.97 kB / 0.534 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.278, allocations: 7.169 MB / 0.541 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00138/1.28, allocations: 1.391 MB / 0.5423 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.295, allocations: 4.807 MB / 0.547 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/1.296, allocations: 282.2 kB / 0.5473 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006668/1.297, allocations: 11.92 kB / 0.5473 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.299, allocations: 107.8 kB / 0.5474 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/1.3, allocations: 76.38 kB / 0.5475 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.3, allocations: 49.84 kB / 0.5475 GB, free: 14.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004532/1.304, allocations: 1.391 MB / 0.5489 GB, free: 12.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.304, allocations: 0 / 0.5489 GB, free: 12.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005702/1.31, allocations: 0.68 MB / 0.5496 GB, free: 12.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET6499467656.x[3],$STATESET6499467656.x[2],$STATESET6499467656.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.01605/1.326, allocations: 5.625 MB / 0.5551 GB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.337, allocations: 4.079 MB / 0.559 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.337, allocations: 0 / 0.559 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005434/1.343, allocations: 1.679 MB / 0.5607 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.345, allocations: 199.5 kB / 0.5609 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2734/1.618, allocations: 6.18 MB / 0.5669 GB, free: 109.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004287/1.622, allocations: 2.325 MB / 0.5692 GB, free: 108.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006206/1.629, allocations: 1.471 MB / 0.5706 GB, free: 108.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/1.631, allocations: 1.084 MB / 0.5717 GB, free: 108.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/1.631, allocations: 3.344 kB / 0.5717 GB, free: 108.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/1.763, allocations: 51.19 MB / 0.6217 GB, free: 80.65 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/1.763, allocations: 158.5 kB / 0.6218 GB, free: 80.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/5.846, allocations: 0 / 0.6218 GB, free: 80.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.SpringWithMass_res.mat does not exist to compare? outputFormat=mat