Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.731/2.731, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.395e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3974, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.6247, allocations: 98.3 MB / 452.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.6251, allocations: 71.97 kB / 452.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7396/1.365, allocations: 88.96 MB / 0.5291 GB, free: 35.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.365, allocations: 0 / 0.5291 GB, free: 35.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002224/1.365, allocations: 76 kB / 0.5291 GB, free: 34.95 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: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01713/1.382, allocations: 3.961 MB / 0.533 GB, free: 30.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/1.382, allocations: 12.03 kB / 0.533 GB, free: 30.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03148/1.414, allocations: 3.547 MB / 0.5365 GB, free: 27.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/1.432, allocations: 4.429 MB / 0.5408 GB, free: 22.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/1.433, allocations: 140 kB / 0.5409 GB, free: 22.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/1.436, allocations: 255.9 kB / 0.5412 GB, free: 22.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02032/1.456, allocations: 7.679 MB / 0.5487 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/1.486, allocations: 10.03 MB / 0.5585 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/1.486, allocations: 27.72 kB / 0.5585 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/1.488, allocations: 19.98 kB / 0.5585 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002985/1.491, allocations: 1.251 MB / 0.5597 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09819/1.589, allocations: 35.14 MB / 0.5941 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.599, allocations: 4.362 MB / 0.5983 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006373/1.606, allocations: 2.334 MB / 0.6006 GB, free: 8.223 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002388/1.608, allocations: 1.323 MB / 0.6019 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/1.608, allocations: 56.56 kB / 0.6019 GB, free: 6.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 1.224e-05/1.608, allocations: 4 kB / 0.602 GB, free: 6.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.06575/1.674, allocations: 15.71 MB / 0.6173 GB, free: 6.793 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/1.674, allocations: 77.41 kB / 0.6174 GB, free: 6.707 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007181/1.681, allocations: 2.303 MB / 0.6196 GB, free: 4.391 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006225/1.682, allocations: 25.7 kB / 0.6196 GB, free: 4.359 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003917/1.686, allocations: 2.941 MB / 0.6225 GB, free: 1.375 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002017/1.688, allocations: 0.9016 MB / 0.6234 GB, free: 472 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008324/1.689, allocations: 0 / 0.6234 GB, free: 472 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.392/2.081, allocations: 0.5577 MB / 0.6239 GB, free: 111.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/2.092, allocations: 2.223 MB / 0.6261 GB, free: 111.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/2.105, allocations: 5.411 MB / 0.6314 GB, free: 107.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/2.119, allocations: 3.517 MB / 0.6348 GB, free: 107.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001968/2.119, allocations: 30.31 kB / 0.6349 GB, free: 107.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.03083/2.15, allocations: 7.832 MB / 0.6425 GB, free: 107.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/2.15, allocations: 52.34 kB / 0.6426 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/2.15, allocations: 112.6 kB / 0.6427 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006325/2.157, allocations: 0.9584 MB / 0.6436 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009625/2.166, allocations: 1.325 MB / 0.6449 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/2.178, allocations: 4.552 MB / 0.6493 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006656/2.184, allocations: 200.6 kB / 0.6495 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/2.186, allocations: 337 kB / 0.6498 GB, free: 105.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 701 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001979/2.188, allocations: 401.2 kB / 0.6502 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01418/2.202, allocations: 4.421 MB / 0.6545 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/2.203, allocations: 275.2 kB / 0.6548 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/2.22, allocations: 4.939 MB / 0.6596 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/2.22, allocations: 50.31 kB / 0.6597 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/2.22, allocations: 3.281 kB / 0.6597 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-05/2.22, allocations: 12.47 kB / 0.6597 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/2.266, allocations: 10.82 MB / 0.6703 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-05/2.266, allocations: 11.25 kB / 0.6703 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006439/2.272, allocations: 402.5 kB / 0.6707 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007903/2.28, allocations: 0.7599 MB / 0.6714 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007291/2.281, allocations: 24.66 kB / 0.6714 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/2.295, allocations: 3.872 MB / 0.6752 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-05/2.296, allocations: 19.73 kB / 0.6752 GB, free: 98.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/2.327, allocations: 8.31 MB / 0.6833 GB, free: 91.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/2.331, allocations: 0.6757 MB / 0.684 GB, free: 91.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/2.333, allocations: 15.28 kB / 0.684 GB, free: 91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003156/2.336, allocations: 109.3 kB / 0.6841 GB, free: 90.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008568/2.337, allocations: 161 kB / 0.6843 GB, free: 90.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003511/2.337, allocations: 75.72 kB / 0.6843 GB, free: 90.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003711/2.341, allocations: 1.509 MB / 0.6858 GB, free: 89.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.62e-07/2.341, allocations: 0 / 0.6858 GB, free: 89.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007823/2.349, allocations: 0.879 MB / 0.6867 GB, free: 88.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02171/2.37, allocations: 11.63 MB / 0.698 GB, free: 77.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01303/2.383, allocations: 5.421 MB / 0.7033 GB, free: 72.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/2.384, allocations: 4 kB / 0.7033 GB, free: 72.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005026/2.389, allocations: 2.071 MB / 0.7054 GB, free: 70.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/2.391, allocations: 242 kB / 0.7056 GB, free: 70.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/2.424, allocations: 9.89 MB / 0.7152 GB, free: 61.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007721/2.432, allocations: 3.513 MB / 0.7187 GB, free: 59.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01033/2.442, allocations: 2.095 MB / 0.7207 GB, free: 57.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005196/2.447, allocations: 1.904 MB / 0.7226 GB, free: 56.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/2.447, allocations: 4 kB / 0.7226 GB, free: 56.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1997/2.647, allocations: 66.33 MB / 0.7874 GB, free: 8.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000356/2.647, allocations: 135.8 kB / 0.7875 GB, free: 8.059 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.352/7.999, allocations: 0 / 0.7875 GB, free: 8.059 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat