Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.626e-05, allocations: 4 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5277, allocations: 88.31 MB / 404.6 MB, free: 4.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.528, allocations: 71.22 kB / 404.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7148/1.243, allocations: 93.97 MB / 498.7 MB, free: 84.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.243, allocations: 0 / 498.7 MB, free: 84.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002969/1.243, allocations: 95.64 kB / 498.8 MB, free: 84.19 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.04433/1.288, allocations: 5.814 MB / 0.4928 GB, free: 82.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.288, allocations: 15.59 kB / 0.4928 GB, free: 82.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02576/1.313, allocations: 2.885 MB / 0.4956 GB, free: 82.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03189/1.345, allocations: 7.152 MB / 0.5026 GB, free: 81.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/1.346, allocations: 151.1 kB / 0.5027 GB, free: 81.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00281/1.349, allocations: 293.8 kB / 0.503 GB, free: 81.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01777/1.366, allocations: 7.077 MB / 0.5099 GB, free: 81.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/1.393, allocations: 10.65 MB / 0.5203 GB, free: 78.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/1.393, allocations: 73.59 kB / 0.5204 GB, free: 78.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/1.395, allocations: 41.75 kB / 0.5204 GB, free: 78.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002895/1.397, allocations: 1.2 MB / 0.5216 GB, free: 78.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08221/1.48, allocations: 56.13 MB / 0.5764 GB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006584/1.486, allocations: 3.469 MB / 0.5798 GB, free: 35.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004477/1.491, allocations: 2.218 MB / 0.582 GB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.492, allocations: 0.6722 MB / 0.5826 GB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/1.492, allocations: 63.2 kB / 0.5827 GB, free: 34.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=205): time 7.414e-06/1.492, allocations: 3.656 kB / 0.5827 GB, free: 34.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.07388/1.566, allocations: 20.01 MB / 0.6022 GB, free: 18.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/1.566, allocations: 263.9 kB / 0.6025 GB, free: 18.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008103/1.574, allocations: 3.451 MB / 0.6059 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008209/1.575, allocations: 29.7 kB / 0.6059 GB, free: 14.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003032/1.578, allocations: 3.516 MB / 0.6093 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.58, allocations: 0.9328 MB / 0.6102 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/1.581, allocations: 0 / 0.6102 GB, free: 10.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000553/1.582, allocations: 0.6247 MB / 0.6108 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008375/1.59, allocations: 2.931 MB / 0.6137 GB, free: 7.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/1.601, allocations: 7.263 MB / 0.6208 GB, free: 14.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.612, allocations: 4.516 MB / 0.6252 GB, free: 10.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/1.613, allocations: 44 kB / 0.6252 GB, free: 10.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=985) (initialization): time 0.3381/1.951, allocations: 11.67 MB / 0.6366 GB, free: 82.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000163/1.951, allocations: 73.06 kB / 0.6367 GB, free: 82.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02396/1.975, allocations: 5.946 MB / 0.6425 GB, free: 82.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01753/1.993, allocations: 3.031 MB / 0.6455 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/2.004, allocations: 1.784 MB / 0.6472 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/2.027, allocations: 14.08 MB / 0.661 GB, free: 75.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.039, allocations: 0.6275 MB / 0.6616 GB, free: 75.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/2.041, allocations: 465.5 kB / 0.662 GB, free: 75.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * 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 (915): * Single equations (assignments): 895 * 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 {1,1,1} * 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.002371/2.044, allocations: 496.9 kB / 0.6625 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02453/2.068, allocations: 6.866 MB / 0.6692 GB, free: 74.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/2.07, allocations: 380.9 kB / 0.6696 GB, free: 74.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02491/2.095, allocations: 6.698 MB / 0.6761 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02298/2.118, allocations: 6.077 MB / 0.6821 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.136e-05/2.118, allocations: 6.031 kB / 0.6821 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.309e-05/2.118, allocations: 15.31 kB / 0.6821 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04521/2.163, allocations: 14.36 MB / 0.6961 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/2.163, allocations: 0 / 0.6961 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003971/2.167, allocations: 415.5 kB / 0.6965 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01819/2.186, allocations: 3.286 MB / 0.6997 GB, free: 70.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008061/2.187, allocations: 44.98 kB / 0.6997 GB, free: 70.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02809/2.215, allocations: 16.01 MB / 0.7154 GB, free: 60.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003317/2.218, allocations: 4.236 MB / 0.7195 GB, free: 56.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03046/2.249, allocations: 10.4 MB / 0.7297 GB, free: 52.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/2.25, allocations: 450.1 kB / 0.7301 GB, free: 51.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.252, allocations: 31.56 kB / 0.7301 GB, free: 51.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006529/2.259, allocations: 301.8 kB / 0.7304 GB, free: 51.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/2.26, allocations: 177.3 kB / 0.7306 GB, free: 51.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006255/2.261, allocations: 74.14 kB / 0.7307 GB, free: 51.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007265/2.268, allocations: 2.295 MB / 0.7329 GB, free: 49.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.268, allocations: 2.516 kB / 0.7329 GB, free: 49.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01412/2.283, allocations: 1.354 MB / 0.7342 GB, free: 47.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 36 ($STATESET6709010826.x[3],$STATESET6709010826.x[2],$STATESET6709010826.x[1],$STATESET6709010825.x[3],$STATESET6709010825.x[2],$STATESET6709010825.x[1],$STATESET6709010824.x[3],$STATESET6709010824.x[2],$STATESET6709010824.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 (177): * Single equations (assignments): 163 * 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.04235/2.325, allocations: 11.61 MB / 0.7456 GB, free: 36.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0247/2.35, allocations: 8.307 MB / 0.7537 GB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/2.35, allocations: 0 / 0.7537 GB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0145/2.364, allocations: 4.45 MB / 0.758 GB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/2.368, allocations: 401.2 kB / 0.7584 GB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/2.405, allocations: 12.55 MB / 0.7707 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007161/2.412, allocations: 3.719 MB / 0.7743 GB, free: 7.273 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01029/2.422, allocations: 2.277 MB / 0.7765 GB, free: 5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005154/2.428, allocations: 2.202 MB / 0.7787 GB, free: 2.797 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/2.428, allocations: 0 / 0.7787 GB, free: 2.797 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5319/2.96, allocations: 95.92 MB / 0.8723 GB, free: 72.06 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/2.96, allocations: 126.3 kB / 0.8725 GB, free: 71.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.239/9.199, allocations: 0 / 0.8725 GB, free: 71.87 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat