Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.626e-05/4.635e-05, allocations: 9.766 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 61.87 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5512/0.6804, allocations: 85.72 MB / 496.1 MB, free: 2.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.6807, allocations: 63.95 kB / 496.1 MB, free: 2.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009384/0.6902, allocations: 2.078 MB / 498.2 MB, free: 112 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6902, allocations: 0 / 498.2 MB, free: 112 kB / 394.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.6902, allocations: 4 kB / 498.2 MB, free: 108 kB / 394.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.0005424/0.6908, allocations: 378.5 kB / 498.6 MB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6908, allocations: 8.031 kB / 498.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.6909, allocations: 42.56 kB / 498.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.691, allocations: 11.89 kB / 498.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.6911, allocations: 178.8 kB / 498.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6912, allocations: 12.23 kB / 498.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.6912, allocations: 15.95 kB / 498.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.6916, allocations: 131.5 kB / 499 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6916, allocations: 0 / 499 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.6916, allocations: 8 kB / 499 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.6916, allocations: 7.984 kB / 499 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.6918, allocations: 47.98 kB / 499 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.6929, allocations: 0.5372 MB / 499.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.6931, allocations: 85.08 kB / 499.7 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.6932, allocations: 33.67 kB / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.6932, allocations: 0 / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.6932, allocations: 38.69 kB / 499.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.6933, allocations: 0 / 499.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004392/0.6937, allocations: 103.4 kB / 499.8 MB, free: 14.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.6938, allocations: 77.11 kB / 499.9 MB, free: 14.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.6939, allocations: 132.1 kB / 0.4883 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.694, allocations: 25.7 kB / 0.4883 GB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.694, allocations: 123.5 kB / 0.4885 GB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.6941, allocations: 31.55 kB / 0.4885 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6941, allocations: 0 / 0.4885 GB, free: 13.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6943, allocations: 326.8 kB / 0.4888 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.6943, allocations: 20 kB / 0.4888 GB, free: 13.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.6945, allocations: 84.59 kB / 0.4889 GB, free: 13.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.6946, allocations: 35.92 kB / 0.4889 GB, free: 13.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6946, allocations: 4 kB / 0.4889 GB, free: 13.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004497/0.6951, allocations: 151.1 kB / 0.4891 GB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.6951, allocations: 11.98 kB / 0.4891 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6951, allocations: 4.25 kB / 0.4891 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.6954, allocations: 37.72 kB / 0.4891 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.6956, allocations: 23.92 kB / 0.4892 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.698, allocations: 2.544 MB / 0.4916 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.6982, allocations: 4 kB / 0.4916 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.6982, allocations: 8 kB / 0.4917 GB, free: 10.3 MB / 410.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.0001389/0.6983, allocations: 116.9 kB / 0.4918 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.6984, allocations: 7.906 kB / 0.4918 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.6985, allocations: 8.031 kB / 0.4918 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.6985, allocations: 7.953 kB / 0.4918 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6985, allocations: 64 / 0.4918 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.6986, allocations: 7.938 kB / 0.4918 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.699, allocations: 205.5 kB / 0.492 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.699, allocations: 0 / 0.492 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6992, allocations: 15.98 kB / 0.492 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.6994, allocations: 29.72 kB / 0.492 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6995, allocations: 4 kB / 0.492 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.7029, allocations: 2.533 MB / 0.4945 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.703, allocations: 0 / 0.4945 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.7037, allocations: 314.2 kB / 0.4948 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.7038, allocations: 89.05 kB / 0.4949 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.7039, allocations: 0 / 0.4949 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.7041, allocations: 4 kB / 0.4949 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.7042, allocations: 11.98 kB / 0.4949 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.7042, allocations: 0 / 0.4949 GB, free: 6.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.7044, allocations: 91.28 kB / 0.495 GB, free: 6.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.7044, allocations: 0 / 0.495 GB, free: 6.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.7052, allocations: 44.19 kB / 0.495 GB, free: 6.441 MB / 410.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.001144/0.7064, allocations: 0.9249 MB / 0.4959 GB, free: 5.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.7072, allocations: 279.5 kB / 0.4962 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7072, allocations: 0 / 0.4962 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.7078, allocations: 243.6 kB / 0.4964 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.7086, allocations: 24.44 kB / 0.4965 GB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.7104, allocations: 450.7 kB / 0.4969 GB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.7108, allocations: 0.72 MB / 0.4976 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.7109, allocations: 8.891 kB / 0.4976 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.711, allocations: 31.42 kB / 0.4976 GB, free: 3.641 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.711, allocations: 0 / 0.4976 GB, free: 3.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.7387, allocations: 2.601 MB / 0.5002 GB, free: 1.129 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003592/0.7391, allocations: 173.7 kB / 0.5003 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.218, allocations: 0 / 0.5003 GB, free: 0.9062 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat