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.952/1.952, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-05/4.988e-05, allocations: 9.531 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5386, allocations: 96.06 MB / 417.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.539, allocations: 83.03 kB / 418 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8363/1.375, allocations: 126.4 MB / 0.5316 GB, free: 91.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.375, allocations: 4 kB / 0.5316 GB, free: 91.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003822/1.376, allocations: 115.6 kB / 0.5317 GB, free: 91.31 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.02547/1.401, allocations: 6.329 MB / 0.5379 GB, free: 88.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.401, allocations: 11.06 kB / 0.5379 GB, free: 88.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006075/1.407, allocations: 1.308 MB / 0.5392 GB, free: 88.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05982/1.467, allocations: 8.328 MB / 0.5473 GB, free: 88.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/1.495, allocations: 7.361 MB / 0.5545 GB, free: 87.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000545/1.495, allocations: 450.9 kB / 0.5549 GB, free: 87.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003886/1.499, allocations: 0.5851 MB / 0.5555 GB, free: 87.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04646/1.546, allocations: 15.61 MB / 0.5708 GB, free: 79.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003556/1.546, allocations: 66.28 kB / 0.5708 GB, free: 79.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003173/1.549, allocations: 280.2 kB / 0.5711 GB, free: 79.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003423/1.553, allocations: 1.619 MB / 0.5727 GB, free: 79.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03977/1.592, allocations: 13.8 MB / 0.5862 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/1.695, allocations: 64.01 MB / 0.6487 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3167/2.012, allocations: 6.408 MB / 0.6549 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008207/2.02, allocations: 3.528 MB / 0.6584 GB, free: 82.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03948/2.06, allocations: 14.44 MB / 0.6725 GB, free: 79.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/2.06, allocations: 71.5 kB / 0.6725 GB, free: 79.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 6.853e-06/2.06, allocations: 0 / 0.6725 GB, free: 79.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1544/2.214, allocations: 29.77 MB / 0.7016 GB, free: 72.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/2.214, allocations: 216.2 kB / 0.7018 GB, free: 72.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/2.226, allocations: 4.78 MB / 0.7065 GB, free: 70.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009325/2.227, allocations: 73.17 kB / 0.7065 GB, free: 70.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003964/2.231, allocations: 4.423 MB / 0.7109 GB, free: 67.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00211/2.233, allocations: 1.253 MB / 0.7121 GB, free: 66.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/2.234, allocations: 176.2 kB / 0.7123 GB, free: 66.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006965/2.235, allocations: 0.6784 MB / 0.7129 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/2.246, allocations: 4.486 MB / 0.7173 GB, free: 64.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/2.26, allocations: 9.422 MB / 0.7265 GB, free: 56.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/2.274, allocations: 6.413 MB / 0.7328 GB, free: 54.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001899/2.274, allocations: 50 kB / 0.7328 GB, free: 54.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07931/2.354, allocations: 18.54 MB / 0.7509 GB, free: 42.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/2.354, allocations: 80 kB / 0.751 GB, free: 42.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003203/2.354, allocations: 172 kB / 0.7512 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05168/2.406, allocations: 5.633 MB / 0.7567 GB, free: 38.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01356/2.42, allocations: 2.051 MB / 0.7587 GB, free: 36.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04675/2.466, allocations: 23.63 MB / 0.7817 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/2.478, allocations: 0.5382 MB / 0.7823 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/2.48, allocations: 0.509 MB / 0.7828 GB, free: 14.6 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.002982/2.483, allocations: 0.7449 MB / 0.7835 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/2.484, allocations: 0.4973 MB / 0.784 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05241/2.537, allocations: 12.35 MB / 0.796 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001297/2.537, allocations: 55.98 kB / 0.7961 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/2.537, allocations: 12 kB / 0.7961 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.577e-05/2.537, allocations: 15.94 kB / 0.7961 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.411/2.948, allocations: 23.96 MB / 0.8195 GB, free: 85.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.248e-05/2.948, allocations: 12.64 kB / 0.8195 GB, free: 85.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006193/2.954, allocations: 0.5762 MB / 0.8201 GB, free: 85.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03537/2.99, allocations: 4.638 MB / 0.8246 GB, free: 85.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008651/2.991, allocations: 58.56 kB / 0.8247 GB, free: 85.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03993/3.031, allocations: 18.92 MB / 0.8432 GB, free: 82.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/3.031, allocations: 11.31 kB / 0.8432 GB, free: 82.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05841/3.089, allocations: 17.37 MB / 0.8601 GB, free: 76.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005006/3.094, allocations: 1.224 MB / 0.8613 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/3.097, allocations: 57.27 kB / 0.8614 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006732/3.103, allocations: 253.9 kB / 0.8616 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001701/3.105, allocations: 187.6 kB / 0.8618 GB, free: 75.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006921/3.106, allocations: 93.75 kB / 0.8619 GB, free: 75.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008789/3.115, allocations: 3.314 MB / 0.8651 GB, free: 74.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.403e-06/3.115, allocations: 3.469 kB / 0.8651 GB, free: 74.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01106/3.126, allocations: 1.71 MB / 0.8668 GB, free: 74.22 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.06121/3.187, allocations: 19.09 MB / 0.8854 GB, free: 66.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02364/3.211, allocations: 10.39 MB / 0.8956 GB, free: 62.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/3.211, allocations: 0 / 0.8956 GB, free: 62.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009041/3.22, allocations: 3.945 MB / 0.8994 GB, free: 60.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005236/3.225, allocations: 0.5747 MB / 0.9 GB, free: 60.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04681/3.272, allocations: 15.57 MB / 0.9152 GB, free: 46.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/3.283, allocations: 4.754 MB / 0.9198 GB, free: 43.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01422/3.297, allocations: 2.995 MB / 0.9228 GB, free: 41.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008052/3.305, allocations: 2.922 MB / 0.9256 GB, free: 38.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/3.305, allocations: 0 / 0.9256 GB, free: 38.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6731/3.978, allocations: 135 MB / 1.057 GB, free: 73.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/3.979, allocations: 191.2 kB / 1.058 GB, free: 73.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/10.94, allocations: 0.7656 kB / 1.058 GB, free: 73.29 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