Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 235 MB / 247.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.456e-05, allocations: 0 / 305 MB, free: 5.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 54.85 MB / 359.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.6107, allocations: 101.1 MB / 460.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.6111, allocations: 79.95 kB / 461 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7748/1.386, allocations: 103.3 MB / 0.551 GB, free: 102.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.386, allocations: 0 / 0.551 GB, free: 102.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004421/1.386, allocations: 104.3 kB / 0.5511 GB, free: 102.9 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02379/1.41, allocations: 5.199 MB / 0.5562 GB, free: 100.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.41, allocations: 11.56 kB / 0.5562 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004725/1.415, allocations: 1.02 MB / 0.5572 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05041/1.466, allocations: 6.886 MB / 0.5639 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02782/1.493, allocations: 7.494 MB / 0.5713 GB, free: 99.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005474/1.494, allocations: 372.8 kB / 0.5716 GB, free: 99.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003099/1.497, allocations: 498.8 kB / 0.5721 GB, free: 99.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/1.537, allocations: 12.25 MB / 0.5841 GB, free: 92.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003929/1.537, allocations: 80.81 kB / 0.5841 GB, free: 92.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002448/1.54, allocations: 244.2 kB / 0.5844 GB, free: 92.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/1.542, allocations: 1.136 MB / 0.5855 GB, free: 92.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0319/1.574, allocations: 10.13 MB / 0.5954 GB, free: 89.15 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08351/1.658, allocations: 55.62 MB / 0.6497 GB, free: 34.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02426/1.682, allocations: 5.66 MB / 0.6552 GB, free: 28.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005513/1.688, allocations: 2.823 MB / 0.658 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/1.71, allocations: 8.818 MB / 0.6666 GB, free: 16.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/1.71, allocations: 55.88 kB / 0.6666 GB, free: 16.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=206): time 7.324e-06/1.71, allocations: 0 / 0.6666 GB, free: 16.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.1788/1.889, allocations: 29.42 MB / 0.6954 GB, free: 3.043 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/1.889, allocations: 209.9 kB / 0.6956 GB, free: 2.793 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3559/2.245, allocations: 4.148 MB / 0.6996 GB, free: 107.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008229/2.246, allocations: 66.3 kB / 0.6997 GB, free: 107.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004519/2.251, allocations: 3.592 MB / 0.7032 GB, free: 106.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/2.253, allocations: 0.9797 MB / 0.7041 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/2.254, allocations: 135.2 kB / 0.7043 GB, free: 106.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006519/2.254, allocations: 0.5861 MB / 0.7048 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008779/2.263, allocations: 2.948 MB / 0.7077 GB, free: 105.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/2.275, allocations: 6.737 MB / 0.7143 GB, free: 101 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/2.288, allocations: 4.414 MB / 0.7186 GB, free: 100.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002966/2.288, allocations: 37.5 kB / 0.7186 GB, free: 100.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04632/2.334, allocations: 12.95 MB / 0.7313 GB, free: 97.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/2.334, allocations: 62.28 kB / 0.7313 GB, free: 97.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/2.335, allocations: 130.4 kB / 0.7315 GB, free: 97.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/2.356, allocations: 4.081 MB / 0.7355 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009416/2.365, allocations: 1.412 MB / 0.7368 GB, free: 96.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0578/2.423, allocations: 25.8 MB / 0.762 GB, free: 84.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009266/2.433, allocations: 393.8 kB / 0.7624 GB, free: 84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/2.435, allocations: 398.4 kB / 0.7628 GB, free: 83.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (760): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.003147/2.438, allocations: 0.6164 MB / 0.7634 GB, free: 83.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/2.439, allocations: 441.8 kB / 0.7638 GB, free: 83.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02962/2.469, allocations: 8.055 MB / 0.7717 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.151e-05/2.469, allocations: 29.77 kB / 0.7717 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/2.469, allocations: 11.94 kB / 0.7717 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.19e-05/2.469, allocations: 16.91 kB / 0.7717 GB, free: 80.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05385/2.523, allocations: 16.66 MB / 0.788 GB, free: 72.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/2.523, allocations: 8.609 kB / 0.788 GB, free: 72.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/2.526, allocations: 289.8 kB / 0.7883 GB, free: 72.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01926/2.545, allocations: 3.769 MB / 0.792 GB, free: 69.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008/2.546, allocations: 58.14 kB / 0.792 GB, free: 69.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05133/2.597, allocations: 24.54 MB / 0.816 GB, free: 47.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/2.598, allocations: 11.94 kB / 0.816 GB, free: 47.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03608/2.634, allocations: 12.55 MB / 0.8283 GB, free: 35.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003924/2.638, allocations: 0.952 MB / 0.8292 GB, free: 34.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/2.64, allocations: 48 kB / 0.8292 GB, free: 34.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005389/2.645, allocations: 164.4 kB / 0.8294 GB, free: 34.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/2.647, allocations: 194.1 kB / 0.8296 GB, free: 34.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005609/2.647, allocations: 73 kB / 0.8297 GB, free: 34.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007885/2.655, allocations: 2.942 MB / 0.8325 GB, free: 31.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.71e-07/2.655, allocations: 0 / 0.8325 GB, free: 31.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009814/2.665, allocations: 1.42 MB / 0.8339 GB, free: 29.79 MB / 474.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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.04616/2.711, allocations: 14.34 MB / 0.8479 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02981/2.741, allocations: 8.02 MB / 0.8557 GB, free: 7.195 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.741, allocations: 0 / 0.8557 GB, free: 7.195 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009275/2.75, allocations: 3.425 MB / 0.8591 GB, free: 3.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/2.756, allocations: 0.5542 MB / 0.8596 GB, free: 3.195 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04232/2.798, allocations: 12.04 MB / 0.8714 GB, free: 7.047 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/2.809, allocations: 4.049 MB / 0.8754 GB, free: 2.992 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.3807/3.19, allocations: 2.013 MB / 0.8773 GB, free: 111.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00599/3.196, allocations: 2.389 MB / 0.8796 GB, free: 111.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/3.196, allocations: 1.5 kB / 0.8797 GB, free: 111.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2636/3.46, allocations: 117.6 MB / 0.9945 GB, free: 48.42 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/3.46, allocations: 201.3 kB / 0.9947 GB, free: 48.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.324/9.784, allocations: 0 / 0.9947 GB, free: 48.19 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat