Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.846e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3937, allocations: 54.86 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.5528, allocations: 79.69 MB / 439.5 MB, free: 1.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5531, allocations: 67.91 kB / 439.6 MB, free: 1.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008046/0.5612, allocations: 1.961 MB / 441.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5612, allocations: 0 / 441.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.5613, allocations: 8 kB / 441.6 MB, free: 15.17 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005024/0.5618, allocations: 366.6 kB / 441.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5618, allocations: 12.67 kB / 442 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.5619, allocations: 38.56 kB / 442 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.562, allocations: 19.86 kB / 442 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.5621, allocations: 178.8 kB / 442.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5622, allocations: 4.234 kB / 442.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.5622, allocations: 16 kB / 442.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.5625, allocations: 128.2 kB / 442.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5626, allocations: 4 kB / 442.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.5626, allocations: 4 kB / 442.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.5626, allocations: 7.953 kB / 442.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.5628, allocations: 55.98 kB / 442.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.5638, allocations: 0.5378 MB / 442.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.564, allocations: 85.08 kB / 443 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.5641, allocations: 29.72 kB / 443 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5641, allocations: 4.844 kB / 443.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5642, allocations: 34.5 kB / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.5642, allocations: 0 / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004025/0.5646, allocations: 111.4 kB / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.5647, allocations: 77.11 kB / 443.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5648, allocations: 118.7 kB / 443.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.5648, allocations: 29.7 kB / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.565, allocations: 178.2 kB / 443.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.565, allocations: 31.47 kB / 443.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.5651, allocations: 8.562 kB / 443.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.5652, allocations: 314.8 kB / 443.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.5653, allocations: 20 kB / 444 MB, free: 12.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.5654, allocations: 88.58 kB / 444 MB, free: 12.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5655, allocations: 40.02 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5655, allocations: 5.031 kB / 444.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004292/0.566, allocations: 159.1 kB / 444.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.566, allocations: 4 kB / 444.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.566, allocations: 8.25 kB / 444.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.5663, allocations: 33.7 kB / 444.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.5664, allocations: 25.88 kB / 444.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.569, allocations: 2.539 MB / 446.9 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5691, allocations: 7.312 kB / 446.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.5692, allocations: 12 kB / 446.9 MB, free: 9.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.5693, allocations: 116.8 kB / 447 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.5693, allocations: 7.906 kB / 447 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.5694, allocations: 17.52 kB / 447 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5694, allocations: 4.078 kB / 447 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5694, allocations: 8.062 kB / 447 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5695, allocations: 0 / 447 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.5698, allocations: 193.6 kB / 447.2 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.5698, allocations: 4 kB / 447.2 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.57, allocations: 11.98 kB / 447.2 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.5702, allocations: 37.7 kB / 447.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5703, allocations: 0 / 447.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.5727, allocations: 2.528 MB / 449.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5727, allocations: 0 / 449.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.5732, allocations: 323.3 kB / 450.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.5733, allocations: 85.02 kB / 450.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.5734, allocations: 3.953 kB / 450.2 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.5735, allocations: 0 / 450.2 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.5736, allocations: 12.03 kB / 450.2 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.5736, allocations: 5.031 kB / 450.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.5737, allocations: 91.92 kB / 450.3 MB, free: 5.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5737, allocations: 0 / 450.3 MB, free: 5.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005383/0.5743, allocations: 43.94 kB / 450.3 MB, free: 5.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009648/0.5753, allocations: 0.926 MB / 451.3 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.5759, allocations: 272.9 kB / 451.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5759, allocations: 0 / 451.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.5763, allocations: 243.5 kB / 451.8 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.5768, allocations: 32.59 kB / 451.8 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.5783, allocations: 466.1 kB / 452.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.5787, allocations: 0.7161 MB / 453 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.5788, allocations: 35.42 kB / 453 MB, free: 2.668 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5788, allocations: 0 / 453 MB, free: 2.668 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.663/3.242, allocations: 2.887 MB / 455.9 MB, free: 15.79 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat