Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.55/2.55, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.441e-05, allocations: 0 / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5495, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.7301, allocations: 80.34 MB / 434.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.7305, allocations: 63.97 kB / 434.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03068/0.7612, allocations: 6.805 MB / 441.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7613, allocations: 0 / 441.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.7613, allocations: 8 kB / 441.5 MB, free: 10.98 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001202/0.7625, allocations: 0.6043 MB / 442.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7626, allocations: 8.031 kB / 442.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.7627, allocations: 59.3 kB / 442.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.763, allocations: 222.4 kB / 442.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.763, allocations: 16 kB / 442.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.7631, allocations: 35.91 kB / 442.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006208/0.7638, allocations: 214.5 kB / 442.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.7647, allocations: 384.1 kB / 443.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.7647, allocations: 11.89 kB / 443.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.7648, allocations: 0 / 443.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.7648, allocations: 12 kB / 443.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.768, allocations: 1.614 MB / 444.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.7687, allocations: 383.8 kB / 445.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.769, allocations: 151.7 kB / 445.2 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.7691, allocations: 4 kB / 445.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.7691, allocations: 46.5 kB / 445.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.397e-06/0.7692, allocations: 0 / 445.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008319/0.77, allocations: 241.4 kB / 445.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.7702, allocations: 269 kB / 445.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.7704, allocations: 202.4 kB / 446 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.7705, allocations: 25.7 kB / 446 MB, free: 6.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.7707, allocations: 243.5 kB / 446.2 MB, free: 5.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.7709, allocations: 177.5 kB / 446.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.7709, allocations: 3.938 kB / 446.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.7711, allocations: 350.8 kB / 446.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.7714, allocations: 93.56 kB / 446.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.7719, allocations: 397.9 kB / 447.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.7724, allocations: 159.8 kB / 447.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.7724, allocations: 4 kB / 447.4 MB, free: 4.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001201/0.7736, allocations: 481 kB / 447.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.7737, allocations: 13 kB / 447.9 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.7737, allocations: 8.078 kB / 447.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.004e-05/0.7738, allocations: 20 kB / 447.9 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7748, allocations: 175.7 kB / 448.1 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/0.7749, allocations: 31.84 kB / 448.1 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.7753, allocations: 47.38 kB / 448.2 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.7754, allocations: 32 kB / 448.2 MB, free: 3.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001561/0.7756, allocations: 130.1 kB / 448.3 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007355/0.7763, allocations: 257.5 kB / 448.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.7766, allocations: 35.62 kB / 448.6 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.7767, allocations: 33.83 kB / 448.6 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.7767, allocations: 8 kB / 448.6 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.7767, allocations: 4 kB / 448.6 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7768, allocations: 3.984 kB / 448.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.7782, allocations: 357.6 kB / 449 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.7782, allocations: 4 kB / 449 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.7795, allocations: 127.8 kB / 449.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.7795, allocations: 4 kB / 449.1 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.7795, allocations: 8 kB / 449.1 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7796, allocations: 12.02 kB / 449.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7796, allocations: 4 kB / 449.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.7808, allocations: 1.127 MB / 450.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.7809, allocations: 108.7 kB / 450.4 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.781, allocations: 4 kB / 450.4 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.7816, allocations: 4 kB / 450.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.7817, allocations: 31.91 kB / 450.4 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.7817, allocations: 19.94 kB / 450.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.7819, allocations: 146 kB / 450.6 MB, free: 1.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.434e-06/0.7819, allocations: 0 / 450.6 MB, free: 1.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7832, allocations: 131.6 kB / 450.7 MB, free: 1.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001697/0.7849, allocations: 2.234 MB / 452.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007662/0.7857, allocations: 293.4 kB / 453.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7857, allocations: 0.5 kB / 453.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.7859, allocations: 115.8 kB / 453.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7872, allocations: 75.7 kB / 453.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.7922, allocations: 2.094 MB / 455.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.7928, allocations: 0.8392 MB / 456.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.7931, allocations: 43.44 kB / 456.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.7933, allocations: 143.4 kB / 456.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7934, allocations: 0 / 456.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.8454, allocations: 6.955 MB / 463.5 MB, free: 4.195 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001863/0.8473, allocations: 157.5 kB / 463.6 MB, free: 3.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.441, allocations: 0 / 463.6 MB, free: 3.996 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat