Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.074/2.074, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.166e-05, allocations: 3.938 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4591/0.5905, allocations: 91.64 MB / 408 MB, free: 1.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.5909, allocations: 77.89 kB / 408 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6617/1.253, allocations: 88.9 MB / 496.9 MB, free: 90.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.253, allocations: 0 / 496.9 MB, free: 90.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002335/1.253, allocations: 79.75 kB / 497 MB, free: 90.09 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01697/1.27, allocations: 3.957 MB / 0.4892 GB, free: 88.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.27, allocations: 10.5 kB / 0.4892 GB, free: 88.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02906/1.299, allocations: 3.548 MB / 0.4927 GB, free: 88.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/1.317, allocations: 4.423 MB / 0.497 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/1.317, allocations: 137.8 kB / 0.4972 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003134/1.321, allocations: 252.5 kB / 0.4974 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02/1.341, allocations: 7.679 MB / 0.5049 GB, free: 87.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/1.37, allocations: 10.03 MB / 0.5147 GB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/1.37, allocations: 35.91 kB / 0.5147 GB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002699/1.373, allocations: 14.06 kB / 0.5147 GB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/1.376, allocations: 1.251 MB / 0.516 GB, free: 86.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07441/1.45, allocations: 35.13 MB / 0.5503 GB, free: 67.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/1.458, allocations: 4.361 MB / 0.5545 GB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004398/1.462, allocations: 2.342 MB / 0.5568 GB, free: 63.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/1.464, allocations: 1.313 MB / 0.5581 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/1.464, allocations: 54.25 kB / 0.5581 GB, free: 62.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 6.873e-06/1.464, allocations: 0 / 0.5581 GB, free: 62.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.04759/1.511, allocations: 15.71 MB / 0.5735 GB, free: 50.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.511, allocations: 73.41 kB / 0.5736 GB, free: 50.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/1.516, allocations: 2.307 MB / 0.5758 GB, free: 48.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005566/1.516, allocations: 25.7 kB / 0.5758 GB, free: 48.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/1.518, allocations: 2.937 MB / 0.5787 GB, free: 45.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.52, allocations: 0.9078 MB / 0.5796 GB, free: 44.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000579/1.52, allocations: 4 kB / 0.5796 GB, free: 44.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003971/1.521, allocations: 0.5531 MB / 0.5801 GB, free: 44.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/1.525, allocations: 2.228 MB / 0.5823 GB, free: 42.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007028/1.532, allocations: 5.405 MB / 0.5876 GB, free: 35.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007338/1.54, allocations: 3.508 MB / 0.591 GB, free: 32.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/1.54, allocations: 32 kB / 0.591 GB, free: 32.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02152/1.562, allocations: 7.836 MB / 0.5987 GB, free: 25.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/1.562, allocations: 52 kB / 0.5987 GB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.562, allocations: 116 kB / 0.5989 GB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004545/1.566, allocations: 0.9592 MB / 0.5998 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008144/1.575, allocations: 1.321 MB / 0.6011 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008859/1.583, allocations: 4.561 MB / 0.6055 GB, free: 19.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005587/1.589, allocations: 207.8 kB / 0.6057 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.591, allocations: 332 kB / 0.6061 GB, free: 19.19 MB / 410.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.002576/1.593, allocations: 389.2 kB / 0.6064 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01272/1.606, allocations: 4.422 MB / 0.6107 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.607, allocations: 276.3 kB / 0.611 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/1.621, allocations: 4.945 MB / 0.6158 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/1.621, allocations: 47.98 kB / 0.6159 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.621, allocations: 0 / 0.6159 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/1.621, allocations: 11.44 kB / 0.6159 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02922/1.65, allocations: 10.84 MB / 0.6265 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/1.65, allocations: 8 kB / 0.6265 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003671/1.654, allocations: 404.1 kB / 0.6269 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/1.658, allocations: 0.7692 MB / 0.6276 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/1.659, allocations: 23.98 kB / 0.6276 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009161/1.668, allocations: 3.856 MB / 0.6314 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.323e-05/1.668, allocations: 19.89 kB / 0.6314 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.688, allocations: 8.316 MB / 0.6395 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3121/2, allocations: 0.6684 MB / 0.6402 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/2.001, allocations: 17.3 kB / 0.6402 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/2.004, allocations: 108.5 kB / 0.6403 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008354/2.005, allocations: 160.4 kB / 0.6405 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/2.006, allocations: 75.19 kB / 0.6405 GB, free: 93.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004327/2.01, allocations: 1.509 MB / 0.642 GB, free: 93.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.01, allocations: 1.906 kB / 0.642 GB, free: 93.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007431/2.017, allocations: 0.8741 MB / 0.6429 GB, free: 93.6 MB / 426.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.02095/2.038, allocations: 11.62 MB / 0.6542 GB, free: 88.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/2.051, allocations: 5.427 MB / 0.6595 GB, free: 88.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/2.051, allocations: 2.75 kB / 0.6595 GB, free: 88.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00466/2.056, allocations: 2.075 MB / 0.6616 GB, free: 88.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/2.059, allocations: 234.6 kB / 0.6618 GB, free: 88.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02988/2.089, allocations: 9.885 MB / 0.6714 GB, free: 86.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006939/2.096, allocations: 3.522 MB / 0.6749 GB, free: 85.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008651/2.104, allocations: 2.093 MB / 0.6769 GB, free: 85.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004649/2.109, allocations: 1.903 MB / 0.6788 GB, free: 85.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/2.109, allocations: 0 / 0.6788 GB, free: 85.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1658/2.275, allocations: 66.32 MB / 0.7435 GB, free: 48.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/2.275, allocations: 135.2 kB / 0.7437 GB, free: 48.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.566/6.841, allocations: 0 / 0.7437 GB, free: 48.14 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat