Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.474e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5248, allocations: 89.11 MB / 411 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5251, allocations: 75.16 kB / 411 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3787/0.9038, allocations: 85.58 MB / 496.6 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.646e-06/0.9039, allocations: 0 / 496.6 MB, free: 10.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002001/0.9042, allocations: 75.94 kB / 496.7 MB, free: 10.06 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01516/0.9193, allocations: 3.651 MB / 0.4886 GB, free: 6.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.825e-05/0.9194, allocations: 16.03 kB / 0.4886 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003982/0.9234, allocations: 0.7833 MB / 0.4894 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/0.9517, allocations: 3.508 MB / 0.4928 GB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3128/1.265, allocations: 4.131 MB / 0.4969 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/1.265, allocations: 304.3 kB / 0.4971 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/1.268, allocations: 381.5 kB / 0.4975 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03647/1.305, allocations: 10.21 MB / 0.5075 GB, free: 99.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/1.305, allocations: 24.53 kB / 0.5075 GB, free: 99.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002244/1.307, allocations: 180.8 kB / 0.5077 GB, free: 99.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003428/1.311, allocations: 1.203 MB / 0.5089 GB, free: 99.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/1.34, allocations: 9.865 MB / 0.5185 GB, free: 99.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07589/1.416, allocations: 35.49 MB / 0.5531 GB, free: 79.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/1.431, allocations: 4.925 MB / 0.5579 GB, free: 76.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004681/1.436, allocations: 2.268 MB / 0.5602 GB, free: 76.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/1.438, allocations: 1.878 MB / 0.562 GB, free: 74.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.438, allocations: 55.2 kB / 0.5621 GB, free: 74.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 6.662e-06/1.438, allocations: 0 / 0.5621 GB, free: 74.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.06122/1.499, allocations: 11.24 MB / 0.573 GB, free: 71.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/1.5, allocations: 76.34 kB / 0.5731 GB, free: 70.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007216/1.507, allocations: 2.337 MB / 0.5754 GB, free: 69.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006956/1.508, allocations: 55.27 kB / 0.5754 GB, free: 69.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002993/1.511, allocations: 2.697 MB / 0.5781 GB, free: 66.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.512, allocations: 0.8519 MB / 0.5789 GB, free: 66.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007573/1.513, allocations: 102.4 kB / 0.579 GB, free: 66.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005295/1.514, allocations: 0.5351 MB / 0.5795 GB, free: 65.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007906/1.522, allocations: 2.14 MB / 0.5816 GB, free: 63.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008458/1.53, allocations: 5.027 MB / 0.5865 GB, free: 57.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007342/1.538, allocations: 3.317 MB / 0.5898 GB, free: 54.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.027e-05/1.538, allocations: 28 kB / 0.5898 GB, free: 54.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02734/1.565, allocations: 7.778 MB / 0.5974 GB, free: 48.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/1.565, allocations: 52 kB / 0.5974 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/1.566, allocations: 100 kB / 0.5975 GB, free: 48.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/1.572, allocations: 0.8004 MB / 0.5983 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/1.584, allocations: 1.189 MB / 0.5995 GB, free: 46.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.595, allocations: 4.143 MB / 0.6035 GB, free: 42.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005597/1.601, allocations: 291.9 kB / 0.6038 GB, free: 42.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.602, allocations: 307.4 kB / 0.6041 GB, free: 42.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (636): * Single equations (assignments): 629 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001574/1.604, allocations: 494.1 kB / 0.6046 GB, free: 41.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/1.604, allocations: 256.6 kB / 0.6048 GB, free: 41.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.617, allocations: 4.669 MB / 0.6094 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/1.618, allocations: 43.47 kB / 0.6094 GB, free: 37.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.618, allocations: 4 kB / 0.6094 GB, free: 37.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.618, allocations: 14.77 kB / 0.6094 GB, free: 37.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02927/1.647, allocations: 10.58 MB / 0.6198 GB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/1.647, allocations: 4 kB / 0.6198 GB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/1.65, allocations: 366.7 kB / 0.6201 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/1.654, allocations: 0.6502 MB / 0.6207 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000508/1.655, allocations: 47.58 kB / 0.6208 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007281/1.662, allocations: 3.58 MB / 0.6243 GB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.662, allocations: 15.62 kB / 0.6243 GB, free: 24.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.68, allocations: 7.607 MB / 0.6317 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.682, allocations: 0.6538 MB / 0.6324 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008627/1.683, allocations: 41.11 kB / 0.6324 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.686, allocations: 137.1 kB / 0.6325 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/1.686, allocations: 139.9 kB / 0.6327 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.687, allocations: 68.7 kB / 0.6327 GB, free: 15.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003554/1.69, allocations: 1.591 MB / 0.6343 GB, free: 14.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.213e-06/1.69, allocations: 0 / 0.6343 GB, free: 14.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006001/1.696, allocations: 0.9444 MB / 0.6352 GB, free: 13.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01776/1.714, allocations: 10.05 MB / 0.645 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/1.727, allocations: 5.268 MB / 0.6502 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.727, allocations: 4 kB / 0.6502 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005215/1.732, allocations: 1.996 MB / 0.6521 GB, free: 11.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.735, allocations: 309.9 kB / 0.6524 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/1.768, allocations: 9.31 MB / 0.6615 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3067/2.074, allocations: 3.299 MB / 0.6647 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009312/2.084, allocations: 1.962 MB / 0.6666 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004589/2.088, allocations: 1.771 MB / 0.6684 GB, free: 106.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/2.088, allocations: 3.281 kB / 0.6684 GB, free: 106.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1593/2.248, allocations: 65 MB / 0.7319 GB, free: 92.24 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/2.248, allocations: 166.9 kB / 0.732 GB, free: 92.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.762/7.01, allocations: 0 / 0.732 GB, free: 92.01 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat