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.152/2.152, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.761e-05, allocations: 4 kB / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.5679, allocations: 92.93 MB / 409.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.5682, allocations: 73.22 kB / 409.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3237/0.892, allocations: 70.41 MB / 479.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8921, allocations: 0 / 479.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002544/0.8923, allocations: 72 kB / 479.8 MB, free: 12.25 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.01379/0.9061, allocations: 3.353 MB / 483.2 MB, free: 8.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.9062, allocations: 8.031 kB / 483.2 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.9227, allocations: 2.082 MB / 485.3 MB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/0.9391, allocations: 4.049 MB / 489.3 MB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.9394, allocations: 108 kB / 489.4 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.9413, allocations: 203.9 kB / 489.6 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3217/1.263, allocations: 5.032 MB / 494.6 MB, free: 91.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/1.284, allocations: 7.949 MB / 0.4908 GB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/1.284, allocations: 58.78 kB / 0.4909 GB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/1.286, allocations: 30.59 kB / 0.4909 GB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/1.288, allocations: 0.8628 MB / 0.4917 GB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/1.343, allocations: 40.97 MB / 0.5317 GB, free: 61.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/1.347, allocations: 2.462 MB / 0.5341 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/1.349, allocations: 1.386 MB / 0.5355 GB, free: 59.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/1.35, allocations: 331.9 kB / 0.5358 GB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.35, allocations: 48.09 kB / 0.5359 GB, free: 59.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.859e-06/1.35, allocations: 0 / 0.5359 GB, free: 59.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.03089/1.381, allocations: 11.26 MB / 0.5469 GB, free: 54.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/1.381, allocations: 191.2 kB / 0.547 GB, free: 54.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/1.387, allocations: 2.787 MB / 0.5498 GB, free: 53.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003715/1.387, allocations: 29.27 kB / 0.5498 GB, free: 53.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002336/1.39, allocations: 2.765 MB / 0.5525 GB, free: 51.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008333/1.39, allocations: 0.5163 MB / 0.553 GB, free: 50.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/1.391, allocations: 2.438 kB / 0.553 GB, free: 50.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003445/1.391, allocations: 0.5393 MB / 0.5535 GB, free: 50.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/1.395, allocations: 1.588 MB / 0.5551 GB, free: 49.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005996/1.401, allocations: 5.107 MB / 0.5601 GB, free: 44.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006187/1.407, allocations: 2.834 MB / 0.5628 GB, free: 43.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/1.407, allocations: 36.16 kB / 0.5629 GB, free: 43.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01626/1.424, allocations: 6.002 MB / 0.5687 GB, free: 41.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.424, allocations: 61.41 kB / 0.5688 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/1.424, allocations: 126 kB / 0.5689 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009652/1.425, allocations: 352 kB / 0.5692 GB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008011/1.433, allocations: 1.319 MB / 0.5705 GB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/1.436, allocations: 2.255 MB / 0.5727 GB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005794/1.442, allocations: 195.3 kB / 0.5729 GB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.443, allocations: 346.1 kB / 0.5732 GB, free: 39.51 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.001067/1.444, allocations: 413.2 kB / 0.5736 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007714/1.452, allocations: 2.636 MB / 0.5762 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008962/1.453, allocations: 287.6 kB / 0.5765 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007154/1.46, allocations: 2.246 MB / 0.5787 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.908e-05/1.46, allocations: 18.73 kB / 0.5787 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.46, allocations: 4 kB / 0.5787 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/1.46, allocations: 7.688 kB / 0.5787 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.478, allocations: 5.608 MB / 0.5842 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.478, allocations: 0 / 0.5842 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.48, allocations: 184.2 kB / 0.5844 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004832/1.485, allocations: 0.7091 MB / 0.5851 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/1.486, allocations: 7.656 kB / 0.5851 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.497, allocations: 4.291 MB / 0.5893 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.497, allocations: 0 / 0.5893 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/1.511, allocations: 4.388 MB / 0.5935 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/1.513, allocations: 0.5036 MB / 0.594 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.514, allocations: 7.375 kB / 0.594 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.518, allocations: 50.22 kB / 0.5941 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.518, allocations: 77.38 kB / 0.5942 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.518, allocations: 33.25 kB / 0.5942 GB, free: 23.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005609/1.524, allocations: 1.857 MB / 0.596 GB, free: 22.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.524, allocations: 0 / 0.596 GB, free: 22.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009114/1.533, allocations: 0.6929 MB / 0.5967 GB, free: 21.34 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.01461/1.548, allocations: 5.359 MB / 0.6019 GB, free: 16.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.558, allocations: 3.764 MB / 0.6056 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.558, allocations: 384 / 0.6056 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/1.56, allocations: 1.072 MB / 0.6066 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.563, allocations: 297.6 kB / 0.6069 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/1.592, allocations: 6.837 MB / 0.6136 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005786/1.598, allocations: 2.832 MB / 0.6164 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007738/1.606, allocations: 1.715 MB / 0.618 GB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003627/1.609, allocations: 1.511 MB / 0.6195 GB, free: 1.164 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.609, allocations: 0 / 0.6195 GB, free: 1.164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4798/2.089, allocations: 59.27 MB / 0.6774 GB, free: 91.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/2.089, allocations: 145.3 kB / 0.6775 GB, free: 91.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/6.622, allocations: 0 / 0.6775 GB, free: 91.2 MB / 426.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