Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.072e-05, allocations: 4 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4107, allocations: 54.86 MB / 354.4 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.5954, allocations: 99.51 MB / 453.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5958, allocations: 71.97 kB / 453.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6112/1.207, allocations: 70.42 MB / 0.5121 GB, free: 84.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.207, allocations: 4 kB / 0.5121 GB, free: 84.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000227/1.207, allocations: 68 kB / 0.5121 GB, free: 83.96 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01342/1.221, allocations: 3.341 MB / 0.5154 GB, free: 80.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.221, allocations: 20.02 kB / 0.5154 GB, free: 80.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/1.237, allocations: 2.078 MB / 0.5174 GB, free: 78.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/1.253, allocations: 4.055 MB / 0.5214 GB, free: 74.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/1.253, allocations: 112 kB / 0.5215 GB, free: 74.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/1.255, allocations: 204.2 kB / 0.5217 GB, free: 74.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01286/1.268, allocations: 5.034 MB / 0.5266 GB, free: 69.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/1.288, allocations: 7.944 MB / 0.5344 GB, free: 60.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002634/1.289, allocations: 59.47 kB / 0.5344 GB, free: 60.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/1.29, allocations: 32 kB / 0.5345 GB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/1.292, allocations: 0.8643 MB / 0.5353 GB, free: 59.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05581/1.348, allocations: 40.97 MB / 0.5753 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/1.353, allocations: 2.47 MB / 0.5777 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/1.355, allocations: 1.373 MB / 0.5791 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/1.356, allocations: 339 kB / 0.5794 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/1.356, allocations: 47.11 kB / 0.5794 GB, free: 12.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 5.21e-06/1.356, allocations: 0 / 0.5794 GB, free: 12.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.03677/1.393, allocations: 11.26 MB / 0.5904 GB, free: 1.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/1.393, allocations: 188.5 kB / 0.5906 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007381/1.4, allocations: 2.789 MB / 0.5933 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003928/1.401, allocations: 25.7 kB / 0.5934 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003662/1.405, allocations: 2.775 MB / 0.5961 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.406, allocations: 0.5209 MB / 0.5966 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00072/1.407, allocations: 0 / 0.5966 GB, free: 10.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006296/1.407, allocations: 0.5335 MB / 0.5971 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005155/1.412, allocations: 1.588 MB / 0.5987 GB, free: 8.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008938/1.421, allocations: 5.096 MB / 0.6036 GB, free: 1.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007831/1.429, allocations: 2.837 MB / 0.6064 GB, free: 14.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/1.43, allocations: 39.98 kB / 0.6064 GB, free: 14.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01952/1.449, allocations: 5.995 MB / 0.6123 GB, free: 8.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.449, allocations: 60 kB / 0.6123 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/1.449, allocations: 124 kB / 0.6125 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.451, allocations: 353.4 kB / 0.6128 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008883/1.46, allocations: 1.326 MB / 0.6141 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/1.464, allocations: 2.25 MB / 0.6163 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006081/1.47, allocations: 191.5 kB / 0.6165 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/1.472, allocations: 348 kB / 0.6168 GB, free: 4.172 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 682 * Array equations: 3 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002161/1.474, allocations: 421 kB / 0.6172 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01002/1.484, allocations: 2.63 MB / 0.6198 GB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.485, allocations: 280.4 kB / 0.62 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00884/1.494, allocations: 2.255 MB / 0.6222 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.006e-05/1.494, allocations: 12 kB / 0.6223 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/1.494, allocations: 4 kB / 0.6223 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.166e-05/1.494, allocations: 11.97 kB / 0.6223 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.516, allocations: 5.613 MB / 0.6278 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.516, allocations: 4 kB / 0.6278 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.518, allocations: 179.7 kB / 0.6279 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004264/1.522, allocations: 0.6992 MB / 0.6286 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003558/1.523, allocations: 23.94 kB / 0.6286 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.533, allocations: 4.297 MB / 0.6328 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.533, allocations: 0 / 0.6328 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.546, allocations: 4.389 MB / 0.6371 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.548, allocations: 0.5012 MB / 0.6376 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.549, allocations: 7.953 kB / 0.6376 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/1.552, allocations: 56.38 kB / 0.6377 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/1.552, allocations: 68.41 kB / 0.6377 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.553, allocations: 40.06 kB / 0.6378 GB, free: 14.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00562/1.558, allocations: 1.849 MB / 0.6396 GB, free: 12.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.558, allocations: 0 / 0.6396 GB, free: 12.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007334/1.566, allocations: 0.6992 MB / 0.6403 GB, free: 11.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * 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: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01396/1.58, allocations: 5.365 MB / 0.6455 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.59, allocations: 3.757 MB / 0.6492 GB, free: 2.676 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.59, allocations: 1.438 kB / 0.6492 GB, free: 2.676 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002827/1.593, allocations: 1.066 MB / 0.6502 GB, free: 1.602 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.596, allocations: 296 kB / 0.6505 GB, free: 1.312 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3829/1.979, allocations: 6.821 MB / 0.6572 GB, free: 138.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006509/1.986, allocations: 2.838 MB / 0.6599 GB, free: 137.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008065/1.994, allocations: 1.715 MB / 0.6616 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003968/1.998, allocations: 1.505 MB / 0.6631 GB, free: 137.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.994e-06/1.998, allocations: 3.781 kB / 0.6631 GB, free: 137.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/2.164, allocations: 59.28 MB / 0.721 GB, free: 100.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/2.164, allocations: 148.7 kB / 0.7211 GB, free: 100.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.969/7.134, allocations: 0 / 0.7211 GB, free: 100.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat