Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.856e-05, allocations: 5.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5447, allocations: 96.07 MB / 418 MB, free: 9.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.545, allocations: 75.95 kB / 418 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8316/1.377, allocations: 126.4 MB / 0.5316 GB, free: 91.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.377, allocations: 0 / 0.5316 GB, free: 91.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003706/1.377, allocations: 118.6 kB / 0.5318 GB, free: 91.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02632/1.403, allocations: 6.322 MB / 0.5379 GB, free: 88.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/1.404, allocations: 11.16 kB / 0.5379 GB, free: 88.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007267/1.411, allocations: 1.316 MB / 0.5392 GB, free: 88.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06059/1.471, allocations: 8.325 MB / 0.5474 GB, free: 88.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02787/1.499, allocations: 7.355 MB / 0.5545 GB, free: 87.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006536/1.5, allocations: 454.7 kB / 0.555 GB, free: 87.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/1.504, allocations: 0.589 MB / 0.5556 GB, free: 87.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04808/1.552, allocations: 15.54 MB / 0.5707 GB, free: 79.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004066/1.553, allocations: 65.81 kB / 0.5708 GB, free: 79.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003807/1.557, allocations: 281.8 kB / 0.5711 GB, free: 79.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/1.56, allocations: 1.624 MB / 0.5726 GB, free: 79.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04011/1.601, allocations: 13.57 MB / 0.5859 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/1.705, allocations: 64 MB / 0.6484 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3375/2.043, allocations: 6.378 MB / 0.6546 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01021/2.053, allocations: 3.528 MB / 0.6581 GB, free: 82.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05834/2.111, allocations: 14.44 MB / 0.6722 GB, free: 79.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.317e-05/2.111, allocations: 69.83 kB / 0.6722 GB, free: 79.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 6.923e-06/2.111, allocations: 0 / 0.6722 GB, free: 79.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1584/2.27, allocations: 29.77 MB / 0.7013 GB, free: 72.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/2.27, allocations: 214 kB / 0.7015 GB, free: 72.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/2.282, allocations: 4.779 MB / 0.7062 GB, free: 70.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009913/2.283, allocations: 72.64 kB / 0.7063 GB, free: 70.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004083/2.287, allocations: 4.415 MB / 0.7106 GB, free: 67.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002321/2.289, allocations: 1.256 MB / 0.7118 GB, free: 66.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/2.291, allocations: 180.5 kB / 0.712 GB, free: 66.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001247/2.292, allocations: 0.6833 MB / 0.7126 GB, free: 65.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/2.303, allocations: 4.482 MB / 0.717 GB, free: 64.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01444/2.318, allocations: 9.373 MB / 0.7262 GB, free: 55.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/2.332, allocations: 6.402 MB / 0.7324 GB, free: 53.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002017/2.332, allocations: 52.62 kB / 0.7325 GB, free: 53.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.0697/2.402, allocations: 18.07 MB / 0.7501 GB, free: 43.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/2.402, allocations: 80 kB / 0.7502 GB, free: 42.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002684/2.403, allocations: 172 kB / 0.7503 GB, free: 42.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03918/2.442, allocations: 5.63 MB / 0.7558 GB, free: 39.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/2.455, allocations: 2.062 MB / 0.7579 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04724/2.503, allocations: 23.62 MB / 0.7809 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/2.515, allocations: 0.5427 MB / 0.7815 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/2.517, allocations: 0.5009 MB / 0.7819 GB, free: 15.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * 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 (1058): * Single equations (assignments): 1050 * 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.002905/2.52, allocations: 0.7477 MB / 0.7827 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/2.522, allocations: 0.5013 MB / 0.7832 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05181/2.574, allocations: 12.35 MB / 0.7952 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/2.574, allocations: 57 kB / 0.7953 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/2.574, allocations: 8 kB / 0.7953 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.93e-05/2.574, allocations: 14.67 kB / 0.7953 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4431/3.017, allocations: 23.95 MB / 0.8187 GB, free: 85.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.886e-05/3.017, allocations: 9.484 kB / 0.8187 GB, free: 85.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007016/3.024, allocations: 0.5794 MB / 0.8193 GB, free: 85.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03575/3.06, allocations: 4.64 MB / 0.8238 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009485/3.061, allocations: 56.7 kB / 0.8239 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04009/3.101, allocations: 18.92 MB / 0.8423 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/3.101, allocations: 8.156 kB / 0.8423 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.068/3.169, allocations: 17.39 MB / 0.8593 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006127/3.175, allocations: 1.224 MB / 0.8605 GB, free: 75.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002282/3.178, allocations: 59.89 kB / 0.8606 GB, free: 75.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008412/3.186, allocations: 248.7 kB / 0.8608 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/3.188, allocations: 195.4 kB / 0.861 GB, free: 75.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006653/3.189, allocations: 83.59 kB / 0.8611 GB, free: 75.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01119/3.2, allocations: 3.311 MB / 0.8643 GB, free: 74.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/3.2, allocations: 0 / 0.8643 GB, free: 74.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01549/3.216, allocations: 1.705 MB / 0.866 GB, free: 74.27 MB / 442.7 MB 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.06008/3.276, allocations: 19.1 MB / 0.8846 GB, free: 66.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02285/3.299, allocations: 10.11 MB / 0.8945 GB, free: 62.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/3.299, allocations: 0 / 0.8945 GB, free: 62.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008896/3.308, allocations: 3.903 MB / 0.8983 GB, free: 61.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/3.313, allocations: 0.5778 MB / 0.8989 GB, free: 60.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0491/3.362, allocations: 15.56 MB / 0.9141 GB, free: 47.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/3.374, allocations: 4.752 MB / 0.9187 GB, free: 44.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01367/3.388, allocations: 2.993 MB / 0.9216 GB, free: 42.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007664/3.395, allocations: 2.916 MB / 0.9245 GB, free: 39.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/3.395, allocations: 0 / 0.9245 GB, free: 39.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6967/4.092, allocations: 134.2 MB / 1.055 GB, free: 75.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/4.092, allocations: 182 kB / 1.056 GB, free: 75.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/11.19, allocations: 4.766 kB / 1.056 GB, free: 75.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat