Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.822e-05, allocations: 5.375 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 61.88 MB / 410.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5271/0.6766, allocations: 93.47 MB / 0.492 GB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.6769, allocations: 67.95 kB / 0.4921 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05775/0.7347, allocations: 13.88 MB / 0.5056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7347, allocations: 0 / 0.5056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.566e-05/0.7348, allocations: 24 kB / 0.5056 GB, free: 12.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002393/0.7372, allocations: 0.9222 MB / 0.5065 GB, free: 11.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7373, allocations: 8.031 kB / 0.5066 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/0.7377, allocations: 135.7 kB / 0.5067 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.738, allocations: 106.7 kB / 0.5068 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.7394, allocations: 0.5437 MB / 0.5073 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.7395, allocations: 70 kB / 0.5074 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.7397, allocations: 88 kB / 0.5075 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.7422, allocations: 0.8503 MB / 0.5083 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.7423, allocations: 11.84 kB / 0.5083 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.7424, allocations: 36 kB / 0.5083 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.7425, allocations: 27.94 kB / 0.5084 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.7442, allocations: 483.7 kB / 0.5088 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.7504, allocations: 3.643 MB / 0.5124 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008048/0.7512, allocations: 207.2 kB / 0.5126 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.7515, allocations: 96.8 kB / 0.5127 GB, free: 4.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.7518, allocations: 251.3 kB / 0.5129 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.7519, allocations: 34.56 kB / 0.513 GB, free: 4.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.7519, allocations: 3.938 kB / 0.513 GB, free: 4.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003287/0.7552, allocations: 1.177 MB / 0.5141 GB, free: 3.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.7553, allocations: 59.41 kB / 0.5142 GB, free: 3.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/0.7559, allocations: 343.1 kB / 0.5145 GB, free: 2.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.756, allocations: 29.7 kB / 0.5145 GB, free: 2.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.7564, allocations: 474.1 kB / 0.515 GB, free: 2.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.7566, allocations: 130.1 kB / 0.5151 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.7566, allocations: 12 kB / 0.5151 GB, free: 2.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.7569, allocations: 358.8 kB / 0.5154 GB, free: 1.887 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.7572, allocations: 105.1 kB / 0.5155 GB, free: 1.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.7577, allocations: 289.2 kB / 0.5158 GB, free: 1.418 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.7581, allocations: 163.4 kB / 0.516 GB, free: 1.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7581, allocations: 0 / 0.516 GB, free: 1.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001234/0.7594, allocations: 481.4 kB / 0.5164 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.7594, allocations: 8 kB / 0.5164 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.7594, allocations: 8 kB / 0.5165 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.7597, allocations: 40.84 kB / 0.5165 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.7605, allocations: 127.8 kB / 0.5166 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005249/0.761, allocations: 0.5567 MB / 0.5172 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.7615, allocations: 20.05 kB / 0.5172 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.7616, allocations: 31.94 kB / 0.5172 GB, free: 15.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.7617, allocations: 135.6 kB / 0.5173 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7618, allocations: 51.39 kB / 0.5174 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009239/0.7628, allocations: 324.1 kB / 0.5177 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.7628, allocations: 7.984 kB / 0.5177 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7628, allocations: 0 / 0.5177 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.7629, allocations: 0 / 0.5177 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.7652, allocations: 1.052 MB / 0.5187 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7652, allocations: 0 / 0.5187 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.766, allocations: 79.84 kB / 0.5188 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.7662, allocations: 36.84 kB / 0.5188 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.7663, allocations: 11.98 kB / 0.5189 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004706/0.7668, allocations: 0.5447 MB / 0.5194 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7668, allocations: 3.938 kB / 0.5194 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.768, allocations: 0.5988 MB / 0.52 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.7682, allocations: 120.4 kB / 0.5201 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.7683, allocations: 11.98 kB / 0.5201 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.7686, allocations: 12 kB / 0.5201 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.7687, allocations: 23.97 kB / 0.5201 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.7687, allocations: 12 kB / 0.5201 GB, free: 12.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004679/0.7692, allocations: 265.2 kB / 0.5204 GB, free: 12.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7692, allocations: 0 / 0.5204 GB, free: 12.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008092/0.77, allocations: 131.9 kB / 0.5205 GB, free: 12.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.7718, allocations: 1.502 MB / 0.522 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.7728, allocations: 305.7 kB / 0.5223 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7729, allocations: 0.5625 kB / 0.5223 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.7733, allocations: 135.8 kB / 0.5224 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.774, allocations: 56.56 kB / 0.5225 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.7783, allocations: 1.486 MB / 0.5239 GB, free: 8.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.7792, allocations: 0.9755 MB / 0.5249 GB, free: 7.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.7796, allocations: 56.55 kB / 0.5249 GB, free: 7.715 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.7802, allocations: 299.3 kB / 0.5252 GB, free: 7.422 MB / 442.7 MB Notification: Performance of SimCode: time 1.964e-06/0.7802, allocations: 0 / 0.5252 GB, free: 7.422 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/0.828, allocations: 9.297 MB / 0.5343 GB, free: 14.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.8283, allocations: 170.9 kB / 0.5345 GB, free: 14.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.584, allocations: 7.938 kB / 0.5345 GB, free: 14.01 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat