Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.853e-05, allocations: 7.375 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5618, allocations: 93.36 MB / 415.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5621, allocations: 75.31 kB / 415.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3103/0.8724, allocations: 71.8 MB / 487.1 MB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8724, allocations: 0 / 487.1 MB, free: 3.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000244/0.8727, allocations: 75.98 kB / 487.2 MB, free: 3.777 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.0134/0.8861, allocations: 3.352 MB / 490.5 MB, free: 376 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.8862, allocations: 12.02 kB / 490.5 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002812/0.889, allocations: 0.6388 MB / 491.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/0.9056, allocations: 2.081 MB / 493.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/0.9226, allocations: 4.049 MB / 497.3 MB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004085/0.923, allocations: 254.8 kB / 497.5 MB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.9252, allocations: 359.7 kB / 497.9 MB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3521/1.277, allocations: 8.79 MB / 0.4948 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003628/1.278, allocations: 55.27 kB / 0.4949 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/1.28, allocations: 175.2 kB / 0.495 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002605/1.282, allocations: 0.8666 MB / 0.4959 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/1.305, allocations: 7.057 MB / 0.5028 GB, free: 97.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06021/1.366, allocations: 42.62 MB / 0.5444 GB, free: 69.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.377, allocations: 3.162 MB / 0.5475 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/1.38, allocations: 1.412 MB / 0.5489 GB, free: 67.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009917/1.39, allocations: 4.086 MB / 0.5528 GB, free: 65.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.39, allocations: 45.66 kB / 0.5529 GB, free: 65.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 4.188e-06/1.39, allocations: 0 / 0.5529 GB, free: 65.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.03895/1.429, allocations: 9.395 MB / 0.5621 GB, free: 61.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.429, allocations: 169.8 kB / 0.5622 GB, free: 61.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/1.437, allocations: 3.273 MB / 0.5654 GB, free: 59.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/1.437, allocations: 45.03 kB / 0.5655 GB, free: 59.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.439, allocations: 2.734 MB / 0.5681 GB, free: 57.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007779/1.44, allocations: 0.4991 MB / 0.5686 GB, free: 57.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005846/1.441, allocations: 105.3 kB / 0.5687 GB, free: 57.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003194/1.441, allocations: 0.5211 MB / 0.5692 GB, free: 56.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/1.445, allocations: 1.629 MB / 0.5708 GB, free: 56.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006118/1.451, allocations: 5.028 MB / 0.5757 GB, free: 51.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/1.457, allocations: 2.847 MB / 0.5785 GB, free: 50.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.457, allocations: 36.16 kB / 0.5785 GB, free: 50.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01671/1.474, allocations: 6.559 MB / 0.585 GB, free: 47.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/1.474, allocations: 62.88 kB / 0.585 GB, free: 47.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.474, allocations: 123.8 kB / 0.5851 GB, free: 47.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/1.475, allocations: 335.2 kB / 0.5855 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008115/1.484, allocations: 1.265 MB / 0.5867 GB, free: 47.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/1.487, allocations: 2.348 MB / 0.589 GB, free: 45.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007635/1.494, allocations: 284.2 kB / 0.5893 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.496, allocations: 329.4 kB / 0.5896 GB, free: 45.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (656): * Single equations (assignments): 652 * 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.002807/1.499, allocations: 0.5161 MB / 0.5901 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.5, allocations: 307.5 kB / 0.5904 GB, free: 45.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.512, allocations: 2.316 MB / 0.5926 GB, free: 44.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.631e-05/1.512, allocations: 22.95 kB / 0.5926 GB, free: 44.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/1.512, allocations: 3.875 kB / 0.5927 GB, free: 44.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-05/1.512, allocations: 6.469 kB / 0.5927 GB, free: 44.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/1.54, allocations: 5.823 MB / 0.5983 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/1.541, allocations: 0 / 0.5983 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.543, allocations: 171.2 kB / 0.5985 GB, free: 41.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/1.549, allocations: 0.7134 MB / 0.5992 GB, free: 40.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003968/1.549, allocations: 23.84 kB / 0.5992 GB, free: 40.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.563, allocations: 4.438 MB / 0.6036 GB, free: 36.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.563, allocations: 4 kB / 0.6036 GB, free: 36.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.579, allocations: 4.357 MB / 0.6078 GB, free: 32.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.581, allocations: 0.5388 MB / 0.6083 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008942/1.582, allocations: 16 kB / 0.6084 GB, free: 32.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.584, allocations: 74.7 kB / 0.6084 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004633/1.585, allocations: 64.92 kB / 0.6085 GB, free: 32.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.585, allocations: 39.69 kB / 0.6085 GB, free: 32.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00564/1.59, allocations: 2.27 MB / 0.6107 GB, free: 30.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.59, allocations: 4 kB / 0.6108 GB, free: 30.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00596/1.596, allocations: 0.8126 MB / 0.6115 GB, free: 29.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (90): * Single equations (assignments): 86 * 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.01138/1.608, allocations: 5.275 MB / 0.6167 GB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008549/1.616, allocations: 3.904 MB / 0.6205 GB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.617, allocations: 0 / 0.6205 GB, free: 21.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002287/1.619, allocations: 1.077 MB / 0.6216 GB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.622, allocations: 348.2 kB / 0.6219 GB, free: 19.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.644, allocations: 6.937 MB / 0.6287 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005069/1.649, allocations: 2.836 MB / 0.6314 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007168/1.657, allocations: 1.644 MB / 0.633 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003719/1.66, allocations: 1.522 MB / 0.6345 GB, free: 9.066 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/1.66, allocations: 0 / 0.6345 GB, free: 9.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/2.178, allocations: 64.51 MB / 0.6975 GB, free: 103.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/2.178, allocations: 183.4 kB / 0.6977 GB, free: 103.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.205/7.382, allocations: 4.547 kB / 0.6977 GB, free: 103.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat