Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.312e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5815/0.718, allocations: 104.6 MB / 0.5029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.7184, allocations: 75.95 kB / 0.503 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4403/1.159, allocations: 99.67 MB / 0.6003 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/1.159, allocations: 0 / 0.6003 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003343/1.159, allocations: 96 kB / 0.6004 GB, free: 10.89 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.04763/1.207, allocations: 5.91 MB / 0.6062 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/1.207, allocations: 12.03 kB / 0.6062 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00467/1.211, allocations: 0.8929 MB / 0.607 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/1.239, allocations: 2.93 MB / 0.6099 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3928/1.632, allocations: 6.813 MB / 0.6165 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005978/1.632, allocations: 368.8 kB / 0.6169 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/1.635, allocations: 496.4 kB / 0.6174 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.049/1.684, allocations: 12.4 MB / 0.6295 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000593/1.685, allocations: 78.64 kB / 0.6296 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003361/1.688, allocations: 240.4 kB / 0.6298 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00538/1.694, allocations: 1.245 MB / 0.631 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05318/1.747, allocations: 10.25 MB / 0.641 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1098/1.857, allocations: 57.98 MB / 0.6976 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03227/1.889, allocations: 5.304 MB / 0.7028 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005688/1.895, allocations: 2.445 MB / 0.7052 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/1.925, allocations: 12.3 MB / 0.7172 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.925, allocations: 59.16 kB / 0.7173 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 6.432e-06/1.925, allocations: 0 / 0.7173 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.09511/2.02, allocations: 21.13 MB / 0.7379 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003462/2.024, allocations: 4.6 MB / 0.7424 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009296/2.033, allocations: 3.978 MB / 0.7463 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007992/2.034, allocations: 61.7 kB / 0.7463 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002936/2.037, allocations: 3.52 MB / 0.7498 GB, free: 36.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/2.039, allocations: 1.02 MB / 0.7508 GB, free: 35.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/2.04, allocations: 151.9 kB / 0.7509 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004899/2.04, allocations: 0.6238 MB / 0.7515 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00763/2.048, allocations: 3.086 MB / 0.7545 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/2.058, allocations: 7.29 MB / 0.7617 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/2.07, allocations: 4.682 MB / 0.7662 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/2.07, allocations: 40 kB / 0.7663 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04286/2.113, allocations: 12.55 MB / 0.7785 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/2.113, allocations: 69 kB / 0.7786 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02481/2.138, allocations: 6.458 MB / 0.7849 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02006/2.158, allocations: 3.348 MB / 0.7882 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01547/2.173, allocations: 1.731 MB / 0.7899 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04407/2.218, allocations: 15.82 MB / 0.8053 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/2.231, allocations: 0.7721 MB / 0.8061 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/2.233, allocations: 459.7 kB / 0.8065 GB, free: 12.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (906): * Single equations (assignments): 886 * 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.003342/2.236, allocations: 0.6677 MB / 0.8072 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/2.238, allocations: 414.7 kB / 0.8076 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04557/2.284, allocations: 7.06 MB / 0.8145 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4594/2.743, allocations: 6.389 MB / 0.8207 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/2.743, allocations: 9.812 kB / 0.8207 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.651e-05/2.743, allocations: 11.95 kB / 0.8207 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08424/2.827, allocations: 15.34 MB / 0.8357 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.059e-05/2.828, allocations: 11.39 kB / 0.8357 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006702/2.834, allocations: 451.1 kB / 0.8361 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03076/2.865, allocations: 3.327 MB / 0.8394 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/2.866, allocations: 82.52 kB / 0.8395 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04597/2.912, allocations: 16.47 MB / 0.8555 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005036/2.918, allocations: 4.422 MB / 0.8599 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04099/2.959, allocations: 11.24 MB / 0.8708 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/2.96, allocations: 491.3 kB / 0.8713 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/2.962, allocations: 73.78 kB / 0.8714 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006419/2.969, allocations: 338.6 kB / 0.8717 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001251/2.97, allocations: 198.8 kB / 0.8719 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004118/2.97, allocations: 85.91 kB / 0.872 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007149/2.978, allocations: 2.742 MB / 0.8746 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.162e-06/2.978, allocations: 0 / 0.8746 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01031/2.988, allocations: 1.539 MB / 0.8761 GB, free: 112 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (196): * Single equations (assignments): 182 * 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.03472/3.023, allocations: 13.19 MB / 0.889 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02939/3.052, allocations: 8.918 MB / 0.8977 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/3.052, allocations: 6.844 kB / 0.8977 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02415/3.076, allocations: 4.538 MB / 0.9022 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007871/3.084, allocations: 0.5048 MB / 0.9027 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06262/3.147, allocations: 13.18 MB / 0.9155 GB, free: 95.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01259/3.16, allocations: 3.802 MB / 0.9193 GB, free: 94.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01596/3.176, allocations: 2.253 MB / 0.9214 GB, free: 94.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008122/3.184, allocations: 2.274 MB / 0.9237 GB, free: 92.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.993e-06/3.184, allocations: 0 / 0.9237 GB, free: 92.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8477/4.032, allocations: 105.8 MB / 1.027 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/4.032, allocations: 174.9 kB / 1.027 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/11.49, allocations: 1.219 kB / 1.027 GB, free: 106.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat