Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.143/2.143, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.114e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5417, allocations: 93.37 MB / 415.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.542, allocations: 71.97 kB / 415.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3208/0.8628, allocations: 71.8 MB / 487.1 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.8629, allocations: 0 / 487.1 MB, free: 4.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002395/0.8631, allocations: 68 kB / 487.2 MB, free: 4.094 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.01338/0.8765, allocations: 3.364 MB / 490.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.8766, allocations: 8.031 kB / 490.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002827/0.8794, allocations: 0.6349 MB / 491.2 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.8965, allocations: 2.078 MB / 493.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/0.9134, allocations: 4.061 MB / 497.3 MB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.9139, allocations: 258.7 kB / 497.6 MB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.9159, allocations: 351.7 kB / 497.9 MB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3156/1.232, allocations: 8.751 MB / 0.4948 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003273/1.232, allocations: 58.31 kB / 0.4948 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/1.234, allocations: 173.1 kB / 0.495 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/1.236, allocations: 0.8657 MB / 0.4958 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/1.259, allocations: 6.892 MB / 0.5026 GB, free: 98.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06225/1.322, allocations: 42.62 MB / 0.5442 GB, free: 70.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.334, allocations: 3.136 MB / 0.5473 GB, free: 68.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/1.337, allocations: 1.411 MB / 0.5486 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/1.347, allocations: 4.099 MB / 0.5526 GB, free: 65.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/1.347, allocations: 42.94 kB / 0.5527 GB, free: 65.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 4.799e-06/1.347, allocations: 0 / 0.5527 GB, free: 65.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.0398/1.387, allocations: 9.391 MB / 0.5618 GB, free: 62.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/1.387, allocations: 170 kB / 0.562 GB, free: 61.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/1.395, allocations: 3.277 MB / 0.5652 GB, free: 60.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003547/1.395, allocations: 41.55 kB / 0.5653 GB, free: 60.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.398, allocations: 2.68 MB / 0.5679 GB, free: 58.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009001/1.399, allocations: 0.4976 MB / 0.5684 GB, free: 58.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006901/1.399, allocations: 102.2 kB / 0.5685 GB, free: 58.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000428/1.4, allocations: 0.528 MB / 0.569 GB, free: 57.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004266/1.404, allocations: 1.631 MB / 0.5706 GB, free: 57.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/1.41, allocations: 4.997 MB / 0.5754 GB, free: 52.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/1.417, allocations: 2.839 MB / 0.5782 GB, free: 51.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/1.417, allocations: 36.31 kB / 0.5782 GB, free: 51.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01653/1.434, allocations: 6.112 MB / 0.5842 GB, free: 48.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.434, allocations: 57.47 kB / 0.5843 GB, free: 48.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001901/1.434, allocations: 121.4 kB / 0.5844 GB, free: 48.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/1.435, allocations: 344.2 kB / 0.5847 GB, free: 48.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01229/1.448, allocations: 1.268 MB / 0.586 GB, free: 48.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/1.453, allocations: 2.338 MB / 0.5882 GB, free: 47.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009426/1.462, allocations: 292.9 kB / 0.5885 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/1.464, allocations: 328.9 kB / 0.5888 GB, free: 46.93 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.002279/1.466, allocations: 0.5105 MB / 0.5893 GB, free: 46.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.467, allocations: 306.8 kB / 0.5896 GB, free: 46.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.479, allocations: 2.321 MB / 0.5919 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.668e-05/1.48, allocations: 18.64 kB / 0.5919 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.48, allocations: 3.875 kB / 0.5919 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/1.48, allocations: 3.281 kB / 0.5919 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02835/1.508, allocations: 5.829 MB / 0.5976 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/1.508, allocations: 0 / 0.5976 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/1.511, allocations: 172 kB / 0.5978 GB, free: 42.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00602/1.517, allocations: 0.7128 MB / 0.5985 GB, free: 42.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/1.517, allocations: 27.56 kB / 0.5985 GB, free: 42.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.531, allocations: 4.437 MB / 0.6028 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.531, allocations: 4 kB / 0.6028 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.547, allocations: 4.356 MB / 0.6071 GB, free: 34.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.55, allocations: 0.5393 MB / 0.6076 GB, free: 34.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.552, allocations: 19.94 kB / 0.6076 GB, free: 34.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/1.556, allocations: 76.05 kB / 0.6077 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006036/1.556, allocations: 56.8 kB / 0.6078 GB, free: 33.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/1.556, allocations: 36 kB / 0.6078 GB, free: 33.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008771/1.565, allocations: 2.27 MB / 0.61 GB, free: 31.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.703e-06/1.565, allocations: 0 / 0.61 GB, free: 31.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009976/1.575, allocations: 0.8223 MB / 0.6108 GB, free: 31.15 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.01754/1.593, allocations: 5.274 MB / 0.616 GB, free: 26.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01352/1.607, allocations: 3.732 MB / 0.6196 GB, free: 23.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.607, allocations: 8.188 kB / 0.6196 GB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00352/1.61, allocations: 1.058 MB / 0.6206 GB, free: 22.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/1.615, allocations: 355 kB / 0.621 GB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.642, allocations: 7.322 MB / 0.6281 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005428/1.647, allocations: 2.835 MB / 0.6309 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003583/1.651, allocations: 1.555 MB / 0.6324 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.651, allocations: 0 / 0.6324 GB, free: 11.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.686/6.337, allocations: 81.2 MB / 0.7117 GB, free: 96.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat