Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.901e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.5885, allocations: 75.43 MB / 397.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5888, allocations: 63.97 kB / 397.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02635/0.6152, allocations: 5.787 MB / 403.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6153, allocations: 1.094 kB / 403.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.6153, allocations: 12 kB / 403.2 MB, free: 8.305 MB / 330.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.001222/0.6165, allocations: 0.5571 MB / 403.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.6166, allocations: 8.031 kB / 403.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.6167, allocations: 82.41 kB / 403.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.6168, allocations: 47.48 kB / 403.9 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.6173, allocations: 254.4 kB / 404.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.6173, allocations: 28.78 kB / 404.1 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6174, allocations: 43.91 kB / 404.2 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.6183, allocations: 365.8 kB / 404.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.6184, allocations: 9.766 kB / 404.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.6184, allocations: 16 kB / 404.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.6185, allocations: 15.95 kB / 404.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.6191, allocations: 187.8 kB / 404.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.6226, allocations: 1.715 MB / 406.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.6232, allocations: 242.4 kB / 406.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.6234, allocations: 86.14 kB / 406.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.6235, allocations: 3.938 kB / 406.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.6235, allocations: 42.55 kB / 406.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.206e-06/0.6235, allocations: 0 / 406.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006824/0.6242, allocations: 193.2 kB / 407 MB, free: 4.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6244, allocations: 217.6 kB / 407.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.6248, allocations: 235.3 kB / 407.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.6248, allocations: 33.7 kB / 407.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.625, allocations: 239.2 kB / 407.7 MB, free: 3.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.6252, allocations: 126.3 kB / 407.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.6252, allocations: 16.09 kB / 407.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.6254, allocations: 346.8 kB / 408.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.6257, allocations: 81.56 kB / 408.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.6262, allocations: 408.6 kB / 408.7 MB, free: 2.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.6267, allocations: 163.8 kB / 408.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.6267, allocations: 0 / 408.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001228/0.6279, allocations: 473.5 kB / 409.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.628, allocations: 15.98 kB / 409.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.628, allocations: 12 kB / 409.3 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.176e-05/0.6281, allocations: 16 kB / 409.4 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/0.629, allocations: 147.8 kB / 409.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/0.6291, allocations: 19.92 kB / 409.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.6296, allocations: 75.69 kB / 409.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.6297, allocations: 32 kB / 409.6 MB, free: 1.27 MB / 330.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.0001778/0.6299, allocations: 148.7 kB / 409.8 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.6301, allocations: 31.62 kB / 409.8 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.6302, allocations: 33.95 kB / 409.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.6303, allocations: 4 kB / 409.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6303, allocations: 4 kB / 409.8 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6303, allocations: 7.938 kB / 409.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.6324, allocations: 0.6436 MB / 410.5 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.6324, allocations: 0 / 410.5 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.6334, allocations: 87.89 kB / 410.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.6335, allocations: 4 kB / 410.6 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.6335, allocations: 11.98 kB / 410.6 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.6335, allocations: 7.938 kB / 410.6 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6335, allocations: 8.062 kB / 410.6 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.6346, allocations: 0.8864 MB / 411.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.6348, allocations: 132.8 kB / 411.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.6349, allocations: 8 kB / 411.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/0.6354, allocations: 20.12 kB / 411.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.6355, allocations: 19.97 kB / 411.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.6356, allocations: 12 kB / 411.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.6359, allocations: 183.1 kB / 411.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.445e-06/0.6359, allocations: 4 kB / 411.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001095/0.637, allocations: 111.7 kB / 412 MB, free: 14.74 MB / 346.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.001629/0.6386, allocations: 1.999 MB / 414 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007426/0.6394, allocations: 242.4 kB / 414.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6394, allocations: 8.125 kB / 414.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.6397, allocations: 71.86 kB / 414.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6407, allocations: 61.27 kB / 414.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.6451, allocations: 1.627 MB / 416 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.6458, allocations: 0.8111 MB / 416.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004534/0.6463, allocations: 35.27 kB / 416.8 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.6465, allocations: 119.4 kB / 416.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6465, allocations: 0 / 416.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.6861, allocations: 5.916 MB / 422.9 MB, free: 3.789 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.6865, allocations: 159.2 kB / 423 MB, free: 3.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.435, allocations: 0 / 423 MB, free: 3.562 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat