Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.657/2.657, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.48e-05, allocations: 0 / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4098, allocations: 58.83 MB / 382.3 MB, free: 10.3 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.601, allocations: 86.87 MB / 469.2 MB, free: 5.641 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/0.6015, allocations: 75.95 kB / 469.2 MB, free: 5.566 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03608/0.6376, allocations: 6.09 MB / 475.3 MB, free: 15.46 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6376, allocations: 0 / 475.3 MB, free: 15.46 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.6377, allocations: 8 kB / 475.3 MB, free: 15.45 MB / 410.8 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.001177/0.6389, allocations: 0.5532 MB / 475.9 MB, free: 14.85 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.6389, allocations: 8.031 kB / 475.9 MB, free: 14.84 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.6391, allocations: 78.52 kB / 476 MB, free: 14.76 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.6392, allocations: 43.48 kB / 476 MB, free: 14.71 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.6396, allocations: 255.3 kB / 476.3 MB, free: 14.42 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.6396, allocations: 32.72 kB / 476.3 MB, free: 14.39 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6397, allocations: 51.89 kB / 476.4 MB, free: 14.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.6407, allocations: 353.8 kB / 476.7 MB, free: 13.96 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.6407, allocations: 11.89 kB / 476.7 MB, free: 13.95 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.6408, allocations: 23.95 kB / 476.7 MB, free: 13.93 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.6408, allocations: 8 kB / 476.7 MB, free: 13.92 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.6414, allocations: 179.9 kB / 476.9 MB, free: 13.74 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.6449, allocations: 1.728 MB / 478.6 MB, free: 11.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.6455, allocations: 238.4 kB / 478.9 MB, free: 11.61 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.6457, allocations: 94.06 kB / 479 MB, free: 11.5 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.6458, allocations: 4 kB / 479 MB, free: 11.5 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.6458, allocations: 46.5 kB / 479 MB, free: 11.44 MB / 410.8 MB Notification: Performance of pre-optimization done (n=26): time 3.587e-06/0.6458, allocations: 0 / 479 MB, free: 11.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=26): time 0.0006602/0.6465, allocations: 181.1 kB / 479.2 MB, free: 11.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.6466, allocations: 217.6 kB / 479.4 MB, free: 11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.647, allocations: 235.3 kB / 479.6 MB, free: 10.75 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.647, allocations: 29.7 kB / 479.7 MB, free: 10.72 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.6473, allocations: 235.4 kB / 479.9 MB, free: 10.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.6474, allocations: 126.4 kB / 480 MB, free: 10.36 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.6474, allocations: 12 kB / 480 MB, free: 10.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6476, allocations: 350.8 kB / 480.4 MB, free: 9.992 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.6479, allocations: 81.56 kB / 480.5 MB, free: 9.914 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.6484, allocations: 404.6 kB / 480.8 MB, free: 9.352 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.6489, allocations: 159.9 kB / 481 MB, free: 9.195 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6489, allocations: 4 kB / 481 MB, free: 9.191 MB / 410.8 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00115/0.6501, allocations: 481.2 kB / 481.5 MB, free: 8.715 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.6501, allocations: 8 kB / 481.5 MB, free: 8.707 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.6501, allocations: 12 kB / 481.5 MB, free: 8.695 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.6502, allocations: 20 kB / 481.5 MB, free: 8.676 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/0.6511, allocations: 143.8 kB / 481.7 MB, free: 8.535 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/0.6511, allocations: 24.42 kB / 481.7 MB, free: 8.512 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.6516, allocations: 71.38 kB / 481.8 MB, free: 8.441 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.6517, allocations: 35.92 kB / 481.8 MB, free: 8.406 MB / 410.8 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.0001611/0.6518, allocations: 148.7 kB / 481.9 MB, free: 8.254 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.6521, allocations: 31.62 kB / 482 MB, free: 8.223 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.6522, allocations: 37.91 kB / 482 MB, free: 8.184 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6522, allocations: 4 kB / 482 MB, free: 8.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.6522, allocations: 4.125 kB / 482 MB, free: 8.176 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.6522, allocations: 7.938 kB / 482 MB, free: 8.168 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.6543, allocations: 0.6397 MB / 482.7 MB, free: 7.465 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.6543, allocations: 4 kB / 482.7 MB, free: 7.461 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.6553, allocations: 87.89 kB / 482.7 MB, free: 7.375 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.6553, allocations: 4 kB / 482.7 MB, free: 7.371 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.6553, allocations: 20.05 kB / 482.8 MB, free: 7.352 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.6554, allocations: 4 kB / 482.8 MB, free: 7.348 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6554, allocations: 3.938 kB / 482.8 MB, free: 7.344 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.6563, allocations: 0.8942 MB / 483.7 MB, free: 6.367 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.6565, allocations: 108.8 kB / 483.8 MB, free: 6.242 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.6566, allocations: 19.94 kB / 483.8 MB, free: 6.223 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.6571, allocations: 8 kB / 483.8 MB, free: 6.215 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.6572, allocations: 23.91 kB / 483.8 MB, free: 6.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.6572, allocations: 15.98 kB / 483.8 MB, free: 6.176 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002614/0.6575, allocations: 179.1 kB / 484 MB, free: 6.004 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6575, allocations: 0 / 484 MB, free: 6.004 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00106/0.6586, allocations: 107.7 kB / 484.1 MB, free: 5.898 MB / 410.8 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.001537/0.6602, allocations: 2 MB / 486.1 MB, free: 3.836 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.661, allocations: 245.9 kB / 486.4 MB, free: 3.598 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.661, allocations: 0 / 486.4 MB, free: 3.598 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.6612, allocations: 71.86 kB / 486.4 MB, free: 3.527 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009663/0.6622, allocations: 58.25 kB / 486.5 MB, free: 3.473 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.6664, allocations: 1.638 MB / 488.1 MB, free: 1.777 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.667, allocations: 0.8072 MB / 488.9 MB, free: 0.9453 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.6673, allocations: 43.27 kB / 489 MB, free: 0.8984 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.6675, allocations: 115.4 kB / 489.1 MB, free: 0.7852 MB / 410.8 MB Notification: Performance of SimCode: time 3.747e-06/0.6675, allocations: 0 / 489.1 MB, free: 0.7852 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.7083, allocations: 5.918 MB / 495 MB, free: 10.94 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.7087, allocations: 154.1 kB / 495.2 MB, free: 10.72 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.381, allocations: 4 kB / 495.2 MB, free: 10.71 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat