Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235 MB / 247.6 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.56e-05, allocations: 0 / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3998, allocations: 54.86 MB / 359.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5541, allocations: 81.88 MB / 441.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5545, allocations: 67.97 kB / 441.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02738/0.5819, allocations: 5.809 MB / 447.6 MB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.582, allocations: 0 / 447.6 MB, free: 9.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.582, allocations: 8 kB / 447.6 MB, free: 9.254 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001284/0.5833, allocations: 0.5805 MB / 448.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5834, allocations: 8.031 kB / 448.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.5835, allocations: 74.53 kB / 448.3 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.5836, allocations: 51.38 kB / 448.3 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.5841, allocations: 271.4 kB / 448.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.5841, allocations: 28.78 kB / 448.6 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5842, allocations: 51.86 kB / 448.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008581/0.5851, allocations: 345.2 kB / 449 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.5852, allocations: 7.938 kB / 449 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.5852, allocations: 16 kB / 449 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5852, allocations: 8 kB / 449 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.5859, allocations: 208 kB / 449.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.5882, allocations: 1.097 MB / 450.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.5889, allocations: 322.2 kB / 450.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.5894, allocations: 167.3 kB / 450.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.5894, allocations: 4 kB / 450.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.5895, allocations: 46.56 kB / 450.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.786e-06/0.5895, allocations: 1.031 kB / 450.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005136/0.5946, allocations: 2.266 MB / 453.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.5947, allocations: 114.8 kB / 453.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.5951, allocations: 210.9 kB / 453.5 MB, free: 2.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.5951, allocations: 33.7 kB / 453.5 MB, free: 2.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.5953, allocations: 239.1 kB / 453.7 MB, free: 2.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.5956, allocations: 193.1 kB / 453.9 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.5956, allocations: 8 kB / 453.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5958, allocations: 338.8 kB / 454.2 MB, free: 2.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.5961, allocations: 113.1 kB / 454.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.5966, allocations: 210 kB / 454.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.597, allocations: 142.4 kB / 454.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.597, allocations: 4 kB / 454.7 MB, free: 1.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001465/0.5985, allocations: 0.5032 MB / 455.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.5985, allocations: 5.719 kB / 455.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5986, allocations: 4 kB / 455.2 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.5992, allocations: 122.5 kB / 455.3 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/0.6, allocations: 96.08 kB / 455.4 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.6059, allocations: 4.663 MB / 460.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.6064, allocations: 23.98 kB / 460.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.6065, allocations: 20.06 kB / 460.1 MB, free: 11.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.6067, allocations: 138.1 kB / 460.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.6069, allocations: 35.62 kB / 460.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.6071, allocations: 45.95 kB / 460.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6071, allocations: 8 kB / 460.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.6071, allocations: 4 kB / 460.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6071, allocations: 3.984 kB / 460.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.6102, allocations: 1.296 MB / 461.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6103, allocations: 4 kB / 461.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/0.6112, allocations: 105.3 kB / 461.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/0.6117, allocations: 94.52 kB / 461.9 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.6117, allocations: 12 kB / 461.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00466/0.6164, allocations: 4.096 MB / 466 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6165, allocations: 3.953 kB / 466 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.6184, allocations: 0.9358 MB / 466.9 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6186, allocations: 104.7 kB / 467 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.6187, allocations: 12.06 kB / 467 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.6192, allocations: 31.97 kB / 467.1 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6194, allocations: 47.89 kB / 467.1 MB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.6194, allocations: 16 kB / 467.1 MB, free: 4.184 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.6197, allocations: 167.1 kB / 467.3 MB, free: 4.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6197, allocations: 0 / 467.3 MB, free: 4.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001061/0.6208, allocations: 120 kB / 467.4 MB, free: 3.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002601/0.6234, allocations: 1.85 MB / 469.2 MB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.6251, allocations: 0.6976 MB / 469.9 MB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6252, allocations: 0 / 469.9 MB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6263, allocations: 0.5324 MB / 470.5 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.6271, allocations: 52.47 kB / 470.5 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.63, allocations: 1.023 MB / 471.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.6306, allocations: 0.8359 MB / 472.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.6309, allocations: 135.4 kB / 472.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6309, allocations: 0 / 472.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/3.402, allocations: 10.5 MB / 483 MB, free: 4.062 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat