Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Spring2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.967e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3756, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.561, allocations: 94.81 MB / 449.2 MB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5613, allocations: 79.95 kB / 449.3 MB, free: 164 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7552/1.317, allocations: 94.14 MB / 0.5307 GB, free: 33.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.317, allocations: 0 / 0.5307 GB, free: 33.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003048/1.317, allocations: 92 kB / 0.5308 GB, free: 33.65 MB / 394.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.04811/1.365, allocations: 5.82 MB / 0.5365 GB, free: 27.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.365, allocations: 8.031 kB / 0.5365 GB, free: 27.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02855/1.394, allocations: 2.923 MB / 0.5394 GB, free: 24.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03243/1.426, allocations: 7.194 MB / 0.5464 GB, free: 17.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/1.427, allocations: 156 kB / 0.5465 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/1.429, allocations: 287.8 kB / 0.5468 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01909/1.449, allocations: 7.082 MB / 0.5537 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/1.478, allocations: 10.64 MB / 0.5641 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004313/1.478, allocations: 75.34 kB / 0.5642 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002551/1.481, allocations: 36 kB / 0.5642 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003961/1.485, allocations: 1.194 MB / 0.5654 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1158/1.6, allocations: 56.15 MB / 0.6202 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3674/1.968, allocations: 3.464 MB / 0.6236 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006234/1.974, allocations: 2.219 MB / 0.6258 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/1.976, allocations: 0.6684 MB / 0.6264 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.663e-05/1.976, allocations: 64.06 kB / 0.6265 GB, free: 105.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=205): time 6.673e-06/1.976, allocations: 1.25 kB / 0.6265 GB, free: 105.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=238): time 0.08661/2.063, allocations: 20.01 MB / 0.646 GB, free: 101 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.063, allocations: 257 kB / 0.6463 GB, free: 100.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009278/2.072, allocations: 3.458 MB / 0.6497 GB, free: 100.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007918/2.073, allocations: 25.7 kB / 0.6497 GB, free: 100.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003346/2.076, allocations: 3.52 MB / 0.6531 GB, free: 98.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001824/2.078, allocations: 0.9282 MB / 0.654 GB, free: 97.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/2.08, allocations: 3.594 kB / 0.654 GB, free: 97.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007233/2.08, allocations: 0.6249 MB / 0.6546 GB, free: 97.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007904/2.088, allocations: 2.937 MB / 0.6575 GB, free: 97.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/2.099, allocations: 7.276 MB / 0.6646 GB, free: 91.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/2.11, allocations: 4.525 MB / 0.669 GB, free: 90.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001864/2.11, allocations: 51.67 kB / 0.6691 GB, free: 90.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04537/2.156, allocations: 11.97 MB / 0.6808 GB, free: 87.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/2.156, allocations: 73.41 kB / 0.6808 GB, free: 87.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02587/2.182, allocations: 6.181 MB / 0.6869 GB, free: 85.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/2.204, allocations: 3.282 MB / 0.6901 GB, free: 82.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/2.215, allocations: 1.744 MB / 0.6918 GB, free: 81.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/2.243, allocations: 15.11 MB / 0.7065 GB, free: 67.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/2.256, allocations: 0.6374 MB / 0.7072 GB, free: 67.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/2.258, allocations: 465.2 kB / 0.7076 GB, free: 66.57 MB / 458.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 (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.002103/2.26, allocations: 0.494 MB / 0.7081 GB, free: 66.08 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02658/2.287, allocations: 6.865 MB / 0.7148 GB, free: 60.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/2.288, allocations: 375.1 kB / 0.7151 GB, free: 60.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02684/2.315, allocations: 6.699 MB / 0.7217 GB, free: 55.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03783/2.353, allocations: 6.08 MB / 0.7276 GB, free: 50.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.15e-05/2.353, allocations: 12 kB / 0.7276 GB, free: 50.67 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-05/2.353, allocations: 11.95 kB / 0.7276 GB, free: 50.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08533/2.439, allocations: 14.35 MB / 0.7417 GB, free: 36.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/2.439, allocations: 4 kB / 0.7417 GB, free: 36.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004784/2.444, allocations: 419.3 kB / 0.7421 GB, free: 35.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02205/2.466, allocations: 3.273 MB / 0.7453 GB, free: 32.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007963/2.466, allocations: 43.94 kB / 0.7453 GB, free: 32.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03179/2.498, allocations: 16.01 MB / 0.7609 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003313/2.502, allocations: 4.24 MB / 0.7651 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03343/2.535, allocations: 10.42 MB / 0.7753 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/2.537, allocations: 440 kB / 0.7757 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/2.538, allocations: 27.97 kB / 0.7757 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006376/2.545, allocations: 303.5 kB / 0.776 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/2.546, allocations: 177.6 kB / 0.7762 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004827/2.547, allocations: 71.95 kB / 0.7762 GB, free: 15.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006951/2.554, allocations: 2.295 MB / 0.7785 GB, free: 13.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.173e-06/2.554, allocations: 0 / 0.7785 GB, free: 13.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01162/2.565, allocations: 1.368 MB / 0.7798 GB, free: 11.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 36 ($STATESET140401890460042.x[3],$STATESET140401890460042.x[2],$STATESET140401890460042.x[1],$STATESET140401890460041.x[3],$STATESET140401890460041.x[2],$STATESET140401890460041.x[1],$STATESET140401890460040.x[3],$STATESET140401890460040.x[2],$STATESET140401890460040.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.04026/2.606, allocations: 11.62 MB / 0.7912 GB, free: 188 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.408/3.014, allocations: 8.703 MB / 0.7997 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/3.014, allocations: 1.75 kB / 0.7997 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0199/3.034, allocations: 4.455 MB / 0.804 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/3.039, allocations: 400.6 kB / 0.8044 GB, free: 127.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07123/3.111, allocations: 12.56 MB / 0.8166 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/3.124, allocations: 3.714 MB / 0.8203 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01801/3.142, allocations: 2.27 MB / 0.8225 GB, free: 123.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008196/3.15, allocations: 2.201 MB / 0.8246 GB, free: 123.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.715e-06/3.15, allocations: 0 / 0.8246 GB, free: 123.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/3.418, allocations: 97.79 MB / 0.9201 GB, free: 54.86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002838/3.418, allocations: 130.9 kB / 0.9203 GB, free: 54.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.921/10.34, allocations: 6.953 kB / 0.9203 GB, free: 54.67 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat