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 2.006/2.006, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.93e-05, allocations: 4 kB / 273.1 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6166, allocations: 88.77 MB / 410.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.617, allocations: 71.12 kB / 410.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4764/1.094, allocations: 96.02 MB / 0.4948 GB, free: 104 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.094, allocations: 0 / 0.4948 GB, free: 104 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003137/1.094, allocations: 95.94 kB / 0.4949 GB, free: 8 kB / 426.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.3339/1.428, allocations: 5.811 MB / 0.5006 GB, free: 92.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.428, allocations: 9.719 kB / 0.5006 GB, free: 92.37 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004725/1.433, allocations: 0.8668 MB / 0.5015 GB, free: 92.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0264/1.459, allocations: 2.884 MB / 0.5043 GB, free: 91.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0292/1.488, allocations: 7.158 MB / 0.5113 GB, free: 91.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006994/1.489, allocations: 363.2 kB / 0.5116 GB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/1.492, allocations: 481.5 kB / 0.5121 GB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03914/1.531, allocations: 12.08 MB / 0.5239 GB, free: 88.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004077/1.532, allocations: 74.44 kB / 0.524 GB, free: 88.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.534, allocations: 237.3 kB / 0.5242 GB, free: 88.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003119/1.537, allocations: 1.193 MB / 0.5253 GB, free: 88.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0325/1.57, allocations: 10.15 MB / 0.5353 GB, free: 88.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09352/1.664, allocations: 57.05 MB / 0.591 GB, free: 46.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02426/1.688, allocations: 5.025 MB / 0.5959 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005674/1.694, allocations: 2.354 MB / 0.5982 GB, free: 43.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03079/1.725, allocations: 11.13 MB / 0.609 GB, free: 34.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/1.725, allocations: 55.83 kB / 0.6091 GB, free: 34.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 6.442e-06/1.725, allocations: 4 kB / 0.6091 GB, free: 34.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.09392/1.819, allocations: 20.57 MB / 0.6292 GB, free: 17.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003498/1.822, allocations: 4.62 MB / 0.6337 GB, free: 12.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009761/1.832, allocations: 3.969 MB / 0.6376 GB, free: 9.234 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008681/1.833, allocations: 65.3 kB / 0.6376 GB, free: 9.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003072/1.836, allocations: 3.481 MB / 0.641 GB, free: 5.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001695/1.838, allocations: 0.9517 MB / 0.642 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009636/1.839, allocations: 144 kB / 0.6421 GB, free: 4.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004776/1.839, allocations: 0.616 MB / 0.6427 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007764/1.847, allocations: 3.04 MB / 0.6457 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01329/1.86, allocations: 7.258 MB / 0.6528 GB, free: 7.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.873, allocations: 4.623 MB / 0.6573 GB, free: 2.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/1.873, allocations: 44 kB / 0.6573 GB, free: 2.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.3511/2.224, allocations: 12.54 MB / 0.6696 GB, free: 95.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/2.224, allocations: 70.59 kB / 0.6696 GB, free: 95.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02365/2.248, allocations: 6.128 MB / 0.6756 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/2.266, allocations: 3.108 MB / 0.6787 GB, free: 94.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/2.277, allocations: 1.747 MB / 0.6804 GB, free: 94.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/2.301, allocations: 14.77 MB / 0.6948 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/2.313, allocations: 0.7632 MB / 0.6955 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/2.315, allocations: 452.3 kB / 0.696 GB, free: 87.02 MB / 442.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 (891): * Single equations (assignments): 871 * 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.002607/2.317, allocations: 0.6521 MB / 0.6966 GB, free: 86.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/2.319, allocations: 413.4 kB / 0.697 GB, free: 86.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02606/2.345, allocations: 6.957 MB / 0.7038 GB, free: 86.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0248/2.37, allocations: 6.298 MB / 0.7099 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.351e-05/2.37, allocations: 11.05 kB / 0.7099 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.841e-05/2.37, allocations: 12.39 kB / 0.71 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0497/2.419, allocations: 14.92 MB / 0.7245 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/2.42, allocations: 3.562 kB / 0.7245 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004077/2.424, allocations: 420.8 kB / 0.7249 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01863/2.442, allocations: 3.339 MB / 0.7282 GB, free: 80.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008546/2.443, allocations: 82.56 kB / 0.7283 GB, free: 80.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02894/2.472, allocations: 16.54 MB / 0.7444 GB, free: 70.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003328/2.476, allocations: 4.426 MB / 0.7488 GB, free: 66.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/2.508, allocations: 10.82 MB / 0.7593 GB, free: 58.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/2.51, allocations: 490.8 kB / 0.7598 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/2.512, allocations: 63.58 kB / 0.7599 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005558/2.517, allocations: 328.4 kB / 0.7602 GB, free: 57.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009641/2.518, allocations: 194.3 kB / 0.7604 GB, free: 57.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/2.519, allocations: 75.06 kB / 0.7604 GB, free: 57.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005932/2.524, allocations: 2.746 MB / 0.7631 GB, free: 54.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.61e-07/2.525, allocations: 0 / 0.7631 GB, free: 54.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008895/2.533, allocations: 1.477 MB / 0.7645 GB, free: 53.49 MB / 442.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.03205/2.566, allocations: 12.41 MB / 0.7767 GB, free: 40.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02361/2.589, allocations: 8.646 MB / 0.7851 GB, free: 32.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/2.589, allocations: 7.438 kB / 0.7851 GB, free: 32.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01464/2.604, allocations: 4.52 MB / 0.7895 GB, free: 27.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/2.608, allocations: 0.4919 MB / 0.79 GB, free: 27.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03796/2.646, allocations: 12.94 MB / 0.8026 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007588/2.654, allocations: 3.732 MB / 0.8063 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009887/2.664, allocations: 2.211 MB / 0.8084 GB, free: 8.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005412/2.669, allocations: 2.217 MB / 0.8106 GB, free: 6.117 MB / 442.7 MB Notification: Performance of SimCode: time 1.974e-06/2.669, allocations: 0 / 0.8106 GB, free: 6.117 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5575/3.227, allocations: 103.2 MB / 0.9114 GB, free: 70.82 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/3.227, allocations: 172.6 kB / 0.9116 GB, free: 70.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/9.876, allocations: 0 / 0.9116 GB, free: 70.6 MB / 458.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