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 1.96/1.96, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.665e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5247, allocations: 92.95 MB / 409.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.525, allocations: 76.53 kB / 409.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2987/0.8236, allocations: 70.41 MB / 479.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8237, allocations: 0 / 479.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002325/0.824, allocations: 68 kB / 479.8 MB, free: 12.49 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.01326/0.8372, allocations: 3.353 MB / 483.2 MB, free: 9.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.8373, allocations: 8.031 kB / 483.2 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.8539, allocations: 2.085 MB / 485.3 MB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.8701, allocations: 4.045 MB / 489.3 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.8704, allocations: 112 kB / 489.4 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/0.8724, allocations: 207.8 kB / 489.6 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2888/1.161, allocations: 5.03 MB / 494.6 MB, free: 91.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/1.182, allocations: 7.948 MB / 0.4908 GB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/1.182, allocations: 54.53 kB / 0.4909 GB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009369/1.183, allocations: 30.33 kB / 0.4909 GB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/1.185, allocations: 0.8688 MB / 0.4917 GB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05466/1.24, allocations: 40.96 MB / 0.5317 GB, free: 61.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/1.244, allocations: 2.464 MB / 0.5342 GB, free: 60.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/1.247, allocations: 1.388 MB / 0.5355 GB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/1.247, allocations: 332.8 kB / 0.5358 GB, free: 59.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.247, allocations: 46.94 kB / 0.5359 GB, free: 59.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 5.891e-06/1.247, allocations: 3.125 kB / 0.5359 GB, free: 59.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.03313/1.281, allocations: 11.25 MB / 0.5469 GB, free: 54.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/1.281, allocations: 199.7 kB / 0.5471 GB, free: 54.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/1.286, allocations: 2.79 MB / 0.5498 GB, free: 53.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000353/1.287, allocations: 25.7 kB / 0.5498 GB, free: 53.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00209/1.289, allocations: 2.759 MB / 0.5525 GB, free: 51.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008042/1.29, allocations: 0.5088 MB / 0.553 GB, free: 50.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004437/1.29, allocations: 3.609 kB / 0.553 GB, free: 50.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003321/1.29, allocations: 0.5432 MB / 0.5535 GB, free: 50.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/1.294, allocations: 1.586 MB / 0.5551 GB, free: 49.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005784/1.3, allocations: 5.104 MB / 0.5601 GB, free: 44.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006095/1.306, allocations: 2.838 MB / 0.5628 GB, free: 43.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/1.306, allocations: 36.56 kB / 0.5629 GB, free: 43.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01555/1.322, allocations: 5.932 MB / 0.5687 GB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-05/1.322, allocations: 61.5 kB / 0.5687 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/1.322, allocations: 126.3 kB / 0.5688 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009348/1.323, allocations: 350.4 kB / 0.5692 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007781/1.331, allocations: 1.325 MB / 0.5705 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/1.334, allocations: 2.248 MB / 0.5727 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005727/1.339, allocations: 190.5 kB / 0.5728 GB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/1.341, allocations: 345.2 kB / 0.5732 GB, free: 39.54 MB / 410.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.001666/1.343, allocations: 420.1 kB / 0.5736 GB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008129/1.351, allocations: 2.627 MB / 0.5761 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009746/1.352, allocations: 286.5 kB / 0.5764 GB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/1.359, allocations: 2.251 MB / 0.5786 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/1.359, allocations: 12 kB / 0.5786 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.359, allocations: 4 kB / 0.5786 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/1.359, allocations: 14.97 kB / 0.5786 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.376, allocations: 5.615 MB / 0.5841 GB, free: 32.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/1.377, allocations: 4 kB / 0.5841 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.378, allocations: 173.2 kB / 0.5843 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/1.382, allocations: 0.7122 MB / 0.585 GB, free: 32.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/1.382, allocations: 8 kB / 0.585 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007906/1.39, allocations: 4.285 MB / 0.5892 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.39, allocations: 0 / 0.5892 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.4, allocations: 4.396 MB / 0.5935 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.402, allocations: 0.501 MB / 0.594 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008499/1.403, allocations: 4 kB / 0.594 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.405, allocations: 60.64 kB / 0.594 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/1.406, allocations: 70.09 kB / 0.5941 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.406, allocations: 42.84 kB / 0.5941 GB, free: 23.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004262/1.41, allocations: 1.846 MB / 0.5959 GB, free: 22.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.41, allocations: 0 / 0.5959 GB, free: 22.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006455/1.417, allocations: 0.6974 MB / 0.5966 GB, free: 21.64 MB / 410.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.0108/1.428, allocations: 5.367 MB / 0.6019 GB, free: 16.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008029/1.436, allocations: 3.752 MB / 0.6055 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.436, allocations: 384 / 0.6055 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.438, allocations: 1.079 MB / 0.6066 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.44, allocations: 288 kB / 0.6068 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.464, allocations: 7.229 MB / 0.6139 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005556/1.469, allocations: 2.835 MB / 0.6167 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00373/1.473, allocations: 1.548 MB / 0.6182 GB, free: 2.359 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/1.473, allocations: 0 / 0.6182 GB, free: 2.359 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.358/5.831, allocations: 79.92 MB / 0.6962 GB, free: 79.1 MB / 426.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