Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.212e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5467/0.6874, allocations: 87.92 MB / 498.3 MB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.6877, allocations: 67.95 kB / 498.3 MB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03245/0.7202, allocations: 6.281 MB / 0.4928 GB, free: 9.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7203, allocations: 0 / 0.4928 GB, free: 9.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.7203, allocations: 12 kB / 0.4928 GB, free: 9.707 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001201/0.7215, allocations: 0.5532 MB / 0.4933 GB, free: 9.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.7216, allocations: 8.031 kB / 0.4934 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.7217, allocations: 74.53 kB / 0.4934 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.7218, allocations: 47.53 kB / 0.4935 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.7222, allocations: 251.3 kB / 0.4937 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.7223, allocations: 28.78 kB / 0.4937 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.7224, allocations: 43.91 kB / 0.4938 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.7232, allocations: 373.8 kB / 0.4941 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.7233, allocations: 0 / 0.4941 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.7233, allocations: 16 kB / 0.4942 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.7234, allocations: 12 kB / 0.4942 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.7239, allocations: 195.8 kB / 0.4944 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.7276, allocations: 1.71 MB / 0.496 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.7286, allocations: 242.4 kB / 0.4963 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.729, allocations: 82.09 kB / 0.4963 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.729, allocations: 11.94 kB / 0.4963 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.7291, allocations: 46.55 kB / 0.4964 GB, free: 5.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 5.45e-06/0.7291, allocations: 0 / 0.4964 GB, free: 5.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001248/0.7304, allocations: 181.1 kB / 0.4966 GB, free: 5.527 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.7306, allocations: 213.6 kB / 0.4968 GB, free: 5.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.7313, allocations: 235.3 kB / 0.497 GB, free: 5.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.7315, allocations: 37.8 kB / 0.497 GB, free: 4.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.7318, allocations: 247.3 kB / 0.4973 GB, free: 4.746 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.7321, allocations: 110.4 kB / 0.4974 GB, free: 4.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.7322, allocations: 16 kB / 0.4974 GB, free: 4.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/0.7325, allocations: 338.8 kB / 0.4977 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.7329, allocations: 85.56 kB / 0.4978 GB, free: 4.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/0.7339, allocations: 416.6 kB / 0.4982 GB, free: 3.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.7346, allocations: 159.8 kB / 0.4983 GB, free: 3.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.7347, allocations: 4 kB / 0.4983 GB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003151/0.7378, allocations: 480.9 kB / 0.4988 GB, free: 2.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.738, allocations: 12 kB / 0.4988 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.162e-05/0.7381, allocations: 12 kB / 0.4988 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.7382, allocations: 16.72 kB / 0.4988 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.7395, allocations: 155.7 kB / 0.499 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-05/0.7396, allocations: 23.92 kB / 0.499 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/0.7403, allocations: 63.38 kB / 0.4991 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.7403, allocations: 39.94 kB / 0.4991 GB, free: 2.676 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.7405, allocations: 144.7 kB / 0.4992 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.7407, allocations: 35.58 kB / 0.4993 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.7409, allocations: 33.91 kB / 0.4993 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.7409, allocations: 12 kB / 0.4993 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7409, allocations: 0 / 0.4993 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7409, allocations: 7.984 kB / 0.4993 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.7429, allocations: 0.6319 MB / 0.4999 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.743, allocations: 0 / 0.4999 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/0.7439, allocations: 92.25 kB / 0.5 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.744, allocations: 8 kB / 0.5 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.744, allocations: 12 kB / 0.5001 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.744, allocations: 11.92 kB / 0.5001 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.7441, allocations: 4 kB / 0.5001 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.745, allocations: 0.894 MB / 0.5009 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.7452, allocations: 104.9 kB / 0.501 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.7452, allocations: 11.98 kB / 0.5011 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.7458, allocations: 12 kB / 0.5011 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.7459, allocations: 23.92 kB / 0.5011 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.7459, allocations: 12 kB / 0.5011 GB, free: 472 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.7462, allocations: 183.1 kB / 0.5013 GB, free: 292 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7462, allocations: 0 / 0.5013 GB, free: 292 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00105/0.7473, allocations: 103.8 kB / 0.5014 GB, free: 188 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.7488, allocations: 1.991 MB / 0.5033 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.7496, allocations: 245.2 kB / 0.5035 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7496, allocations: 0 / 0.5035 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.7498, allocations: 76.06 kB / 0.5036 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.7508, allocations: 71.8 kB / 0.5037 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.7551, allocations: 1.634 MB / 0.5053 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.7557, allocations: 0.8033 MB / 0.5061 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.756, allocations: 47.25 kB / 0.5061 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.7563, allocations: 107.4 kB / 0.5062 GB, free: 11.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.076e-06/0.7563, allocations: 4 kB / 0.5062 GB, free: 11.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.7925, allocations: 5.915 MB / 0.512 GB, free: 5.234 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/0.7929, allocations: 159.7 kB / 0.5122 GB, free: 5.016 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.438, allocations: 8 kB / 0.5122 GB, free: 5.008 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat