Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.997e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4626, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.6354, allocations: 81.79 MB / 441.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6358, allocations: 67.95 kB / 441.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02783/0.6637, allocations: 5.777 MB / 447.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6637, allocations: 0 / 447.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.6638, allocations: 4 kB / 447.5 MB, free: 9.215 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001277/0.665, allocations: 0.5571 MB / 448 MB, free: 8.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.6651, allocations: 8.031 kB / 448.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.6653, allocations: 78.53 kB / 448.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.6654, allocations: 47.52 kB / 448.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.6658, allocations: 259.2 kB / 448.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.6659, allocations: 28.78 kB / 448.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.666, allocations: 44.75 kB / 448.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.667, allocations: 375.3 kB / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.667, allocations: 3.906 kB / 448.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.6671, allocations: 16 kB / 448.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6671, allocations: 16 kB / 448.9 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.6677, allocations: 191.8 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.6715, allocations: 1.713 MB / 450.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.6722, allocations: 258.3 kB / 451.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.6724, allocations: 82.89 kB / 451.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.6724, allocations: 4 kB / 451.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.6725, allocations: 46.48 kB / 451.2 MB, free: 5.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.306e-06/0.6725, allocations: 4 kB / 451.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007341/0.6733, allocations: 189 kB / 451.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.6734, allocations: 217.7 kB / 451.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.6738, allocations: 235.3 kB / 451.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.6739, allocations: 29.7 kB / 451.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.6741, allocations: 244 kB / 452.1 MB, free: 4.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.6743, allocations: 110.5 kB / 452.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.6743, allocations: 16 kB / 452.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.6745, allocations: 338.8 kB / 452.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.6748, allocations: 84.84 kB / 452.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.6754, allocations: 422.1 kB / 453 MB, free: 3.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.6759, allocations: 151.9 kB / 453.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.6759, allocations: 7.984 kB / 453.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001306/0.6772, allocations: 0.5022 MB / 453.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.6773, allocations: 8 kB / 453.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.6773, allocations: 12 kB / 453.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.212e-05/0.6774, allocations: 20.06 kB / 453.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009676/0.6784, allocations: 155.7 kB / 453.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/0.6784, allocations: 27.91 kB / 453.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.679, allocations: 63.38 kB / 454 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.6791, allocations: 32 kB / 454 MB, free: 2.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.6793, allocations: 150.7 kB / 454.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.6795, allocations: 37.03 kB / 454.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.6797, allocations: 33.91 kB / 454.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.6797, allocations: 4 kB / 454.2 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6797, allocations: 3.953 kB / 454.2 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6797, allocations: 7.984 kB / 454.2 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.6819, allocations: 0.6358 MB / 454.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.682, allocations: 8.312 kB / 454.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.683, allocations: 95.88 kB / 455 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.6831, allocations: 4 kB / 455 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.6831, allocations: 15.95 kB / 455 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.6831, allocations: 0 / 455 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.6832, allocations: 4 kB / 455 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6843, allocations: 0.9029 MB / 455.9 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.6845, allocations: 104.9 kB / 456 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.6846, allocations: 15.98 kB / 456 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.6852, allocations: 9.406 kB / 456 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.6853, allocations: 27.91 kB / 456.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.6853, allocations: 16.5 kB / 456.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.6857, allocations: 179.1 kB / 456.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6857, allocations: 0 / 456.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001123/0.6868, allocations: 103.8 kB / 456.3 MB, free: 15.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.6885, allocations: 2.001 MB / 458.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007843/0.6893, allocations: 274.1 kB / 458.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.6894, allocations: 4.438 kB / 458.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.6896, allocations: 75.88 kB / 458.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6907, allocations: 57.48 kB / 458.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.6952, allocations: 1.634 MB / 460.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.6958, allocations: 0.8033 MB / 461.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.6962, allocations: 43.25 kB / 461.2 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.6964, allocations: 115.4 kB / 461.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6965, allocations: 0 / 461.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.7411, allocations: 5.939 MB / 467.3 MB, free: 4.594 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003741/0.7416, allocations: 163.5 kB / 467.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.464, allocations: 0 / 467.4 MB, free: 4.363 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat