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 2.008/2.008, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.066e-05/5.088e-05, allocations: 5.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6357, allocations: 93.37 MB / 415.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.6362, allocations: 75.95 kB / 415.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3393/0.9755, allocations: 71.8 MB / 487.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.9755, allocations: 0 / 487.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002302/0.9757, allocations: 68 kB / 487.2 MB, free: 3.676 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.01367/0.9894, allocations: 3.36 MB / 490.6 MB, free: 264 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.9895, allocations: 8.031 kB / 490.6 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003027/0.9926, allocations: 0.6388 MB / 491.2 MB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/1.01, allocations: 2.078 MB / 493.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/1.027, allocations: 4.057 MB / 497.3 MB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/1.028, allocations: 254.8 kB / 497.6 MB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.03, allocations: 355.7 kB / 497.9 MB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.34/1.37, allocations: 8.757 MB / 0.4948 GB, free: 97.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004373/1.371, allocations: 56.27 kB / 0.4949 GB, free: 97.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/1.373, allocations: 170.8 kB / 0.495 GB, free: 97.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/1.375, allocations: 0.8673 MB / 0.4959 GB, free: 97.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/1.399, allocations: 6.894 MB / 0.5026 GB, free: 97.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06506/1.465, allocations: 42.61 MB / 0.5442 GB, free: 70.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.477, allocations: 3.142 MB / 0.5473 GB, free: 68.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00308/1.48, allocations: 1.411 MB / 0.5487 GB, free: 68.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/1.49, allocations: 4.084 MB / 0.5527 GB, free: 65.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/1.49, allocations: 50.31 kB / 0.5527 GB, free: 65.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 7.664e-06/1.49, allocations: 6.859 kB / 0.5527 GB, free: 65.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.04223/1.533, allocations: 9.382 MB / 0.5619 GB, free: 61.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/1.533, allocations: 177.8 kB / 0.562 GB, free: 61.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008773/1.542, allocations: 3.27 MB / 0.5652 GB, free: 60.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003847/1.542, allocations: 44.83 kB / 0.5653 GB, free: 60.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00272/1.545, allocations: 2.736 MB / 0.568 GB, free: 58.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009211/1.546, allocations: 0.496 MB / 0.5684 GB, free: 58.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007805/1.546, allocations: 103.2 kB / 0.5685 GB, free: 57.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005128/1.547, allocations: 0.5253 MB / 0.569 GB, free: 57.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004571/1.552, allocations: 1.627 MB / 0.5706 GB, free: 57.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006991/1.559, allocations: 4.994 MB / 0.5755 GB, free: 51.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/1.565, allocations: 2.85 MB / 0.5783 GB, free: 50.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/1.566, allocations: 35.94 kB / 0.5783 GB, free: 50.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01849/1.584, allocations: 6.221 MB / 0.5844 GB, free: 48.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.584, allocations: 56.03 kB / 0.5845 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002242/1.585, allocations: 120.2 kB / 0.5846 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.586, allocations: 344.4 kB / 0.5849 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/1.594, allocations: 1.27 MB / 0.5861 GB, free: 48.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/1.598, allocations: 2.334 MB / 0.5884 GB, free: 46.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/1.604, allocations: 292.1 kB / 0.5887 GB, free: 46.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/1.606, allocations: 336.1 kB / 0.589 GB, free: 46.61 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.002008/1.608, allocations: 0.5087 MB / 0.5895 GB, free: 46.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/1.609, allocations: 300.3 kB / 0.5898 GB, free: 46.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008283/1.617, allocations: 2.322 MB / 0.5921 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-05/1.617, allocations: 21.55 kB / 0.5921 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.617, allocations: 3.812 kB / 0.5921 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/1.617, allocations: 7.078 kB / 0.5921 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/1.637, allocations: 5.816 MB / 0.5978 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/1.637, allocations: 4 kB / 0.5978 GB, free: 42.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.639, allocations: 171.3 kB / 0.598 GB, free: 42.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003925/1.643, allocations: 0.7042 MB / 0.5986 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003226/1.643, allocations: 27.94 kB / 0.5987 GB, free: 42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00881/1.652, allocations: 4.445 MB / 0.603 GB, free: 38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.652, allocations: 3.234 kB / 0.603 GB, free: 38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.664, allocations: 4.355 MB / 0.6073 GB, free: 34.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.666, allocations: 0.5341 MB / 0.6078 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.667, allocations: 26.09 kB / 0.6078 GB, free: 33.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.67, allocations: 69.88 kB / 0.6079 GB, free: 33.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/1.67, allocations: 64.14 kB / 0.6079 GB, free: 33.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.67, allocations: 35.8 kB / 0.608 GB, free: 33.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006263/1.677, allocations: 2.274 MB / 0.6102 GB, free: 31.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.677, allocations: 0 / 0.6102 GB, free: 31.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006911/1.684, allocations: 0.818 MB / 0.611 GB, free: 30.76 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.01314/1.697, allocations: 5.279 MB / 0.6161 GB, free: 26.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009199/1.706, allocations: 3.726 MB / 0.6198 GB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.706, allocations: 4.438 kB / 0.6198 GB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/1.709, allocations: 1.066 MB / 0.6208 GB, free: 21.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.712, allocations: 348.6 kB / 0.6212 GB, free: 21.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.737, allocations: 6.937 MB / 0.6279 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00586/1.742, allocations: 2.836 MB / 0.6307 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007682/1.75, allocations: 1.643 MB / 0.6323 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003791/1.754, allocations: 1.519 MB / 0.6338 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/1.754, allocations: 0 / 0.6338 GB, free: 10.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5099/2.264, allocations: 64.01 MB / 0.6963 GB, free: 104.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/2.264, allocations: 176.5 kB / 0.6965 GB, free: 104.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.534/7.799, allocations: 0 / 0.6965 GB, free: 104.1 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