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.344/2.344, allocations: 235 MB / 247.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.371e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.5995, allocations: 102.9 MB / 462.7 MB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5998, allocations: 76.73 kB / 462.8 MB, free: 9.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8669/1.467, allocations: 126.4 MB / 0.5754 GB, free: 100.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.467, allocations: 0 / 0.5754 GB, free: 100.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003649/1.467, allocations: 117.9 kB / 0.5755 GB, free: 100.6 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: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02514/1.492, allocations: 6.329 MB / 0.5817 GB, free: 97.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.492, allocations: 7.625 kB / 0.5817 GB, free: 97.66 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005875/1.498, allocations: 1.312 MB / 0.583 GB, free: 97.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06025/1.559, allocations: 8.323 MB / 0.5911 GB, free: 94.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/1.586, allocations: 7.363 MB / 0.5983 GB, free: 89.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005477/1.587, allocations: 455.2 kB / 0.5988 GB, free: 89.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003813/1.591, allocations: 0.5907 MB / 0.5993 GB, free: 88.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04597/1.637, allocations: 15.61 MB / 0.6146 GB, free: 72.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004055/1.637, allocations: 79.33 kB / 0.6146 GB, free: 72.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003326/1.641, allocations: 281.3 kB / 0.6149 GB, free: 71.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/1.644, allocations: 1.611 MB / 0.6165 GB, free: 70.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03996/1.684, allocations: 13.8 MB / 0.63 GB, free: 56.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/1.793, allocations: 64.02 MB / 0.6925 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02486/1.817, allocations: 6.409 MB / 0.6987 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3403/2.158, allocations: 3.527 MB / 0.7022 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04078/2.199, allocations: 14.43 MB / 0.7163 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/2.199, allocations: 73.77 kB / 0.7164 GB, free: 105.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 7.464e-06/2.199, allocations: 0 / 0.7164 GB, free: 105.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1563/2.355, allocations: 29.77 MB / 0.7454 GB, free: 98.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/2.355, allocations: 211.4 kB / 0.7456 GB, free: 98.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/2.367, allocations: 4.77 MB / 0.7503 GB, free: 97.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009319/2.368, allocations: 70.8 kB / 0.7504 GB, free: 96.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004101/2.372, allocations: 4.432 MB / 0.7547 GB, free: 93.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002255/2.374, allocations: 1.248 MB / 0.7559 GB, free: 92.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/2.376, allocations: 172.4 kB / 0.7561 GB, free: 92.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009104/2.377, allocations: 0.6792 MB / 0.7567 GB, free: 92.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01119/2.388, allocations: 4.487 MB / 0.7611 GB, free: 90.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01466/2.403, allocations: 9.423 MB / 0.7703 GB, free: 82.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/2.418, allocations: 6.417 MB / 0.7766 GB, free: 80.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/2.418, allocations: 51.38 kB / 0.7766 GB, free: 80.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07043/2.488, allocations: 18.55 MB / 0.7947 GB, free: 66.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/2.489, allocations: 76 kB / 0.7948 GB, free: 66.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/2.489, allocations: 176 kB / 0.795 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0395/2.528, allocations: 5.628 MB / 0.8005 GB, free: 63.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/2.542, allocations: 2.056 MB / 0.8025 GB, free: 61.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04865/2.591, allocations: 23.63 MB / 0.8256 GB, free: 38.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/2.603, allocations: 0.5428 MB / 0.8261 GB, free: 37.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/2.605, allocations: 0.5089 MB / 0.8266 GB, free: 37.35 MB / 474.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.003828/2.609, allocations: 0.7432 MB / 0.8273 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/2.611, allocations: 0.4936 MB / 0.8278 GB, free: 36.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06023/2.671, allocations: 12.35 MB / 0.8399 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/2.671, allocations: 52 kB / 0.8399 GB, free: 23.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/2.671, allocations: 15.59 kB / 0.8399 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.89e-05/2.671, allocations: 15.89 kB / 0.8399 GB, free: 23.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09153/2.763, allocations: 23.97 MB / 0.8633 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/2.763, allocations: 4 kB / 0.8633 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006152/2.769, allocations: 0.5733 MB / 0.8639 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03647/2.805, allocations: 4.649 MB / 0.8684 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009419/2.806, allocations: 56.56 kB / 0.8685 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3964/3.203, allocations: 18.91 MB / 0.887 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/3.203, allocations: 7.75 kB / 0.887 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06232/3.265, allocations: 17.38 MB / 0.9039 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004694/3.27, allocations: 1.225 MB / 0.9051 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/3.272, allocations: 61.05 kB / 0.9052 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006411/3.279, allocations: 250.9 kB / 0.9054 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001477/3.28, allocations: 196.2 kB / 0.9056 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005395/3.281, allocations: 85.81 kB / 0.9057 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008169/3.289, allocations: 3.31 MB / 0.9089 GB, free: 105.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.41e-07/3.289, allocations: 0 / 0.9089 GB, free: 105.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01071/3.3, allocations: 1.712 MB / 0.9106 GB, free: 105.4 MB / 490.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.05965/3.359, allocations: 19.09 MB / 0.9292 GB, free: 97.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02388/3.383, allocations: 10.38 MB / 0.9394 GB, free: 93.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/3.383, allocations: 3.938 kB / 0.9394 GB, free: 93.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009246/3.393, allocations: 3.935 MB / 0.9432 GB, free: 92.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005297/3.398, allocations: 0.5751 MB / 0.9438 GB, free: 91.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/3.446, allocations: 15.59 MB / 0.959 GB, free: 83.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/3.457, allocations: 4.752 MB / 0.9637 GB, free: 80.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0137/3.471, allocations: 2.989 MB / 0.9666 GB, free: 78.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007877/3.479, allocations: 2.921 MB / 0.9694 GB, free: 75.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/3.479, allocations: 0 / 0.9694 GB, free: 75.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6538/4.132, allocations: 135 MB / 1.101 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/4.133, allocations: 189.9 kB / 1.101 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/11.12, allocations: 7.938 kB / 1.101 GB, free: 105.4 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