Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.89/2.89, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.444e-05, allocations: 0 / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4846, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.7777, allocations: 108.4 MB / 0.5066 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/0.7782, allocations: 75.95 kB / 0.5067 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8338/1.612, allocations: 96.43 MB / 0.6008 GB, free: 40.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.612, allocations: 0 / 0.6008 GB, free: 40.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003069/1.612, allocations: 92 kB / 0.6009 GB, free: 40.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01777/1.63, allocations: 4.605 MB / 0.6054 GB, free: 36.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.63, allocations: 8.031 kB / 0.6054 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00402/1.634, allocations: 0.9121 MB / 0.6063 GB, free: 35.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04958/1.684, allocations: 6.741 MB / 0.6129 GB, free: 28.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.707, allocations: 5.988 MB / 0.6187 GB, free: 22.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/1.707, allocations: 328.6 kB / 0.6191 GB, free: 22.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00243/1.71, allocations: 447.7 kB / 0.6195 GB, free: 21.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03239/1.742, allocations: 10.93 MB / 0.6302 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/1.743, allocations: 71.45 kB / 0.6302 GB, free: 9.586 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/1.745, allocations: 207.9 kB / 0.6304 GB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/1.747, allocations: 1.022 MB / 0.6314 GB, free: 8.359 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02929/1.777, allocations: 8.989 MB / 0.6402 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0814/1.858, allocations: 47.63 MB / 0.6867 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/1.877, allocations: 4.079 MB / 0.6907 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/1.882, allocations: 1.806 MB / 0.6925 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/1.901, allocations: 7.483 MB / 0.6998 GB, free: 304 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/1.901, allocations: 55.5 kB / 0.6998 GB, free: 236 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 6.653e-06/1.901, allocations: 0 / 0.6998 GB, free: 236 kB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.5452/2.446, allocations: 25.58 MB / 0.7248 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/2.446, allocations: 211.1 kB / 0.725 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/2.456, allocations: 3.749 MB / 0.7287 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006584/2.457, allocations: 60.83 kB / 0.7287 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003285/2.46, allocations: 3.231 MB / 0.7319 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/2.462, allocations: 0.8774 MB / 0.7327 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/2.463, allocations: 125.1 kB / 0.7329 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005594/2.463, allocations: 0.5715 MB / 0.7334 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00822/2.472, allocations: 3.368 MB / 0.7367 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/2.482, allocations: 6.952 MB / 0.7435 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/2.492, allocations: 4.75 MB / 0.7481 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/2.492, allocations: 36.09 kB / 0.7482 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.06244/2.555, allocations: 14.99 MB / 0.7628 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/2.555, allocations: 63.05 kB / 0.7629 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/2.555, allocations: 125.5 kB / 0.763 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0413/2.596, allocations: 5.93 MB / 0.7688 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009557/2.606, allocations: 1.436 MB / 0.7702 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05126/2.657, allocations: 24.96 MB / 0.7946 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008969/2.666, allocations: 394.5 kB / 0.7949 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/2.668, allocations: 375 kB / 0.7953 GB, free: 98.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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.groundColor[3],world.groundColor[2],world.groundColor[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 (746): * Single equations (assignments): 741 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001785/2.67, allocations: 0.5872 MB / 0.7959 GB, free: 98.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/2.671, allocations: 398.8 kB / 0.7962 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04975/2.721, allocations: 10.76 MB / 0.8068 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-05/2.721, allocations: 28.81 kB / 0.8068 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/2.721, allocations: 12 kB / 0.8068 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-05/2.721, allocations: 15.45 kB / 0.8068 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0738/2.795, allocations: 20.13 MB / 0.8265 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/2.795, allocations: 4 kB / 0.8265 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00395/2.799, allocations: 383.4 kB / 0.8268 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03688/2.836, allocations: 4.994 MB / 0.8317 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006635/2.837, allocations: 41.41 kB / 0.8317 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04278/2.879, allocations: 20.14 MB / 0.8514 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/2.879, allocations: 15.73 kB / 0.8514 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0531/2.933, allocations: 14.5 MB / 0.8656 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/2.934, allocations: 447.8 kB / 0.866 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/2.936, allocations: 36 kB / 0.8661 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005431/2.941, allocations: 177.2 kB / 0.8662 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/2.943, allocations: 153.1 kB / 0.8664 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003941/2.943, allocations: 63.98 kB / 0.8664 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00676/2.95, allocations: 2.631 MB / 0.869 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.22e-07/2.95, allocations: 0 / 0.869 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008761/2.959, allocations: 1.331 MB / 0.8703 GB, free: 24.84 MB / 0.5105 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05511/3.014, allocations: 16.3 MB / 0.8862 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01789/3.032, allocations: 7.66 MB / 0.8937 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/3.032, allocations: 0 / 0.8937 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008687/3.04, allocations: 3.032 MB / 0.8967 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005319/3.046, allocations: 495.3 kB / 0.8971 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04148/3.087, allocations: 11.38 MB / 0.9082 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4665/3.554, allocations: 3.595 MB / 0.9118 GB, free: 151.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0123/3.566, allocations: 1.977 MB / 0.9137 GB, free: 151.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005171/3.571, allocations: 2.078 MB / 0.9157 GB, free: 151.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.363e-06/3.572, allocations: 0 / 0.9157 GB, free: 151.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/3.807, allocations: 109 MB / 1.022 GB, free: 86.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/3.807, allocations: 190.2 kB / 1.022 GB, free: 86.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.248/10.05, allocations: 0 / 1.022 GB, free: 86.68 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat