Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 235 MB / 247.2 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.971e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.5853, allocations: 79.69 MB / 439.6 MB, free: 1.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5856, allocations: 63.97 kB / 439.6 MB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008802/0.5944, allocations: 1.965 MB / 441.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5945, allocations: 0 / 441.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5945, allocations: 0 / 441.6 MB, free: 15.14 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.0006659/0.5952, allocations: 374.5 kB / 442 MB, free: 14.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.5953, allocations: 12.69 kB / 442 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.282e-05/0.5953, allocations: 46.55 kB / 442 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.5954, allocations: 11.86 kB / 442 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.5956, allocations: 180.7 kB / 442.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.5957, allocations: 16.22 kB / 442.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.5957, allocations: 12 kB / 442.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.5961, allocations: 124.3 kB / 442.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5962, allocations: 3.938 kB / 442.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.5962, allocations: 12 kB / 442.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.5963, allocations: 3.953 kB / 442.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.5965, allocations: 55.98 kB / 442.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.5978, allocations: 0.5372 MB / 443 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.5981, allocations: 82.27 kB / 443 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.5982, allocations: 29.72 kB / 443.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.5982, allocations: 0 / 443.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.5983, allocations: 38.56 kB / 443.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.5983, allocations: 0 / 443.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005476/0.5988, allocations: 112.2 kB / 443.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.5989, allocations: 81.05 kB / 443.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.5991, allocations: 112.9 kB / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5992, allocations: 25.7 kB / 443.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5993, allocations: 119.8 kB / 443.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.5993, allocations: 35.45 kB / 443.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.5994, allocations: 0 / 443.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.5996, allocations: 318.8 kB / 443.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.5997, allocations: 20 kB / 443.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.5998, allocations: 90.08 kB / 444 MB, free: 12.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.6, allocations: 36 kB / 444 MB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.6, allocations: 4 kB / 444.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005911/0.6006, allocations: 159 kB / 444.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.6007, allocations: 8 kB / 444.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6007, allocations: 0 / 444.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.601, allocations: 41.95 kB / 444.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.6013, allocations: 27.92 kB / 444.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.6046, allocations: 2.526 MB / 446.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6049, allocations: 15.31 kB / 446.8 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.6049, allocations: 9.188 kB / 446.8 MB, free: 9.34 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.0001589/0.6051, allocations: 125 kB / 447 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.6052, allocations: 7.984 kB / 447 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.6053, allocations: 8.031 kB / 447 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6053, allocations: 4 kB / 447 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.6053, allocations: 0 / 447 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.6053, allocations: 5.531 kB / 447 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.6059, allocations: 213.2 kB / 447.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.6059, allocations: 0 / 447.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.6062, allocations: 16 kB / 447.2 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.6065, allocations: 33.7 kB / 447.2 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.6065, allocations: 4 kB / 447.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.6098, allocations: 2.521 MB / 449.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6099, allocations: 0 / 449.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.6105, allocations: 314.1 kB / 450.1 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.6106, allocations: 85.02 kB / 450.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.6106, allocations: 8.047 kB / 450.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6108, allocations: 4.031 kB / 450.2 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.6109, allocations: 8 kB / 450.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.611, allocations: 4 kB / 450.2 MB, free: 5.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.6111, allocations: 96.8 kB / 450.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6111, allocations: 0 / 450.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007784/0.6119, allocations: 39.84 kB / 450.3 MB, free: 5.492 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.001035/0.6129, allocations: 0.9183 MB / 451.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.6136, allocations: 277.1 kB / 451.5 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6136, allocations: 0 / 451.5 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.6141, allocations: 247.5 kB / 451.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.6147, allocations: 16.84 kB / 451.8 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.6167, allocations: 455.5 kB / 452.2 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.6173, allocations: 0.7161 MB / 452.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.312e-05/0.6174, allocations: 9.438 kB / 452.9 MB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.6175, allocations: 31.44 kB / 453 MB, free: 2.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6175, allocations: 0 / 453 MB, free: 2.703 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08356/0.7011, allocations: 2.602 MB / 455.6 MB, free: 196 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00039/0.7016, allocations: 178.1 kB / 455.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.217, allocations: 3.938 kB / 455.7 MB, free: 15.96 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat