Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.608/2.608, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.71e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4084, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.6664, allocations: 116.1 MB / 498.4 MB, free: 8.219 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.6667, allocations: 71.97 kB / 498.5 MB, free: 8.148 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/1.676, allocations: 154.7 MB / 0.6379 GB, free: 36.73 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.194e-06/1.676, allocations: 4 kB / 0.6379 GB, free: 36.73 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003916/1.676, allocations: 132 kB / 0.638 GB, free: 36.6 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.0264/1.703, allocations: 6.55 MB / 0.6444 GB, free: 29.97 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.703, allocations: 8.031 kB / 0.6444 GB, free: 29.96 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008392/1.711, allocations: 1.494 MB / 0.6459 GB, free: 28.45 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05479/1.766, allocations: 6.679 MB / 0.6524 GB, free: 21.75 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03028/1.796, allocations: 8.396 MB / 0.6606 GB, free: 13.3 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007002/1.797, allocations: 0.5255 MB / 0.6611 GB, free: 12.77 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004388/1.802, allocations: 0.7066 MB / 0.6618 GB, free: 12.06 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06162/1.863, allocations: 18.61 MB / 0.68 GB, free: 8.105 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005885/1.864, allocations: 95.11 kB / 0.6801 GB, free: 8.012 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004008/1.868, allocations: 335.8 kB / 0.6804 GB, free: 7.684 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00458/1.872, allocations: 1.719 MB / 0.6821 GB, free: 5.965 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05842/1.931, allocations: 15.96 MB / 0.6976 GB, free: 5.988 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5153/2.446, allocations: 74.21 MB / 0.7701 GB, free: 54.09 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02572/2.472, allocations: 6.083 MB / 0.7761 GB, free: 52.85 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006495/2.479, allocations: 2.707 MB / 0.7787 GB, free: 52.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03867/2.517, allocations: 13.92 MB / 0.7923 GB, free: 48.42 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/2.517, allocations: 58.31 kB / 0.7924 GB, free: 48.38 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=284): time 8.035e-06/2.517, allocations: 3.719 kB / 0.7924 GB, free: 48.38 MB / 0.4949 GB Notification: Performance of matching and sorting (n=344): time 0.1094/2.627, allocations: 19.3 MB / 0.8112 GB, free: 44.34 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/2.627, allocations: 193.2 kB / 0.8114 GB, free: 44.15 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01364/2.641, allocations: 5.174 MB / 0.8164 GB, free: 43.05 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008046/2.642, allocations: 72.14 kB / 0.8165 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004912/2.647, allocations: 5.017 MB / 0.8214 GB, free: 39.18 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001975/2.649, allocations: 1.271 MB / 0.8227 GB, free: 38.25 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/2.65, allocations: 186.6 kB / 0.8228 GB, free: 38.11 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000943/2.651, allocations: 0.7096 MB / 0.8235 GB, free: 37.63 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008803/2.66, allocations: 3.138 MB / 0.8266 GB, free: 36.55 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01283/2.673, allocations: 8.556 MB / 0.8349 GB, free: 28.19 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.685, allocations: 5.198 MB / 0.84 GB, free: 26.65 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002579/2.685, allocations: 56.09 kB / 0.8401 GB, free: 26.65 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.0391/2.724, allocations: 12 MB / 0.8518 GB, free: 22.91 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/2.725, allocations: 86.09 kB / 0.8519 GB, free: 22.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003039/2.725, allocations: 194.6 kB / 0.8521 GB, free: 22.91 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007642/2.733, allocations: 1.323 MB / 0.8534 GB, free: 22.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/2.746, allocations: 2.191 MB / 0.8555 GB, free: 20.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/2.764, allocations: 7.098 MB / 0.8624 GB, free: 14.42 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.775, allocations: 0.5613 MB / 0.863 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/2.778, allocations: 0.5504 MB / 0.8635 GB, free: 13.39 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1155): * Single equations (assignments): 1148 * 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.003629/2.781, allocations: 0.8027 MB / 0.8643 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/2.783, allocations: 0.5359 MB / 0.8648 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/2.803, allocations: 5.273 MB / 0.87 GB, free: 7.641 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.549e-05/2.803, allocations: 36 kB / 0.87 GB, free: 7.605 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/2.803, allocations: 4 kB / 0.87 GB, free: 7.602 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.738e-05/2.803, allocations: 22.72 kB / 0.87 GB, free: 7.598 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05239/2.855, allocations: 14.19 MB / 0.8839 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.875e-05/2.855, allocations: 12 kB / 0.8839 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004996/2.86, allocations: 0.5347 MB / 0.8844 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006853/2.867, allocations: 0.9146 MB / 0.8853 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008212/2.868, allocations: 71.05 kB / 0.8854 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/2.884, allocations: 5.416 MB / 0.8907 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/2.884, allocations: 15.94 kB / 0.8907 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03146/2.916, allocations: 10.36 MB / 0.9008 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004109/2.92, allocations: 0.946 MB / 0.9017 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/2.922, allocations: 66.73 kB / 0.9018 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005538/2.927, allocations: 191.4 kB / 0.902 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/2.929, allocations: 221 kB / 0.9022 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004401/2.929, allocations: 106.6 kB / 0.9023 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01107/2.94, allocations: 3.57 MB / 0.9058 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.583e-06/2.94, allocations: 0 / 0.9058 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01303/2.953, allocations: 1.657 MB / 0.9074 GB, free: 6.844 MB / 0.5261 GB 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.416/3.369, allocations: 13.16 MB / 0.9202 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.019/3.388, allocations: 7.325 MB / 0.9274 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/3.388, allocations: 7.375 kB / 0.9274 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00646/3.395, allocations: 2.312 MB / 0.9297 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005974/3.401, allocations: 0.6425 MB / 0.9303 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05276/3.454, allocations: 15.04 MB / 0.945 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01517/3.469, allocations: 5.327 MB / 0.9502 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01975/3.489, allocations: 3.041 MB / 0.9531 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008319/3.497, allocations: 3.339 MB / 0.9564 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.973e-06/3.497, allocations: 0 / 0.9564 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/3.766, allocations: 123.1 MB / 1.077 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/3.766, allocations: 167.2 kB / 1.077 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/11.86, allocations: 0 / 1.077 GB, free: 33.35 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat