Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.669/2.669, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.516e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.6055, allocations: 98.61 MB / 453 MB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.6059, allocations: 71.97 kB / 453.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9749/1.581, allocations: 139.1 MB / 0.5783 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.581, allocations: 0 / 0.5783 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007491/1.582, allocations: 156 kB / 0.5785 GB, free: 0.8281 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.07234/1.654, allocations: 8.668 MB / 0.5869 GB, free: 8.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/1.654, allocations: 12.03 kB / 0.587 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06885/1.723, allocations: 7.751 MB / 0.5945 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05362/1.777, allocations: 10.95 MB / 0.6052 GB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009158/1.778, allocations: 244 kB / 0.6054 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005273/1.783, allocations: 451.8 kB / 0.6059 GB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04637/1.829, allocations: 10.05 MB / 0.6157 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7655/2.595, allocations: 15.12 MB / 0.6305 GB, free: 61.77 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007996/2.596, allocations: 105.2 kB / 0.6306 GB, free: 61.77 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003743/2.6, allocations: 48.53 kB / 0.6306 GB, free: 61.77 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004853/2.604, allocations: 1.602 MB / 0.6322 GB, free: 61.75 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1334/2.738, allocations: 77.61 MB / 0.708 GB, free: 16.79 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009741/2.748, allocations: 4.349 MB / 0.7122 GB, free: 16.12 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006791/2.755, allocations: 3.046 MB / 0.7152 GB, free: 14.98 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/2.755, allocations: 43.56 kB / 0.7152 GB, free: 14.97 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.772e-05/2.755, allocations: 74.81 kB / 0.7153 GB, free: 14.91 MB / 458.8 MB Notification: Performance of pre-optimization done (n=265): time 8.787e-06/2.755, allocations: 0 / 0.7153 GB, free: 14.91 MB / 458.8 MB Notification: Performance of matching and sorting (n=293): time 0.09969/2.855, allocations: 21.59 MB / 0.7364 GB, free: 6.797 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/2.855, allocations: 240.1 kB / 0.7366 GB, free: 6.539 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01498/2.87, allocations: 5.142 MB / 0.7416 GB, free: 4.672 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009464/2.871, allocations: 31.08 kB / 0.7417 GB, free: 4.641 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005152/2.876, allocations: 5.298 MB / 0.7468 GB, free: 0.5547 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002363/2.879, allocations: 1.17 MB / 0.748 GB, free: 15.7 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/2.88, allocations: 0 / 0.748 GB, free: 15.7 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000966/2.881, allocations: 0.7319 MB / 0.7487 GB, free: 15.21 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/2.892, allocations: 3.692 MB / 0.7523 GB, free: 13.89 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0171/2.909, allocations: 9.579 MB / 0.7617 GB, free: 4.57 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/2.924, allocations: 5.796 MB / 0.7673 GB, free: 2.426 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003023/2.925, allocations: 62.38 kB / 0.7674 GB, free: 2.426 MB / 474.8 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.06812/2.993, allocations: 15.01 MB / 0.782 GB, free: 8.613 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002194/2.993, allocations: 96 kB / 0.7821 GB, free: 8.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04126/3.034, allocations: 7.489 MB / 0.7894 GB, free: 2.664 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03646/3.071, allocations: 3.848 MB / 0.7932 GB, free: 96 kB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01826/3.089, allocations: 2.353 MB / 0.7955 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/3.119, allocations: 13.11 MB / 0.8083 GB, free: 1.758 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01673/3.136, allocations: 0.6862 MB / 0.809 GB, free: 1.293 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003032/3.139, allocations: 0.6015 MB / 0.8096 GB, free: 0.7148 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (1225): * Single equations (assignments): 1200 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003775/3.143, allocations: 0.6394 MB / 0.8102 GB, free: 76 kB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4583/3.601, allocations: 7.514 MB / 0.8175 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/3.604, allocations: 0.5528 MB / 0.8181 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0299/3.634, allocations: 7.319 MB / 0.8252 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02542/3.659, allocations: 6.555 MB / 0.8316 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.332e-05/3.66, allocations: 5.719 kB / 0.8316 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.265e-05/3.66, allocations: 15.89 kB / 0.8316 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03439/3.694, allocations: 11.01 MB / 0.8424 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/3.694, allocations: 3.969 kB / 0.8424 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01058/3.705, allocations: 0.607 MB / 0.843 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03032/3.735, allocations: 3.072 MB / 0.846 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001326/3.737, allocations: 58.27 kB / 0.846 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03841/3.775, allocations: 13.75 MB / 0.8594 GB, free: 97.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006854/3.782, allocations: 5.782 MB / 0.8651 GB, free: 92.27 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07162/3.854, allocations: 11.52 MB / 0.8763 GB, free: 90.99 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/3.857, allocations: 0.5976 MB / 0.8769 GB, free: 90.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003559/3.86, allocations: 35.44 kB / 0.877 GB, free: 90.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01218/3.873, allocations: 331.5 kB / 0.8773 GB, free: 90.68 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002048/3.875, allocations: 222.6 kB / 0.8775 GB, free: 90.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008656/3.876, allocations: 91.81 kB / 0.8776 GB, free: 90.64 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00991/3.885, allocations: 3.447 MB / 0.8809 GB, free: 89.38 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.122e-06/3.886, allocations: 0 / 0.8809 GB, free: 89.38 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01548/3.901, allocations: 1.887 MB / 0.8828 GB, free: 89.38 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140609529921931.x[3],$STATESET140609529921931.x[2],$STATESET140609529921931.x[1],$STATESET140609529921930.x[3],$STATESET140609529921930.x[2],$STATESET140609529921930.x[1],$STATESET140609529921929.x[3],$STATESET140609529921929.x[2],$STATESET140609529921929.x[1],$STATESET140609529921928.x[3],$STATESET140609529921928.x[2],$STATESET140609529921928.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.03843/3.94, allocations: 12.33 MB / 0.8948 GB, free: 84.41 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02996/3.97, allocations: 10.71 MB / 0.9053 GB, free: 78.11 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/3.97, allocations: 0.5625 kB / 0.9053 GB, free: 78.11 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01778/3.987, allocations: 5.217 MB / 0.9104 GB, free: 73.48 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007162/3.995, allocations: 0.693 MB / 0.9111 GB, free: 72.92 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06068/4.055, allocations: 18.67 MB / 0.9293 GB, free: 57.35 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/4.069, allocations: 5.407 MB / 0.9346 GB, free: 53.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01628/4.085, allocations: 2.992 MB / 0.9375 GB, free: 51.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009/4.094, allocations: 3.584 MB / 0.941 GB, free: 48.2 MB / 0.4949 GB Notification: Performance of SimCode: time 3.607e-06/4.094, allocations: 0 / 0.941 GB, free: 48.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7845/4.878, allocations: 139.5 MB / 1.077 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003079/4.879, allocations: 138.6 kB / 1.077 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.648/13.53, allocations: 0 / 1.077 GB, free: 94.26 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat