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.516/2.516, allocations: 235 MB / 247.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.696e-05, allocations: 8.922 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.434, allocations: 54.85 MB / 359.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.6222, allocations: 100.2 MB / 460 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.6225, allocations: 71.97 kB / 460.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3376/0.9601, allocations: 71.82 MB / 0.5195 GB, free: 4.383 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9602, allocations: 0 / 0.5195 GB, free: 4.383 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002429/0.9604, allocations: 68 kB / 0.5195 GB, free: 4.316 MB / 458.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.01426/0.9747, allocations: 3.361 MB / 0.5228 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.9748, allocations: 12.03 kB / 0.5228 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002665/0.9775, allocations: 0.6349 MB / 0.5234 GB, free: 244 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3691/1.347, allocations: 2.075 MB / 0.5255 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/1.365, allocations: 4.05 MB / 0.5294 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/1.365, allocations: 266.4 kB / 0.5297 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/1.368, allocations: 345.1 kB / 0.53 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03042/1.398, allocations: 8.802 MB / 0.5386 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003562/1.398, allocations: 59.72 kB / 0.5387 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/1.4, allocations: 175.3 kB / 0.5388 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/1.403, allocations: 0.8674 MB / 0.5397 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02374/1.427, allocations: 7.052 MB / 0.5466 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05934/1.486, allocations: 42.6 MB / 0.5882 GB, free: 71.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/1.498, allocations: 3.16 MB / 0.5912 GB, free: 70.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/1.501, allocations: 1.415 MB / 0.5926 GB, free: 69.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/1.512, allocations: 4.086 MB / 0.5966 GB, free: 67.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/1.512, allocations: 46.78 kB / 0.5967 GB, free: 67.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 6.793e-06/1.512, allocations: 0 / 0.5967 GB, free: 67.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.03966/1.552, allocations: 9.403 MB / 0.6058 GB, free: 63.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/1.552, allocations: 161.8 kB / 0.606 GB, free: 63.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008675/1.56, allocations: 3.279 MB / 0.6092 GB, free: 62.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/1.561, allocations: 45.23 kB / 0.6092 GB, free: 62.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/1.563, allocations: 2.735 MB / 0.6119 GB, free: 60.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009728/1.564, allocations: 0.492 MB / 0.6124 GB, free: 59.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007196/1.565, allocations: 107.2 kB / 0.6125 GB, free: 59.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004243/1.566, allocations: 0.5238 MB / 0.613 GB, free: 59.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004608/1.57, allocations: 1.629 MB / 0.6146 GB, free: 58.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00662/1.577, allocations: 5.035 MB / 0.6195 GB, free: 53.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006629/1.584, allocations: 2.848 MB / 0.6223 GB, free: 52.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/1.584, allocations: 36 kB / 0.6223 GB, free: 52 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01741/1.601, allocations: 6.554 MB / 0.6287 GB, free: 46.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.601, allocations: 56 kB / 0.6288 GB, free: 46.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.602, allocations: 123.9 kB / 0.6289 GB, free: 46.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009782/1.603, allocations: 344 kB / 0.6292 GB, free: 45.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007713/1.61, allocations: 1.27 MB / 0.6305 GB, free: 44.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/1.614, allocations: 2.34 MB / 0.6328 GB, free: 42.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006017/1.62, allocations: 288.9 kB / 0.633 GB, free: 42.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.621, allocations: 329.8 kB / 0.6333 GB, free: 41.76 MB / 458.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.001323/1.622, allocations: 0.5164 MB / 0.6338 GB, free: 41.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008054/1.623, allocations: 304.1 kB / 0.6341 GB, free: 40.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00781/1.631, allocations: 2.319 MB / 0.6364 GB, free: 39.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/1.631, allocations: 17.06 kB / 0.6364 GB, free: 39.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.631, allocations: 6.375 kB / 0.6364 GB, free: 39.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/1.631, allocations: 7.797 kB / 0.6364 GB, free: 39.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/1.651, allocations: 5.816 MB / 0.6421 GB, free: 34.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/1.651, allocations: 3.953 kB / 0.6421 GB, free: 34.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.653, allocations: 168 kB / 0.6423 GB, free: 34.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/1.658, allocations: 0.7028 MB / 0.643 GB, free: 33.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/1.659, allocations: 21.69 kB / 0.643 GB, free: 33.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/1.676, allocations: 4.44 MB / 0.6473 GB, free: 29.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.676, allocations: 4 kB / 0.6473 GB, free: 29.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/1.704, allocations: 4.354 MB / 0.6516 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002551/1.706, allocations: 0.5356 MB / 0.6521 GB, free: 25.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.707, allocations: 20.66 kB / 0.6521 GB, free: 25.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01251/1.72, allocations: 74.03 kB / 0.6522 GB, free: 25.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004749/1.72, allocations: 66.84 kB / 0.6523 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.721, allocations: 40.11 kB / 0.6523 GB, free: 25.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006298/1.727, allocations: 2.276 MB / 0.6545 GB, free: 23.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.727, allocations: 0 / 0.6545 GB, free: 23.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006638/1.734, allocations: 0.8118 MB / 0.6553 GB, free: 22.63 MB / 458.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.01216/1.746, allocations: 5.284 MB / 0.6605 GB, free: 17.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009132/1.755, allocations: 3.901 MB / 0.6643 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.755, allocations: 0.75 kB / 0.6643 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/1.758, allocations: 1.084 MB / 0.6653 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.761, allocations: 343.9 kB / 0.6657 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/1.785, allocations: 6.949 MB / 0.6724 GB, free: 5.461 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006168/1.791, allocations: 2.833 MB / 0.6752 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007893/1.799, allocations: 1.641 MB / 0.6768 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004499/1.803, allocations: 1.532 MB / 0.6783 GB, free: 15.49 MB / 474.7 MB Notification: Performance of SimCode: time 2.023e-06/1.803, allocations: 0 / 0.6783 GB, free: 15.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6067/2.41, allocations: 64.52 MB / 0.7413 GB, free: 119 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/2.41, allocations: 181.8 kB / 0.7415 GB, free: 118.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.839/7.25, allocations: 3.938 kB / 0.7415 GB, free: 118.8 MB / 490.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