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.952/1.952, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.433e-05/4.436e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.569, allocations: 89.11 MB / 411 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.5694, allocations: 76.83 kB / 411.1 MB, free: 404 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.385/0.9544, allocations: 85.57 MB / 496.6 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.9545, allocations: 0 / 496.6 MB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002095/0.9547, allocations: 71.94 kB / 496.7 MB, free: 10.05 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.01568/0.9704, allocations: 3.655 MB / 0.4886 GB, free: 6.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.9705, allocations: 12.03 kB / 0.4887 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00411/0.9746, allocations: 0.7833 MB / 0.4894 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02846/1.003, allocations: 3.504 MB / 0.4928 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.319/1.322, allocations: 4.14 MB / 0.4969 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/1.323, allocations: 296 kB / 0.4972 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/1.326, allocations: 385.7 kB / 0.4975 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/1.362, allocations: 10.16 MB / 0.5075 GB, free: 99.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/1.362, allocations: 24.89 kB / 0.5075 GB, free: 99.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0029/1.365, allocations: 177.9 kB / 0.5077 GB, free: 99.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003648/1.369, allocations: 1.216 MB / 0.5088 GB, free: 99.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0318/1.401, allocations: 9.745 MB / 0.5184 GB, free: 99.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08017/1.481, allocations: 35.48 MB / 0.553 GB, free: 79.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.496, allocations: 4.911 MB / 0.5578 GB, free: 77.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/1.501, allocations: 2.273 MB / 0.56 GB, free: 76.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002307/1.503, allocations: 1.884 MB / 0.5619 GB, free: 74.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/1.503, allocations: 52.09 kB / 0.5619 GB, free: 74.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 6.092e-06/1.503, allocations: 0 / 0.5619 GB, free: 74.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.04617/1.549, allocations: 11.24 MB / 0.5729 GB, free: 71.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/1.55, allocations: 72 kB / 0.5729 GB, free: 71.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005614/1.555, allocations: 2.345 MB / 0.5752 GB, free: 69.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006185/1.556, allocations: 57.27 kB / 0.5753 GB, free: 69.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.558, allocations: 2.694 MB / 0.5779 GB, free: 67.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.559, allocations: 0.855 MB / 0.5788 GB, free: 66.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006147/1.56, allocations: 100.9 kB / 0.5789 GB, free: 66.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004145/1.561, allocations: 0.5314 MB / 0.5794 GB, free: 65.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00521/1.566, allocations: 2.143 MB / 0.5815 GB, free: 63.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/1.573, allocations: 4.998 MB / 0.5863 GB, free: 57.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007276/1.58, allocations: 3.313 MB / 0.5896 GB, free: 55.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.58, allocations: 28 kB / 0.5896 GB, free: 55.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02141/1.602, allocations: 7.494 MB / 0.5969 GB, free: 48.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.03e-05/1.602, allocations: 52.91 kB / 0.597 GB, free: 48.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.602, allocations: 100 kB / 0.5971 GB, free: 48.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.606, allocations: 0.8023 MB / 0.5979 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007808/1.614, allocations: 1.192 MB / 0.599 GB, free: 46.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008361/1.622, allocations: 4.133 MB / 0.6031 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/1.628, allocations: 295.2 kB / 0.6033 GB, free: 43.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.629, allocations: 307.7 kB / 0.6036 GB, free: 42.77 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.001506/1.631, allocations: 491 kB / 0.6041 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/1.632, allocations: 264.6 kB / 0.6044 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.645, allocations: 4.674 MB / 0.6089 GB, free: 38.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/1.645, allocations: 44.2 kB / 0.609 GB, free: 38.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.645, allocations: 4 kB / 0.609 GB, free: 38.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.246e-05/1.645, allocations: 7.172 kB / 0.609 GB, free: 38.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03172/1.677, allocations: 10.57 MB / 0.6193 GB, free: 29.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/1.677, allocations: 8 kB / 0.6193 GB, free: 29.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/1.68, allocations: 365.6 kB / 0.6196 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003874/1.684, allocations: 0.645 MB / 0.6203 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006221/1.685, allocations: 53.92 kB / 0.6203 GB, free: 28.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00753/1.692, allocations: 3.584 MB / 0.6238 GB, free: 25.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.693, allocations: 11.94 kB / 0.6238 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/1.711, allocations: 7.608 MB / 0.6313 GB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/1.713, allocations: 0.649 MB / 0.6319 GB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.714, allocations: 36 kB / 0.6319 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.718, allocations: 142 kB / 0.6321 GB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007879/1.718, allocations: 133.3 kB / 0.6322 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.719, allocations: 63.94 kB / 0.6323 GB, free: 16.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004196/1.723, allocations: 1.595 MB / 0.6338 GB, free: 14.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.523e-06/1.723, allocations: 3.938 kB / 0.6338 GB, free: 14.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007071/1.73, allocations: 0.9486 MB / 0.6347 GB, free: 13.91 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.01953/1.75, allocations: 10.04 MB / 0.6446 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01324/1.763, allocations: 5.105 MB / 0.6495 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/1.763, allocations: 9.125 kB / 0.6496 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005738/1.769, allocations: 1.979 MB / 0.6515 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/1.772, allocations: 309 kB / 0.6518 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/1.809, allocations: 9.286 MB / 0.6608 GB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3174/2.126, allocations: 3.3 MB / 0.6641 GB, free: 106.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01075/2.137, allocations: 1.967 MB / 0.666 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005646/2.143, allocations: 1.769 MB / 0.6677 GB, free: 106.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/2.143, allocations: 1.031 kB / 0.6677 GB, free: 106.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.164/2.307, allocations: 64.54 MB / 0.7307 GB, free: 93.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/2.307, allocations: 173.5 kB / 0.7309 GB, free: 92.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.632/6.939, allocations: 0 / 0.7309 GB, free: 92.79 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