Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.86e-05/4.868e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.456, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.6819, allocations: 95.24 MB / 455.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6823, allocations: 75.97 kB / 455.2 MB, free: 1.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7167/1.399, allocations: 82.65 MB / 0.5253 GB, free: 108.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.399, allocations: 0 / 0.5253 GB, free: 108.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000205/1.399, allocations: 72.11 kB / 0.5253 GB, free: 108.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.02309/1.422, allocations: 3.846 MB / 0.5291 GB, free: 107.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/1.422, allocations: 9.312 kB / 0.5291 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004155/1.427, allocations: 0.7516 MB / 0.5298 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0624/1.489, allocations: 5.879 MB / 0.5356 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0273/1.516, allocations: 5.294 MB / 0.5407 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/1.517, allocations: 284.3 kB / 0.541 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/1.52, allocations: 368.2 kB / 0.5414 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/1.551, allocations: 10.3 MB / 0.5514 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/1.551, allocations: 34.34 kB / 0.5514 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/1.552, allocations: 169.8 kB / 0.5516 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/1.554, allocations: 1.146 MB / 0.5527 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/1.583, allocations: 9.858 MB / 0.5623 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07529/1.659, allocations: 37.32 MB / 0.5988 GB, free: 80.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.677, allocations: 5.546 MB / 0.6042 GB, free: 77.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/1.682, allocations: 2.307 MB / 0.6065 GB, free: 75.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/1.684, allocations: 1.881 MB / 0.6083 GB, free: 73.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.022e-05/1.684, allocations: 56.31 kB / 0.6084 GB, free: 72.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 8.045e-06/1.684, allocations: 0 / 0.6084 GB, free: 72.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.04987/1.734, allocations: 12.4 MB / 0.6205 GB, free: 62.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001336/1.736, allocations: 1.52 MB / 0.6219 GB, free: 61.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00523/1.741, allocations: 2.457 MB / 0.6243 GB, free: 58.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006773/1.742, allocations: 59.42 kB / 0.6244 GB, free: 58.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/1.744, allocations: 2.679 MB / 0.627 GB, free: 56.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.745, allocations: 0.8587 MB / 0.6279 GB, free: 55.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/1.746, allocations: 100 kB / 0.628 GB, free: 55.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004135/1.746, allocations: 0.5411 MB / 0.6285 GB, free: 55.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006034/1.752, allocations: 2.551 MB / 0.631 GB, free: 52.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007974/1.761, allocations: 5.487 MB / 0.6363 GB, free: 45.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/1.769, allocations: 3.781 MB / 0.64 GB, free: 42.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.841e-05/1.769, allocations: 28 kB / 0.6401 GB, free: 42.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1158/1.885, allocations: 18.57 MB / 0.6582 GB, free: 23.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/1.885, allocations: 57.97 kB / 0.6582 GB, free: 23.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08341/1.968, allocations: 11.96 MB / 0.6699 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09149/2.06, allocations: 10.3 MB / 0.68 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007891/2.068, allocations: 1.244 MB / 0.6812 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.398/2.466, allocations: 15.86 MB / 0.6967 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008094/2.474, allocations: 435.1 kB / 0.6971 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/2.476, allocations: 316.7 kB / 0.6974 GB, free: 111.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 638 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002589/2.478, allocations: 497.8 kB / 0.6979 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/2.479, allocations: 273.2 kB / 0.6981 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/2.496, allocations: 5.067 MB / 0.7031 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01405/2.51, allocations: 4.362 MB / 0.7073 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/2.51, allocations: 6.594 kB / 0.7074 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.676e-05/2.51, allocations: 8.906 kB / 0.7074 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03788/2.548, allocations: 12.92 MB / 0.72 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/2.548, allocations: 9.75 kB / 0.72 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/2.551, allocations: 406.2 kB / 0.7204 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/2.557, allocations: 0.936 MB / 0.7213 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005727/2.557, allocations: 52.12 kB / 0.7213 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/2.567, allocations: 5.423 MB / 0.7266 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001162/2.568, allocations: 1.46 MB / 0.7281 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/2.593, allocations: 8.287 MB / 0.7362 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/2.594, allocations: 329.2 kB / 0.7365 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/2.595, allocations: 46.61 kB / 0.7365 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00342/2.598, allocations: 193.5 kB / 0.7367 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000735/2.599, allocations: 149.7 kB / 0.7368 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/2.599, allocations: 64.62 kB / 0.7369 GB, free: 101.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00386/2.603, allocations: 1.676 MB / 0.7385 GB, free: 101.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.72e-07/2.603, allocations: 0.75 kB / 0.7385 GB, free: 101.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007537/2.611, allocations: 1.105 MB / 0.7396 GB, free: 101.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0203/2.631, allocations: 10.88 MB / 0.7502 GB, free: 95.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0167/2.648, allocations: 6.304 MB / 0.7564 GB, free: 93.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/2.648, allocations: 0 / 0.7564 GB, free: 93.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006272/2.654, allocations: 2.482 MB / 0.7588 GB, free: 92.31 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/2.657, allocations: 337.2 kB / 0.7591 GB, free: 92.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/2.688, allocations: 9.827 MB / 0.7687 GB, free: 88.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006214/2.695, allocations: 3.236 MB / 0.7719 GB, free: 85.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008421/2.703, allocations: 2.063 MB / 0.7739 GB, free: 84.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004189/2.707, allocations: 1.663 MB / 0.7755 GB, free: 83.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/2.707, allocations: 3.938 kB / 0.7755 GB, free: 83.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/2.876, allocations: 79.3 MB / 0.853 GB, free: 9.723 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/2.877, allocations: 181.4 kB / 0.8532 GB, free: 9.492 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.993/7.87, allocations: 0 / 0.8532 GB, free: 9.492 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat