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.995/1.995, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.009e-05, allocations: 7.938 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5574, allocations: 102.2 MB / 418.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5577, allocations: 80.7 kB / 418.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9044/1.462, allocations: 151.2 MB / 0.5564 GB, free: 75.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.462, allocations: 4 kB / 0.5564 GB, free: 75.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003666/1.463, allocations: 135.1 kB / 0.5565 GB, free: 75.09 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02385/1.486, allocations: 6.547 MB / 0.5629 GB, free: 68.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.487, allocations: 8.031 kB / 0.5629 GB, free: 68.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04892/1.535, allocations: 6.679 MB / 0.5695 GB, free: 61.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02848/1.564, allocations: 8.352 MB / 0.5776 GB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/1.564, allocations: 232 kB / 0.5778 GB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003879/1.568, allocations: 423.8 kB / 0.5782 GB, free: 52.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02694/1.595, allocations: 11.66 MB / 0.5896 GB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03919/1.635, allocations: 15.88 MB / 0.6051 GB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/1.635, allocations: 91.14 kB / 0.6052 GB, free: 23.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/1.637, allocations: 40 kB / 0.6053 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003285/1.64, allocations: 1.723 MB / 0.6069 GB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7268/2.367, allocations: 70.77 MB / 0.676 GB, free: 44.97 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009677/2.377, allocations: 4.673 MB / 0.6806 GB, free: 43.74 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00623/2.383, allocations: 2.666 MB / 0.6832 GB, free: 43.69 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03576/2.419, allocations: 13.69 MB / 0.6966 GB, free: 39.44 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/2.419, allocations: 67.66 kB / 0.6967 GB, free: 39.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=286): time 6.863e-06/2.419, allocations: 0 / 0.6967 GB, free: 39.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=346): time 0.07513/2.494, allocations: 18 MB / 0.7142 GB, free: 35.33 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/2.494, allocations: 189.5 kB / 0.7144 GB, free: 35.14 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009698/2.504, allocations: 4.599 MB / 0.7189 GB, free: 33.51 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007041/2.505, allocations: 29.17 kB / 0.7189 GB, free: 33.48 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004078/2.509, allocations: 5.083 MB / 0.7239 GB, free: 29.53 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001749/2.51, allocations: 1.253 MB / 0.7251 GB, free: 28.6 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009856/2.511, allocations: 0 / 0.7251 GB, free: 28.6 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006243/2.512, allocations: 0.724 MB / 0.7258 GB, free: 28.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006861/2.519, allocations: 3.05 MB / 0.7288 GB, free: 27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/2.53, allocations: 8.729 MB / 0.7373 GB, free: 18.25 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/2.544, allocations: 5.3 MB / 0.7425 GB, free: 16.68 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/2.544, allocations: 57.62 kB / 0.7426 GB, free: 16.68 MB / 426.8 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.03761/2.582, allocations: 11.71 MB / 0.754 GB, free: 12 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/2.582, allocations: 92 kB / 0.7541 GB, free: 11.91 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/2.582, allocations: 211.1 kB / 0.7543 GB, free: 11.71 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007269/2.589, allocations: 1.306 MB / 0.7556 GB, free: 10.69 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/2.603, allocations: 2.262 MB / 0.7578 GB, free: 8.715 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/2.619, allocations: 6.833 MB / 0.7644 GB, free: 2.594 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/2.629, allocations: 388.4 kB / 0.7648 GB, free: 2.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/2.631, allocations: 0.574 MB / 0.7654 GB, free: 1.723 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * 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 (1203): * Single equations (assignments): 1196 * 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.002324/2.634, allocations: 0.6005 MB / 0.766 GB, free: 1.117 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01903/2.653, allocations: 5.214 MB / 0.771 GB, free: 12.8 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/2.655, allocations: 0.5052 MB / 0.7715 GB, free: 12.29 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/2.673, allocations: 5.025 MB / 0.7764 GB, free: 8.121 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-05/2.673, allocations: 36.7 kB / 0.7765 GB, free: 8.086 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/2.673, allocations: 10.91 kB / 0.7765 GB, free: 8.078 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/2.673, allocations: 12.75 kB / 0.7765 GB, free: 8.078 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04263/2.716, allocations: 12.26 MB / 0.7885 GB, free: 13.92 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/2.716, allocations: 12 kB / 0.7885 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004633/2.721, allocations: 0.5145 MB / 0.789 GB, free: 13.48 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006284/2.727, allocations: 0.8641 MB / 0.7898 GB, free: 12.86 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005936/2.728, allocations: 23.7 kB / 0.7899 GB, free: 12.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/2.741, allocations: 5.152 MB / 0.7949 GB, free: 8.184 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.321e-05/2.741, allocations: 19.88 kB / 0.7949 GB, free: 8.164 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03107/2.772, allocations: 10.19 MB / 0.8049 GB, free: 15.93 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/2.776, allocations: 0.9026 MB / 0.8057 GB, free: 15.07 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/2.778, allocations: 22.67 kB / 0.8058 GB, free: 15.05 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004452/2.782, allocations: 128 kB / 0.8059 GB, free: 14.98 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009305/2.783, allocations: 219.2 kB / 0.8061 GB, free: 14.82 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/2.784, allocations: 106.6 kB / 0.8062 GB, free: 14.73 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.008106/2.792, allocations: 3.047 MB / 0.8092 GB, free: 12.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.12e-07/2.792, allocations: 0 / 0.8092 GB, free: 12.11 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0119/2.804, allocations: 1.431 MB / 0.8106 GB, free: 10.69 MB / 474.8 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 (269): * Single equations (assignments): 262 * 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.3536/3.158, allocations: 13.4 MB / 0.8237 GB, free: 119.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01983/3.177, allocations: 7.275 MB / 0.8308 GB, free: 119.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/3.178, allocations: 3.188 kB / 0.8308 GB, free: 119.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006223/3.184, allocations: 2.278 MB / 0.833 GB, free: 119.1 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/3.189, allocations: 0.512 MB / 0.8335 GB, free: 119.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05077/3.24, allocations: 14.65 MB / 0.8478 GB, free: 116.2 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01143/3.251, allocations: 5.309 MB / 0.853 GB, free: 115.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01416/3.265, allocations: 3.113 MB / 0.856 GB, free: 115.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007893/3.273, allocations: 3.356 MB / 0.8593 GB, free: 115.2 MB / 474.8 MB Notification: Performance of SimCode: time 2.365e-06/3.273, allocations: 0 / 0.8593 GB, free: 115.2 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2598/3.533, allocations: 117.2 MB / 0.9737 GB, free: 34.31 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/3.533, allocations: 143.5 kB / 0.9739 GB, free: 34.12 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/10.36, allocations: 4 kB / 0.9739 GB, free: 34.11 MB / 474.8 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