Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.413e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5735/0.7113, allocations: 109.4 MB / 0.5076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.7117, allocations: 71.97 kB / 0.5077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.357/1.069, allocations: 74.21 MB / 0.5801 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.046e-06/1.069, allocations: 0 / 0.5801 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002645/1.069, allocations: 64 kB / 0.5802 GB, free: 15.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01467/1.084, allocations: 3.393 MB / 0.5835 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/1.084, allocations: 12.03 kB / 0.5835 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003117/1.087, allocations: 0.651 MB / 0.5842 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/1.105, allocations: 2.082 MB / 0.5862 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/1.122, allocations: 3.932 MB / 0.59 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/1.123, allocations: 270.8 kB / 0.5903 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/1.125, allocations: 347.8 kB / 0.5906 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02915/1.154, allocations: 8.888 MB / 0.5993 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002943/1.154, allocations: 59.45 kB / 0.5994 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/1.156, allocations: 179.8 kB / 0.5995 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/1.159, allocations: 0.88 MB / 0.6004 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/1.184, allocations: 7.002 MB / 0.6072 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4456/1.63, allocations: 42.94 MB / 0.6492 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/1.644, allocations: 3.262 MB / 0.6523 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/1.647, allocations: 1.444 MB / 0.6537 GB, free: 95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/1.659, allocations: 4.425 MB / 0.6581 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/1.659, allocations: 49.25 kB / 0.6581 GB, free: 93.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 5.611e-06/1.659, allocations: 3.719 kB / 0.6581 GB, free: 93.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.04373/1.703, allocations: 9.586 MB / 0.6675 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/1.703, allocations: 166.1 kB / 0.6676 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008512/1.712, allocations: 3.291 MB / 0.6709 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003895/1.712, allocations: 42.52 kB / 0.6709 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/1.715, allocations: 2.76 MB / 0.6736 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009621/1.716, allocations: 0.5214 MB / 0.6741 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007871/1.717, allocations: 109.8 kB / 0.6742 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004891/1.717, allocations: 0.5296 MB / 0.6747 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.722, allocations: 1.64 MB / 0.6763 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006774/1.728, allocations: 5.037 MB / 0.6812 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006497/1.735, allocations: 2.863 MB / 0.684 GB, free: 80.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/1.735, allocations: 37.94 kB / 0.6841 GB, free: 80.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0177/1.753, allocations: 6.271 MB / 0.6902 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.753, allocations: 56.28 kB / 0.6903 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/1.753, allocations: 121.3 kB / 0.6904 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.754, allocations: 343.9 kB / 0.6907 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008223/1.763, allocations: 1.278 MB / 0.6919 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/1.766, allocations: 2.294 MB / 0.6942 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006421/1.773, allocations: 294.5 kB / 0.6945 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.774, allocations: 331.2 kB / 0.6948 GB, free: 76.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (666): * Single equations (assignments): 662 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002033/1.776, allocations: 0.5296 MB / 0.6953 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009495/1.777, allocations: 311 kB / 0.6956 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009805/1.787, allocations: 2.343 MB / 0.6979 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.063e-05/1.787, allocations: 14.38 kB / 0.6979 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/1.787, allocations: 6.156 kB / 0.6979 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/1.787, allocations: 11.8 kB / 0.6979 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03224/1.82, allocations: 5.93 MB / 0.7037 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/1.82, allocations: 10.06 kB / 0.7037 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/1.822, allocations: 173.4 kB / 0.7039 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006318/1.829, allocations: 0.7132 MB / 0.7046 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004351/1.829, allocations: 23.19 kB / 0.7046 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/1.844, allocations: 4.438 MB / 0.7089 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/1.844, allocations: 0 / 0.7089 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/1.861, allocations: 4.416 MB / 0.7132 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.862, allocations: 381.2 kB / 0.7136 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.864, allocations: 21.17 kB / 0.7136 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.867, allocations: 74.08 kB / 0.7137 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/1.867, allocations: 71.86 kB / 0.7138 GB, free: 67.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.867, allocations: 33.69 kB / 0.7138 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006111/1.873, allocations: 2.282 MB / 0.716 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.475e-06/1.873, allocations: 0 / 0.716 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006844/1.88, allocations: 0.8323 MB / 0.7168 GB, free: 66.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0123/1.893, allocations: 5.347 MB / 0.7221 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009296/1.902, allocations: 3.783 MB / 0.7258 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.902, allocations: 5 kB / 0.7258 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.905, allocations: 1.077 MB / 0.7268 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.908, allocations: 357.6 kB / 0.7272 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.933, allocations: 7.03 MB / 0.734 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006428/1.94, allocations: 2.863 MB / 0.7368 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008014/1.948, allocations: 1.654 MB / 0.7384 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003941/1.952, allocations: 1.537 MB / 0.7399 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.753e-06/1.952, allocations: 0 / 0.7399 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/2.113, allocations: 64.78 MB / 0.8032 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/2.114, allocations: 172.9 kB / 0.8034 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.427/7.54, allocations: 0 / 0.8034 GB, free: 3.363 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat