Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.181e-05/4.193e-05, allocations: 4.922 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4612, allocations: 54.85 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.6324, allocations: 81.87 MB / 441.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.6328, allocations: 67.95 kB / 441.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03659/0.6694, allocations: 5.809 MB / 447.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6695, allocations: 4 kB / 447.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.6695, allocations: 8 kB / 447.6 MB, free: 9.07 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.0013/0.6708, allocations: 0.5727 MB / 448.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6709, allocations: 16.03 kB / 448.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.6711, allocations: 74.53 kB / 448.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.6712, allocations: 43.44 kB / 448.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.6717, allocations: 275.4 kB / 448.6 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.6718, allocations: 28.78 kB / 448.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.6719, allocations: 43.86 kB / 448.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.6728, allocations: 354.3 kB / 449 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.6729, allocations: 11.97 kB / 449 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.6729, allocations: 23.94 kB / 449 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.673, allocations: 12.84 kB / 449.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.6736, allocations: 204 kB / 449.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.6763, allocations: 1.089 MB / 450.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/0.6772, allocations: 337.5 kB / 450.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.6776, allocations: 165.1 kB / 450.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.6777, allocations: 7.938 kB / 450.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.6777, allocations: 46.53 kB / 450.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 3.787e-06/0.6777, allocations: 0 / 450.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005359/0.6831, allocations: 2.261 MB / 453.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.6833, allocations: 110.8 kB / 453.3 MB, free: 2.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.6837, allocations: 210.9 kB / 453.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.6838, allocations: 33.7 kB / 453.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6839, allocations: 188.7 kB / 453.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.6842, allocations: 193.1 kB / 453.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.6842, allocations: 12 kB / 453.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6844, allocations: 346.8 kB / 454.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.6847, allocations: 117.1 kB / 454.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.6852, allocations: 219.2 kB / 454.5 MB, free: 1.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.6856, allocations: 141.7 kB / 454.7 MB, free: 1.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6857, allocations: 9.344 kB / 454.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001536/0.6872, allocations: 0.5264 MB / 455.2 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.6873, allocations: 8 kB / 455.2 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6873, allocations: 0 / 455.2 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.6879, allocations: 122.5 kB / 455.3 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.6887, allocations: 104 kB / 455.4 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.6949, allocations: 4.657 MB / 460.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.6954, allocations: 32.11 kB / 460.1 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.6955, allocations: 16 kB / 460.2 MB, free: 11.54 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.0001934/0.6957, allocations: 138.1 kB / 460.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.6959, allocations: 35.62 kB / 460.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.6961, allocations: 45.95 kB / 460.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.6961, allocations: 8 kB / 460.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/0.6961, allocations: 8 kB / 460.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6961, allocations: 3.984 kB / 460.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.6994, allocations: 1.304 MB / 461.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6994, allocations: 4.031 kB / 461.7 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008592/0.7003, allocations: 91.89 kB / 461.8 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005489/0.7009, allocations: 98.45 kB / 461.9 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.701, allocations: 12.19 kB / 461.9 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.7057, allocations: 4.104 MB / 466 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.7058, allocations: 7.984 kB / 466 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.7078, allocations: 0.9278 MB / 466.9 MB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.708, allocations: 108.7 kB / 467 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.7081, allocations: 16.06 kB / 467.1 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.7086, allocations: 23.98 kB / 467.1 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.7088, allocations: 55.86 kB / 467.1 MB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.7088, allocations: 12 kB / 467.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.7091, allocations: 175.1 kB / 467.3 MB, free: 3.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7091, allocations: 0 / 467.3 MB, free: 3.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001009/0.7102, allocations: 120 kB / 467.4 MB, free: 3.676 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.002524/0.7127, allocations: 1.842 MB / 469.3 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.7145, allocations: 0.7155 MB / 470 MB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.7145, allocations: 0 / 470 MB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.7158, allocations: 0.5573 MB / 470.5 MB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.7166, allocations: 48.48 kB / 470.6 MB, free: 392 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.7198, allocations: 1.017 MB / 471.6 MB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.7204, allocations: 0.8281 MB / 472.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.7207, allocations: 35.27 kB / 472.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.721, allocations: 131.4 kB / 472.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.721, allocations: 0 / 472.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/0.7676, allocations: 7.477 MB / 480.1 MB, free: 6.895 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/0.768, allocations: 189.6 kB / 480.3 MB, free: 6.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.688, allocations: 0 / 480.3 MB, free: 6.656 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat