Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.967e-05, allocations: 4 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3661, allocations: 54.86 MB / 354.3 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.563, allocations: 102.2 MB / 456.6 MB, free: 9.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5633, allocations: 79.95 kB / 456.6 MB, free: 9.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8316/1.395, allocations: 124 MB / 0.567 GB, free: 28.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.395, allocations: 3.938 kB / 0.567 GB, free: 28.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004026/1.395, allocations: 116 kB / 0.5671 GB, free: 28.2 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: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02623/1.422, allocations: 6.329 MB / 0.5733 GB, free: 21.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.422, allocations: 8.031 kB / 0.5733 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0604/1.482, allocations: 8.322 MB / 0.5814 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/1.511, allocations: 7.354 MB / 0.5886 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/1.511, allocations: 199.9 kB / 0.5888 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003937/1.515, allocations: 347.9 kB / 0.5891 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02714/1.542, allocations: 10.15 MB / 0.5991 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04393/1.586, allocations: 14.07 MB / 0.6128 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004948/1.587, allocations: 67.39 kB / 0.6129 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003727/1.59, allocations: 36 kB / 0.6129 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004358/1.595, allocations: 1.62 MB / 0.6145 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4701/2.065, allocations: 61.41 MB / 0.6744 GB, free: 59.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009878/2.075, allocations: 5.589 MB / 0.6799 GB, free: 58.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006698/2.082, allocations: 3.438 MB / 0.6833 GB, free: 58.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03653/2.118, allocations: 14.14 MB / 0.6971 GB, free: 54.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.559e-05/2.118, allocations: 62.2 kB / 0.6971 GB, free: 54.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 7.634e-06/2.118, allocations: 0 / 0.6971 GB, free: 54.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=339): time 0.1301/2.249, allocations: 30.96 MB / 0.7274 GB, free: 44.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/2.249, allocations: 210.2 kB / 0.7276 GB, free: 44.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/2.259, allocations: 4.274 MB / 0.7317 GB, free: 42.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009199/2.26, allocations: 29.05 kB / 0.7318 GB, free: 42.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003902/2.264, allocations: 4.512 MB / 0.7362 GB, free: 39.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001931/2.266, allocations: 1.225 MB / 0.7374 GB, free: 38.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/2.267, allocations: 0 / 0.7374 GB, free: 38.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005451/2.268, allocations: 0.6953 MB / 0.738 GB, free: 38.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008975/2.277, allocations: 4.399 MB / 0.7423 GB, free: 34.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01276/2.289, allocations: 9.562 MB / 0.7517 GB, free: 23.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/2.303, allocations: 6.393 MB / 0.7579 GB, free: 18.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002215/2.303, allocations: 52 kB / 0.758 GB, free: 18.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.06818/2.371, allocations: 17.7 MB / 0.7753 GB, free: 4.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.371, allocations: 80 kB / 0.7753 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003025/2.372, allocations: 184 kB / 0.7755 GB, free: 4.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03889/2.411, allocations: 5.636 MB / 0.781 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01492/2.426, allocations: 2.157 MB / 0.7831 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05364/2.479, allocations: 21.62 MB / 0.8042 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/2.491, allocations: 387.2 kB / 0.8046 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/2.494, allocations: 0.5313 MB / 0.8051 GB, free: 9.887 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1106): * Single equations (assignments): 1098 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004069/2.498, allocations: 0.5595 MB / 0.8057 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05757/2.555, allocations: 11.93 MB / 0.8173 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002147/2.558, allocations: 477.8 kB / 0.8178 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05805/2.616, allocations: 12.11 MB / 0.8296 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001649/2.616, allocations: 55.98 kB / 0.8296 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/2.616, allocations: 8 kB / 0.8297 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.553e-05/2.616, allocations: 15.95 kB / 0.8297 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.456/3.072, allocations: 22.58 MB / 0.8517 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-05/3.072, allocations: 6.156 kB / 0.8517 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005757/3.078, allocations: 0.5744 MB / 0.8523 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03864/3.117, allocations: 4.636 MB / 0.8568 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009282/3.118, allocations: 17.77 kB / 0.8568 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03682/3.155, allocations: 17.31 MB / 0.8737 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/3.155, allocations: 15.34 kB / 0.8738 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05836/3.213, allocations: 17.09 MB / 0.8904 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004637/3.218, allocations: 1.185 MB / 0.8916 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002417/3.22, allocations: 7.875 kB / 0.8916 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006454/3.227, allocations: 205.3 kB / 0.8918 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/3.228, allocations: 190.8 kB / 0.892 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006268/3.229, allocations: 89.14 kB / 0.8921 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007552/3.237, allocations: 2.843 MB / 0.8948 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.82e-07/3.237, allocations: 0 / 0.8948 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01154/3.248, allocations: 1.494 MB / 0.8963 GB, free: 114.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05849/3.307, allocations: 18.81 MB / 0.9147 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02109/3.328, allocations: 10.06 MB / 0.9245 GB, free: 93.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/3.328, allocations: 3.75 kB / 0.9245 GB, free: 93.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01308/3.341, allocations: 3.847 MB / 0.9283 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/3.347, allocations: 467 kB / 0.9287 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/3.394, allocations: 15.23 MB / 0.9436 GB, free: 76.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/3.404, allocations: 4.744 MB / 0.9482 GB, free: 72.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01423/3.419, allocations: 3.114 MB / 0.9513 GB, free: 70.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008304/3.427, allocations: 2.908 MB / 0.9541 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/3.427, allocations: 0 / 0.9541 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6769/4.104, allocations: 127.9 MB / 1.079 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/4.104, allocations: 154.8 kB / 1.079 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/11.09, allocations: 3.938 kB / 1.079 GB, free: 108.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat