Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.755e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 54.85 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5829, allocations: 95.48 MB / 455.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5832, allocations: 71.97 kB / 455.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7591/1.342, allocations: 96.18 MB / 0.5387 GB, free: 100.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.342, allocations: 1.031 kB / 0.5387 GB, free: 100.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003466/1.343, allocations: 92.38 kB / 0.5388 GB, free: 100.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.04606/1.389, allocations: 5.828 MB / 0.5445 GB, free: 98.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.389, allocations: 9.375 kB / 0.5445 GB, free: 98.66 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004624/1.394, allocations: 0.8666 MB / 0.5453 GB, free: 98.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02636/1.42, allocations: 2.923 MB / 0.5482 GB, free: 98.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02869/1.449, allocations: 7.192 MB / 0.5552 GB, free: 97.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005431/1.449, allocations: 358.9 kB / 0.5555 GB, free: 97.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/1.452, allocations: 478.8 kB / 0.556 GB, free: 97.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03718/1.489, allocations: 12.04 MB / 0.5678 GB, free: 94.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003642/1.49, allocations: 69.41 kB / 0.5678 GB, free: 94.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/1.492, allocations: 235 kB / 0.5681 GB, free: 94.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003063/1.495, allocations: 1.203 MB / 0.5692 GB, free: 94.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/1.527, allocations: 9.935 MB / 0.5789 GB, free: 91.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08805/1.615, allocations: 57.05 MB / 0.6346 GB, free: 45.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02358/1.639, allocations: 5.002 MB / 0.6395 GB, free: 41.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005454/1.644, allocations: 2.353 MB / 0.6418 GB, free: 39.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02721/1.672, allocations: 11.15 MB / 0.6527 GB, free: 28.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/1.672, allocations: 51.88 kB / 0.6528 GB, free: 28.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=198): time 6.923e-06/1.672, allocations: 0 / 0.6528 GB, free: 28.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.08925/1.761, allocations: 20.57 MB / 0.6729 GB, free: 7.453 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00339/1.765, allocations: 4.6 MB / 0.6774 GB, free: 2.387 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009335/1.774, allocations: 3.969 MB / 0.6812 GB, free: 14.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008215/1.775, allocations: 60.44 kB / 0.6813 GB, free: 14.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004182/1.779, allocations: 3.487 MB / 0.6847 GB, free: 10.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/1.781, allocations: 0.9471 MB / 0.6856 GB, free: 9.918 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.782, allocations: 144 kB / 0.6858 GB, free: 9.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006099/1.783, allocations: 0.6121 MB / 0.6863 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008643/1.791, allocations: 3.056 MB / 0.6893 GB, free: 6.102 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/1.804, allocations: 7.232 MB / 0.6964 GB, free: 12.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.816, allocations: 4.64 MB / 0.7009 GB, free: 8.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/1.817, allocations: 40 kB / 0.701 GB, free: 8.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.3766/2.193, allocations: 12.44 MB / 0.7131 GB, free: 112.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/2.194, allocations: 69.88 kB / 0.7132 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02763/2.221, allocations: 6.372 MB / 0.7194 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02061/2.242, allocations: 3.345 MB / 0.7227 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/2.253, allocations: 1.698 MB / 0.7243 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02817/2.281, allocations: 15.92 MB / 0.7399 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/2.294, allocations: 0.7628 MB / 0.7406 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/2.296, allocations: 448.7 kB / 0.741 GB, free: 104.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (882): * Single equations (assignments): 862 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003029/2.299, allocations: 0.6524 MB / 0.7417 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/2.3, allocations: 409.5 kB / 0.7421 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/2.328, allocations: 6.951 MB / 0.7489 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02508/2.353, allocations: 6.308 MB / 0.755 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/2.353, allocations: 6.969 kB / 0.755 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/2.353, allocations: 10.64 kB / 0.755 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04912/2.402, allocations: 14.92 MB / 0.7696 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/2.402, allocations: 3.156 kB / 0.7696 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004046/2.406, allocations: 422.4 kB / 0.77 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01846/2.425, allocations: 3.337 MB / 0.7733 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008366/2.426, allocations: 74.5 kB / 0.7733 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02958/2.455, allocations: 16.55 MB / 0.7895 GB, free: 88.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003464/2.459, allocations: 4.411 MB / 0.7938 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03423/2.493, allocations: 10.82 MB / 0.8044 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/2.495, allocations: 486.9 kB / 0.8048 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/2.496, allocations: 66.88 kB / 0.8049 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005053/2.501, allocations: 335 kB / 0.8052 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/2.502, allocations: 190.4 kB / 0.8054 GB, free: 78.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/2.502, allocations: 70.73 kB / 0.8055 GB, free: 78.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00566/2.508, allocations: 2.748 MB / 0.8082 GB, free: 75.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.508, allocations: 0 / 0.8082 GB, free: 75.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009131/2.517, allocations: 1.492 MB / 0.8096 GB, free: 74.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03014/2.547, allocations: 12.41 MB / 0.8217 GB, free: 61.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02284/2.57, allocations: 8.808 MB / 0.8303 GB, free: 52.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/2.57, allocations: 0 / 0.8303 GB, free: 52.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01413/2.584, allocations: 4.472 MB / 0.8347 GB, free: 48.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004162/2.588, allocations: 0.4973 MB / 0.8352 GB, free: 47.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0362/2.625, allocations: 12.92 MB / 0.8478 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007254/2.632, allocations: 3.73 MB / 0.8514 GB, free: 31.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01009/2.642, allocations: 2.2 MB / 0.8536 GB, free: 29.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004784/2.647, allocations: 2.22 MB / 0.8558 GB, free: 26.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/2.647, allocations: 0 / 0.8558 GB, free: 26.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6037/3.251, allocations: 104.4 MB / 0.9577 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/3.251, allocations: 171.4 kB / 0.9579 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/9.936, allocations: 0 / 0.9579 GB, free: 109.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat