Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.807/1.807, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.747e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5495, allocations: 73.31 MB / 395.2 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5499, allocations: 71.94 kB / 395.2 MB, free: 472 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01017/0.5601, allocations: 1.961 MB / 397.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5601, allocations: 0 / 397.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5601, allocations: 4 kB / 397.2 MB, free: 14.5 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006384/0.5608, allocations: 366.5 kB / 397.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.5609, allocations: 9.344 kB / 397.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.962e-05/0.561, allocations: 46.55 kB / 397.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.561, allocations: 11.91 kB / 397.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.5612, allocations: 178.8 kB / 397.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.5613, allocations: 8.234 kB / 397.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.5613, allocations: 16 kB / 397.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.5617, allocations: 120.8 kB / 397.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.5618, allocations: 4 kB / 397.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5618, allocations: 4 kB / 397.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5619, allocations: 4 kB / 397.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.5621, allocations: 55.92 kB / 398 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.5634, allocations: 0.5488 MB / 398.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.5637, allocations: 86.92 kB / 398.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.5638, allocations: 25.7 kB / 398.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.5638, allocations: 4 kB / 398.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5639, allocations: 34.56 kB / 398.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.5639, allocations: 0 / 398.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005165/0.5644, allocations: 107.2 kB / 398.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.5645, allocations: 85.06 kB / 398.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.5647, allocations: 116.9 kB / 399 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.5647, allocations: 25.7 kB / 399 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.5648, allocations: 186.1 kB / 399.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.5649, allocations: 43.38 kB / 399.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.5649, allocations: 4 kB / 399.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5651, allocations: 322.8 kB / 399.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.5652, allocations: 20 kB / 399.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.5654, allocations: 84.59 kB / 399.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.5656, allocations: 39.92 kB / 399.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5656, allocations: 4 kB / 399.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005644/0.5662, allocations: 147.4 kB / 399.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.5662, allocations: 15.97 kB / 399.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5662, allocations: 4 kB / 399.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.5665, allocations: 33.72 kB / 399.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.5668, allocations: 23.98 kB / 399.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.5699, allocations: 2.537 MB / 402.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.5701, allocations: 4.031 kB / 402.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.5701, allocations: 8 kB / 402.5 MB, free: 8.648 MB / 330.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.0001354/0.5702, allocations: 112.9 kB / 402.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.5704, allocations: 11.86 kB / 402.6 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.5704, allocations: 12.03 kB / 402.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5704, allocations: 4.094 kB / 402.6 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5705, allocations: 4 kB / 402.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5705, allocations: 0 / 402.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.571, allocations: 193.6 kB / 402.8 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.571, allocations: 4 kB / 402.8 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.5713, allocations: 15.92 kB / 402.8 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.5715, allocations: 33.67 kB / 402.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5716, allocations: 8 kB / 402.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.5745, allocations: 2.532 MB / 405.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5746, allocations: 0 / 405.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.5752, allocations: 318.2 kB / 405.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.5753, allocations: 93.05 kB / 405.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5753, allocations: 0 / 405.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.5755, allocations: 0 / 405.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.5756, allocations: 11.98 kB / 405.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.5756, allocations: 7.953 kB / 405.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.803e-05/0.5757, allocations: 92.2 kB / 405.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5758, allocations: 4 kB / 405.9 MB, free: 4.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000786/0.5766, allocations: 43.88 kB / 406 MB, free: 4.789 MB / 330.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.001016/0.5776, allocations: 0.913 MB / 406.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00064/0.5783, allocations: 283.4 kB / 407.1 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5783, allocations: 0 / 407.1 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.5788, allocations: 240.1 kB / 407.4 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.5794, allocations: 27.92 kB / 407.4 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.5811, allocations: 468.8 kB / 407.9 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.5815, allocations: 0.7161 MB / 408.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.5816, allocations: 31.42 kB / 408.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5816, allocations: 0 / 408.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.388, allocations: 2.877 MB / 411.5 MB, free: 15.1 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat