Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.426e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3644, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.5632, allocations: 102.2 MB / 456.6 MB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5636, allocations: 79.95 kB / 456.7 MB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8665/1.43, allocations: 124 MB / 0.5671 GB, free: 12.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.43, allocations: 0 / 0.5671 GB, free: 12.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004553/1.431, allocations: 119.9 kB / 0.5672 GB, free: 12.55 MB / 410.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.02929/1.46, allocations: 6.326 MB / 0.5734 GB, free: 6.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.46, allocations: 11.97 kB / 0.5734 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07145/1.531, allocations: 8.318 MB / 0.5815 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03191/1.563, allocations: 7.358 MB / 0.5887 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/1.564, allocations: 199.9 kB / 0.5889 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003575/1.568, allocations: 347.9 kB / 0.5892 GB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03077/1.598, allocations: 10.16 MB / 0.5992 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04338/1.642, allocations: 14.07 MB / 0.6129 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003459/1.642, allocations: 67.41 kB / 0.613 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002241/1.644, allocations: 40 kB / 0.613 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004259/1.649, allocations: 1.612 MB / 0.6146 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4532/2.102, allocations: 61.42 MB / 0.6745 GB, free: 51.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/2.112, allocations: 5.591 MB / 0.68 GB, free: 50.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007344/2.12, allocations: 3.436 MB / 0.6834 GB, free: 50.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03454/2.154, allocations: 14.13 MB / 0.6972 GB, free: 45.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/2.154, allocations: 66.73 kB / 0.6972 GB, free: 45.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 7.694e-06/2.154, allocations: 3.281 kB / 0.6972 GB, free: 45.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=339): time 0.132/2.286, allocations: 30.95 MB / 0.7274 GB, free: 34.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/2.286, allocations: 211.6 kB / 0.7276 GB, free: 34.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009127/2.296, allocations: 4.283 MB / 0.7318 GB, free: 32.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009109/2.297, allocations: 25.7 kB / 0.7319 GB, free: 32.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003808/2.3, allocations: 4.51 MB / 0.7363 GB, free: 28.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002062/2.303, allocations: 1.217 MB / 0.7374 GB, free: 27.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/2.304, allocations: 3.281 kB / 0.7374 GB, free: 27.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000613/2.304, allocations: 0.7023 MB / 0.7381 GB, free: 26.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009859/2.314, allocations: 4.398 MB / 0.7424 GB, free: 22.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/2.328, allocations: 9.56 MB / 0.7518 GB, free: 11.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/2.342, allocations: 6.394 MB / 0.758 GB, free: 6.191 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/2.342, allocations: 52 kB / 0.7581 GB, free: 6.141 MB / 458.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.07823/2.421, allocations: 17.7 MB / 0.7753 GB, free: 8.324 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/2.421, allocations: 91.14 kB / 0.7754 GB, free: 8.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003074/2.421, allocations: 187.8 kB / 0.7756 GB, free: 8.059 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04617/2.467, allocations: 5.63 MB / 0.7811 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/2.484, allocations: 2.145 MB / 0.7832 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4306/2.914, allocations: 21.9 MB / 0.8046 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/2.927, allocations: 392.6 kB / 0.805 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002499/2.929, allocations: 0.5326 MB / 0.8055 GB, free: 105.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * 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 (1106): * Single equations (assignments): 1098 * 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.003313/2.932, allocations: 0.5602 MB / 0.806 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05735/2.99, allocations: 11.94 MB / 0.8177 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/2.992, allocations: 479.8 kB / 0.8182 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05818/3.05, allocations: 12.1 MB / 0.83 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001474/3.05, allocations: 46.72 kB / 0.83 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/3.05, allocations: 12.14 kB / 0.83 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/3.05, allocations: 20.53 kB / 0.83 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08674/3.137, allocations: 22.59 MB / 0.8521 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.512e-05/3.137, allocations: 3.562 kB / 0.8521 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006326/3.143, allocations: 0.569 MB / 0.8527 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03764/3.181, allocations: 4.634 MB / 0.8572 GB, free: 99.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008229/3.182, allocations: 8.141 kB / 0.8572 GB, free: 99.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03924/3.221, allocations: 17.32 MB / 0.8741 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-05/3.221, allocations: 13.14 kB / 0.8741 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06274/3.284, allocations: 17.09 MB / 0.8908 GB, free: 82.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004575/3.289, allocations: 1.187 MB / 0.892 GB, free: 81.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/3.291, allocations: 8 kB / 0.892 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006516/3.298, allocations: 211.8 kB / 0.8922 GB, free: 81.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001548/3.299, allocations: 191.8 kB / 0.8924 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007178/3.3, allocations: 84.62 kB / 0.8925 GB, free: 81.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007408/3.307, allocations: 2.841 MB / 0.8952 GB, free: 79.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.91e-07/3.307, allocations: 0 / 0.8952 GB, free: 79.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01227/3.32, allocations: 1.495 MB / 0.8967 GB, free: 77.6 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.06348/3.383, allocations: 18.82 MB / 0.9151 GB, free: 60.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02317/3.406, allocations: 10.05 MB / 0.9249 GB, free: 50.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/3.407, allocations: 0 / 0.9249 GB, free: 50.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009249/3.416, allocations: 3.855 MB / 0.9287 GB, free: 47.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/3.421, allocations: 470.5 kB / 0.9291 GB, free: 46.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0512/3.472, allocations: 15.22 MB / 0.944 GB, free: 31.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/3.484, allocations: 4.745 MB / 0.9486 GB, free: 26.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01637/3.5, allocations: 3.108 MB / 0.9516 GB, free: 23.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008512/3.509, allocations: 2.907 MB / 0.9545 GB, free: 20.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/3.509, allocations: 0 / 0.9545 GB, free: 20.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6849/4.194, allocations: 127.9 MB / 1.079 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002143/4.194, allocations: 164.5 kB / 1.08 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.665/10.86, allocations: 0 / 1.08 GB, free: 77.75 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat