Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.253e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.5505, allocations: 102.7 MB / 424.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5508, allocations: 75.95 kB / 424.7 MB, free: 2.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9211/1.472, allocations: 154.3 MB / 0.5654 GB, free: 89.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.472, allocations: 0 / 0.5654 GB, free: 89.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004266/1.472, allocations: 138.7 kB / 0.5655 GB, free: 89.28 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.03392/1.506, allocations: 6.55 MB / 0.5719 GB, free: 85.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/1.507, allocations: 10.91 kB / 0.5719 GB, free: 85.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008948/1.515, allocations: 1.479 MB / 0.5734 GB, free: 84.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05365/1.569, allocations: 6.694 MB / 0.5799 GB, free: 78.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02938/1.599, allocations: 8.365 MB / 0.5881 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006777/1.599, allocations: 0.5288 MB / 0.5886 GB, free: 69.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004154/1.604, allocations: 0.707 MB / 0.5893 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05919/1.663, allocations: 18.59 MB / 0.6074 GB, free: 49.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005158/1.663, allocations: 91.2 kB / 0.6075 GB, free: 48.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003829/1.667, allocations: 341.7 kB / 0.6079 GB, free: 48.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003703/1.671, allocations: 1.717 MB / 0.6095 GB, free: 46.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04971/1.721, allocations: 15.96 MB / 0.6251 GB, free: 31.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4342/2.155, allocations: 74.12 MB / 0.6975 GB, free: 34.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02641/2.181, allocations: 6.084 MB / 0.7034 GB, free: 33.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006294/2.188, allocations: 2.697 MB / 0.7061 GB, free: 33.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03735/2.225, allocations: 13.92 MB / 0.7197 GB, free: 29.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/2.225, allocations: 61.81 kB / 0.7197 GB, free: 29.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.474e-06/2.225, allocations: 0 / 0.7197 GB, free: 29.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=344): time 0.1039/2.329, allocations: 19.3 MB / 0.7386 GB, free: 25.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/2.329, allocations: 187.4 kB / 0.7387 GB, free: 24.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01985/2.349, allocations: 5.149 MB / 0.7438 GB, free: 23.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009648/2.35, allocations: 75.64 kB / 0.7438 GB, free: 22.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006463/2.357, allocations: 5.001 MB / 0.7487 GB, free: 19.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00265/2.359, allocations: 1.282 MB / 0.75 GB, free: 18.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/2.361, allocations: 187 kB / 0.7502 GB, free: 18.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001172/2.362, allocations: 0.7052 MB / 0.7508 GB, free: 17.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01273/2.375, allocations: 3.139 MB / 0.7539 GB, free: 16.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/2.394, allocations: 8.53 MB / 0.7622 GB, free: 8.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01757/2.411, allocations: 5.19 MB / 0.7673 GB, free: 6.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002866/2.412, allocations: 53.25 kB / 0.7674 GB, free: 6.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04091/2.453, allocations: 11.97 MB / 0.779 GB, free: 2.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/2.453, allocations: 93.92 kB / 0.7791 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003188/2.453, allocations: 193.9 kB / 0.7793 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007377/2.46, allocations: 1.319 MB / 0.7806 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/2.474, allocations: 2.175 MB / 0.7827 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/2.493, allocations: 7.106 MB / 0.7897 GB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.505, allocations: 0.5529 MB / 0.7902 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/2.507, allocations: 0.5479 MB / 0.7907 GB, free: 8.203 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003877/2.511, allocations: 0.8015 MB / 0.7915 GB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/2.513, allocations: 0.5358 MB / 0.7921 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03102/2.544, allocations: 5.271 MB / 0.7972 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/2.544, allocations: 37.33 kB / 0.7972 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/2.544, allocations: 8 kB / 0.7972 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-05/2.544, allocations: 14.58 kB / 0.7973 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05841/2.603, allocations: 14.06 MB / 0.811 GB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.156e-05/2.603, allocations: 8 kB / 0.811 GB, free: 6.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004807/2.608, allocations: 0.5381 MB / 0.8115 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006684/2.614, allocations: 0.907 MB / 0.8124 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007058/2.615, allocations: 66.77 kB / 0.8125 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/2.63, allocations: 5.412 MB / 0.8178 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.148e-05/2.63, allocations: 19.94 kB / 0.8178 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02721/2.658, allocations: 10.14 MB / 0.8277 GB, free: 6.934 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003983/2.662, allocations: 0.9446 MB / 0.8286 GB, free: 6.039 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/2.664, allocations: 62.72 kB / 0.8287 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005281/2.669, allocations: 195.7 kB / 0.8289 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/2.67, allocations: 215.2 kB / 0.8291 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003907/2.67, allocations: 103.4 kB / 0.8292 GB, free: 5.605 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01076/2.681, allocations: 3.553 MB / 0.8326 GB, free: 2.504 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.273e-06/2.681, allocations: 4 kB / 0.8326 GB, free: 2.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01272/2.694, allocations: 1.659 MB / 0.8343 GB, free: 0.8594 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3645/3.059, allocations: 13.17 MB / 0.8471 GB, free: 115.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02065/3.079, allocations: 7.314 MB / 0.8543 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/3.079, allocations: 3.156 kB / 0.8543 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006783/3.086, allocations: 2.315 MB / 0.8565 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/3.092, allocations: 0.6465 MB / 0.8572 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04736/3.139, allocations: 15.02 MB / 0.8718 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01235/3.151, allocations: 5.325 MB / 0.877 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01526/3.167, allocations: 3.036 MB / 0.88 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008668/3.175, allocations: 3.326 MB / 0.8832 GB, free: 109.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.883e-06/3.175, allocations: 0 / 0.8832 GB, free: 109.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6331/3.809, allocations: 122.7 MB / 1.003 GB, free: 82.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/3.809, allocations: 173.2 kB / 1.003 GB, free: 82.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/11.08, allocations: 3.938 kB / 1.003 GB, free: 82.54 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat