Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.204e-05, allocations: 0 / 273.1 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 48.7 MB / 321.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5151, allocations: 75.42 MB / 397.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5154, allocations: 71.95 kB / 397.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02534/0.5408, allocations: 5.78 MB / 403.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5408, allocations: 0 / 403.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.5409, allocations: 15.98 kB / 403.1 MB, free: 8.324 MB / 330.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.001146/0.542, allocations: 0.561 MB / 403.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5421, allocations: 12.03 kB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5422, allocations: 70.53 kB / 403.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.5423, allocations: 51.48 kB / 403.8 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.5427, allocations: 258.3 kB / 404.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.5428, allocations: 24.78 kB / 404.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5429, allocations: 43.91 kB / 404.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/0.5438, allocations: 371.4 kB / 404.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.5438, allocations: 13.66 kB / 404.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.5439, allocations: 12 kB / 404.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.5439, allocations: 11.95 kB / 404.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.5445, allocations: 199.8 kB / 404.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.5479, allocations: 1.715 MB / 406.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.5485, allocations: 250.4 kB / 406.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.5487, allocations: 90.08 kB / 406.8 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.5487, allocations: 8.234 kB / 406.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5488, allocations: 38.56 kB / 406.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.065e-06/0.5488, allocations: 0 / 406.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006696/0.5495, allocations: 193.1 kB / 407 MB, free: 4.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5496, allocations: 209.6 kB / 407.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.55, allocations: 243.3 kB / 407.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.55, allocations: 33.64 kB / 407.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.5502, allocations: 247.2 kB / 407.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5504, allocations: 122.3 kB / 407.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.5504, allocations: 12.09 kB / 407.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5506, allocations: 350.8 kB / 408.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.5508, allocations: 81.56 kB / 408.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.5513, allocations: 414.1 kB / 408.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.5517, allocations: 159.8 kB / 408.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.5517, allocations: 4 kB / 408.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00116/0.5529, allocations: 0.4937 MB / 409.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.553, allocations: 8 kB / 409.4 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.553, allocations: 12 kB / 409.4 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/0.553, allocations: 16 kB / 409.4 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.5539, allocations: 151.7 kB / 409.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/0.554, allocations: 23.92 kB / 409.6 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.5545, allocations: 71.66 kB / 409.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.5545, allocations: 32 kB / 409.7 MB, free: 1.227 MB / 330.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.0001501/0.5547, allocations: 144.7 kB / 409.8 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.5549, allocations: 35.62 kB / 409.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.555, allocations: 33.95 kB / 409.9 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.555, allocations: 7.984 kB / 409.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5551, allocations: 0 / 409.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5551, allocations: 4 kB / 409.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.557, allocations: 0.6476 MB / 410.5 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.557, allocations: 7.938 kB / 410.5 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009452/0.558, allocations: 91.89 kB / 410.6 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.558, allocations: 0 / 410.6 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.558, allocations: 12 kB / 410.6 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.5581, allocations: 7.984 kB / 410.6 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5581, allocations: 8 kB / 410.7 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.559, allocations: 0.8823 MB / 411.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.5591, allocations: 128.8 kB / 411.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.5592, allocations: 15.95 kB / 411.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.5597, allocations: 11.98 kB / 411.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.5599, allocations: 19.92 kB / 411.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.5599, allocations: 15.98 kB / 411.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002541/0.5602, allocations: 179.1 kB / 411.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5602, allocations: 3.938 kB / 411.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009821/0.5612, allocations: 107.8 kB / 412 MB, free: 14.7 MB / 346.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.001521/0.5627, allocations: 1.999 MB / 414 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.5635, allocations: 261.3 kB / 414.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5635, allocations: 0 / 414.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.5637, allocations: 83.8 kB / 414.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.5647, allocations: 54.84 kB / 414.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.5687, allocations: 1.638 MB / 416 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.5692, allocations: 0.8071 MB / 416.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002931/0.5695, allocations: 47.25 kB / 416.9 MB, free: 9.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.5698, allocations: 111.4 kB / 417 MB, free: 9.562 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.5698, allocations: 0 / 417 MB, free: 9.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.6089, allocations: 5.937 MB / 422.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.6093, allocations: 160 kB / 423.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.194, allocations: 0 / 423.1 MB, free: 3.473 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat