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.521/2.521, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.366e-05, allocations: 4.938 kB / 305 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4273, allocations: 54.85 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5945, allocations: 81.8 MB / 441.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5948, allocations: 63.97 kB / 441.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0258/0.6206, allocations: 5.785 MB / 447.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.6207, allocations: 0 / 447.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.6207, allocations: 4 kB / 447.5 MB, free: 9.242 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.001223/0.622, allocations: 0.5649 MB / 448.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.622, allocations: 8.031 kB / 448.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.6222, allocations: 77.91 kB / 448.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.6223, allocations: 43.53 kB / 448.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.6227, allocations: 255.3 kB / 448.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.6227, allocations: 24.78 kB / 448.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.6229, allocations: 47.89 kB / 448.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.6237, allocations: 369.7 kB / 448.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.6238, allocations: 11.89 kB / 448.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.6238, allocations: 16 kB / 448.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.6239, allocations: 8 kB / 448.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.6244, allocations: 183.9 kB / 449.1 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.6279, allocations: 1.716 MB / 450.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.6285, allocations: 246.4 kB / 451.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.6287, allocations: 86.12 kB / 451.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.6288, allocations: 12.06 kB / 451.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.6288, allocations: 42.5 kB / 451.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.056e-06/0.6288, allocations: 0 / 451.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006691/0.6295, allocations: 181.2 kB / 451.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.6297, allocations: 221.7 kB / 451.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.6301, allocations: 239.3 kB / 451.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.6301, allocations: 26.55 kB / 451.9 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.6303, allocations: 239.2 kB / 452.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.6305, allocations: 118.4 kB / 452.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.6305, allocations: 8 kB / 452.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6307, allocations: 346.8 kB / 452.6 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.631, allocations: 89.5 kB / 452.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.6315, allocations: 404.6 kB / 453 MB, free: 3.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.632, allocations: 155.8 kB / 453.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.632, allocations: 4 kB / 453.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001208/0.6332, allocations: 482.2 kB / 453.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.6333, allocations: 15.45 kB / 453.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.6333, allocations: 12 kB / 453.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/0.6333, allocations: 16 kB / 453.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.6343, allocations: 151.8 kB / 453.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.555e-05/0.6343, allocations: 23.92 kB / 453.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.6348, allocations: 68.36 kB / 453.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.6349, allocations: 35.98 kB / 454 MB, free: 2.199 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.0001652/0.6351, allocations: 148.7 kB / 454.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.6353, allocations: 31.62 kB / 454.2 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.6354, allocations: 37.91 kB / 454.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6354, allocations: 4 kB / 454.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.6355, allocations: 0 / 454.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6355, allocations: 4 kB / 454.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.6375, allocations: 0.6436 MB / 454.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6376, allocations: 0 / 454.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/0.6386, allocations: 87.89 kB / 454.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.6386, allocations: 5.5 kB / 454.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.6387, allocations: 12.23 kB / 455 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.6387, allocations: 11.95 kB / 455 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.6387, allocations: 4 kB / 455 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009899/0.6397, allocations: 0.8994 MB / 455.9 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.6399, allocations: 112.8 kB / 456 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.6399, allocations: 8 kB / 456 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.6405, allocations: 16 kB / 456 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6406, allocations: 27.97 kB / 456 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.6407, allocations: 11.98 kB / 456 MB, free: 15.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.641, allocations: 175.1 kB / 456.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.641, allocations: 0 / 456.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001148/0.6421, allocations: 103.8 kB / 456.3 MB, free: 15.71 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.001656/0.6438, allocations: 2.004 MB / 458.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007339/0.6446, allocations: 241.4 kB / 458.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6446, allocations: 5 kB / 458.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.6448, allocations: 81.11 kB / 458.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6459, allocations: 68.27 kB / 458.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.6502, allocations: 1.622 MB / 460.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.6508, allocations: 0.8033 MB / 461.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003362/0.6511, allocations: 43.27 kB / 461.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.6514, allocations: 115.4 kB / 461.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6514, allocations: 0 / 461.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.6914, allocations: 5.915 MB / 467.2 MB, free: 4.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/0.6919, allocations: 162.2 kB / 467.4 MB, free: 4.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/3.477, allocations: 0 / 467.4 MB, free: 4.52 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