Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.694/2.694, allocations: 235.2 MB / 242.3 MB, free: 15.64 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.12e-05, allocations: 0 / 299.6 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 54.87 MB / 354.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.5972, allocations: 80.32 MB / 434.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5976, allocations: 63.95 kB / 434.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03574/0.6333, allocations: 6.812 MB / 441.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6334, allocations: 0 / 441.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.6334, allocations: 8 kB / 441.6 MB, free: 8.637 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.001523/0.6349, allocations: 0.6043 MB / 442.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.635, allocations: 8.031 kB / 442.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.6352, allocations: 59.3 kB / 442.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.6355, allocations: 222.4 kB / 442.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.6356, allocations: 16 kB / 442.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.6357, allocations: 39.84 kB / 442.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007539/0.6365, allocations: 206.6 kB / 442.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.6375, allocations: 384.1 kB / 443.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.868e-05/0.6376, allocations: 11.89 kB / 443.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.6377, allocations: 11.88 kB / 443.2 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.6377, allocations: 12 kB / 443.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.6418, allocations: 1.618 MB / 444.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.6427, allocations: 367.5 kB / 445.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.643, allocations: 144.3 kB / 445.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.6431, allocations: 11.98 kB / 445.3 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.6431, allocations: 50.5 kB / 445.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 5.08e-06/0.6432, allocations: 0 / 445.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001007/0.6442, allocations: 249.2 kB / 445.6 MB, free: 4.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.6444, allocations: 265 kB / 445.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.6447, allocations: 202.3 kB / 446.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.6448, allocations: 29.83 kB / 446.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.645, allocations: 247.5 kB / 446.3 MB, free: 3.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.6453, allocations: 169.5 kB / 446.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.6453, allocations: 0 / 446.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.6456, allocations: 354.8 kB / 446.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.6459, allocations: 97.56 kB / 447 MB, free: 2.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.6466, allocations: 385.9 kB / 447.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.6471, allocations: 159.8 kB / 447.5 MB, free: 2.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.6471, allocations: 4 kB / 447.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001457/0.6486, allocations: 484.8 kB / 448 MB, free: 1.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.6487, allocations: 8.625 kB / 448 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.6487, allocations: 12 kB / 448 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.903e-05/0.6488, allocations: 16.78 kB / 448 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.6501, allocations: 183.7 kB / 448.2 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.724e-05/0.6502, allocations: 24.39 kB / 448.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.6507, allocations: 51.31 kB / 448.3 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.6508, allocations: 32 kB / 448.3 MB, free: 1.441 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.0002013/0.651, allocations: 129.2 kB / 448.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009588/0.652, allocations: 249 kB / 448.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.6523, allocations: 35.62 kB / 448.7 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.6525, allocations: 37.95 kB / 448.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.6525, allocations: 8.375 kB / 448.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6525, allocations: 3.938 kB / 448.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.6526, allocations: 7.984 kB / 448.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.6544, allocations: 361.6 kB / 449.1 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.6544, allocations: 0 / 449.1 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.6559, allocations: 127.8 kB / 449.2 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.656, allocations: 4 kB / 449.2 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.6561, allocations: 12 kB / 449.2 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.6561, allocations: 11.92 kB / 449.3 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6561, allocations: 0 / 449.3 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.6576, allocations: 1.131 MB / 450.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.6579, allocations: 108.7 kB / 450.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.658, allocations: 12 kB / 450.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.6587, allocations: 4 kB / 450.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.6588, allocations: 27.92 kB / 450.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.6589, allocations: 15.98 kB / 450.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.6591, allocations: 150 kB / 450.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6591, allocations: 0 / 450.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001578/0.6607, allocations: 119.6 kB / 450.8 MB, free: 14.77 MB / 394.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.002128/0.6629, allocations: 2.238 MB / 453 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.6639, allocations: 297 kB / 453.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6639, allocations: 0.8125 kB / 453.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.6643, allocations: 111.9 kB / 453.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6659, allocations: 70.05 kB / 453.5 MB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.6725, allocations: 2.094 MB / 455.6 MB, free: 9.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.6736, allocations: 0.8392 MB / 456.5 MB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004467/0.6741, allocations: 43.44 kB / 456.5 MB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.6745, allocations: 143.4 kB / 456.6 MB, free: 8.789 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6746, allocations: 3.938 kB / 456.6 MB, free: 8.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06057/0.7351, allocations: 6.962 MB / 463.6 MB, free: 1.855 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003739/0.7356, allocations: 162 kB / 463.8 MB, free: 1.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.932/3.668, allocations: 3.938 kB / 463.8 MB, free: 1.652 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat