Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.729/2.729, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.785e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3973, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.5705, allocations: 81.21 MB / 435.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5709, allocations: 67.97 kB / 435.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03086/0.6017, allocations: 5.762 MB / 441.5 MB, free: 8.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6018, allocations: 0 / 441.5 MB, free: 8.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.07e-05/0.6019, allocations: 8 kB / 441.5 MB, free: 8.023 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.001566/0.6034, allocations: 0.5766 MB / 442.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.6035, allocations: 8.031 kB / 442.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.6037, allocations: 39.53 kB / 442.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.6043, allocations: 283.3 kB / 442.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.6043, allocations: 12 kB / 442.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6045, allocations: 35.84 kB / 442.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007158/0.6052, allocations: 193.5 kB / 442.6 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.6061, allocations: 298.4 kB / 442.9 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.6062, allocations: 7.938 kB / 442.9 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.6062, allocations: 0 / 442.9 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.6062, allocations: 12 kB / 442.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.609, allocations: 1.011 MB / 443.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.6099, allocations: 299.6 kB / 444.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.6104, allocations: 146.5 kB / 444.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.6104, allocations: 12.75 kB / 444.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.6105, allocations: 38.5 kB / 444.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 4.238e-06/0.6105, allocations: 0 / 444.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005916/0.6164, allocations: 2.134 MB / 446.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.6166, allocations: 110.8 kB / 446.7 MB, free: 2.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.6169, allocations: 155.2 kB / 446.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.6169, allocations: 29.64 kB / 446.8 MB, free: 2.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.6171, allocations: 193.1 kB / 447 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.6174, allocations: 185.1 kB / 447.2 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.6174, allocations: 0 / 447.2 MB, free: 1.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.6176, allocations: 342.8 kB / 447.5 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.618, allocations: 109.1 kB / 447.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.6185, allocations: 194.8 kB / 447.8 MB, free: 1.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.6189, allocations: 139.8 kB / 448 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.619, allocations: 4 kB / 448 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001669/0.6206, allocations: 475.5 kB / 448.4 MB, free: 496 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.6207, allocations: 4.094 kB / 448.4 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6207, allocations: 8 kB / 448.5 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.6214, allocations: 114.5 kB / 448.6 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/0.6223, allocations: 95.89 kB / 448.7 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.6291, allocations: 4.49 MB / 453.2 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/0.63, allocations: 11.98 kB / 453.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6301, allocations: 24 kB / 453.2 MB, free: 11.38 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.0003026/0.6304, allocations: 120.9 kB / 453.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00253/0.633, allocations: 425.9 kB / 453.7 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.6335, allocations: 31.67 kB / 453.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.6337, allocations: 37.95 kB / 453.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.6338, allocations: 4 kB / 453.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/0.6338, allocations: 8 kB / 453.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.6339, allocations: 4 kB / 453.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/0.6393, allocations: 1.184 MB / 455 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.6394, allocations: 4.094 kB / 455 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.6409, allocations: 107.8 kB / 455.1 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000813/0.6418, allocations: 82.53 kB / 455.2 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.6419, allocations: 4 kB / 455.2 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005582/0.6475, allocations: 3.941 MB / 459.1 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6476, allocations: 4.031 kB / 459.1 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.6497, allocations: 0.8849 MB / 460 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.6499, allocations: 100.7 kB / 460.1 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.65, allocations: 11.95 kB / 460.1 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.6505, allocations: 11.98 kB / 460.1 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.6507, allocations: 47.88 kB / 460.2 MB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.6508, allocations: 12 kB / 460.2 MB, free: 3.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.651, allocations: 131.4 kB / 460.3 MB, free: 3.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.651, allocations: 0 / 460.3 MB, free: 3.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001181/0.6522, allocations: 100 kB / 460.4 MB, free: 3.633 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.002615/0.6548, allocations: 1.779 MB / 462.2 MB, free: 1.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.6567, allocations: 0.6727 MB / 462.9 MB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6568, allocations: 3.938 kB / 462.9 MB, free: 1.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.6581, allocations: 0.5209 MB / 463.4 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.659, allocations: 31.98 kB / 463.4 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3896/1.049, allocations: 0.9446 MB / 464.4 MB, free: 99.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/1.049, allocations: 0.836 MB / 465.2 MB, free: 99 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004462/1.05, allocations: 36.75 kB / 465.2 MB, free: 99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/1.05, allocations: 126.1 kB / 465.4 MB, free: 99 MB / 394.7 MB Notification: Performance of SimCode: time 1.552e-06/1.05, allocations: 0 / 465.4 MB, free: 99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/1.164, allocations: 6.586 MB / 472 MB, free: 98.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002469/1.164, allocations: 150.2 kB / 472.1 MB, free: 98.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.061/4.226, allocations: 0 / 472.1 MB, free: 98.29 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat