Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.518/2.518, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.66e-05, allocations: 0 / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3774, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.6075, allocations: 108.8 MB / 463.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004205/0.608, allocations: 75.97 kB / 463.2 MB, free: 5.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064/1.672, allocations: 151.2 MB / 0.6 GB, free: 27.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.672, allocations: 0 / 0.6 GB, free: 27.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003971/1.672, allocations: 136 kB / 0.6001 GB, free: 27.15 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.02603/1.698, allocations: 6.543 MB / 0.6065 GB, free: 20.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.699, allocations: 8.031 kB / 0.6065 GB, free: 20.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05038/1.749, allocations: 6.675 MB / 0.613 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/1.779, allocations: 8.364 MB / 0.6212 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/1.78, allocations: 228 kB / 0.6214 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004094/1.784, allocations: 431.8 kB / 0.6218 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03117/1.815, allocations: 11.65 MB / 0.6332 GB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04867/1.864, allocations: 15.88 MB / 0.6487 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006069/1.864, allocations: 87.19 kB / 0.6488 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003785/1.868, allocations: 40 kB / 0.6488 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004738/1.873, allocations: 1.723 MB / 0.6505 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.472/2.345, allocations: 70.76 MB / 0.7196 GB, free: 43.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008898/2.354, allocations: 4.668 MB / 0.7242 GB, free: 42.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005774/2.36, allocations: 2.665 MB / 0.7268 GB, free: 41.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03771/2.398, allocations: 13.7 MB / 0.7401 GB, free: 34.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/2.398, allocations: 62.5 kB / 0.7402 GB, free: 34.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 8.205e-06/2.398, allocations: 0 / 0.7402 GB, free: 34.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=346): time 0.08162/2.479, allocations: 17.99 MB / 0.7578 GB, free: 28.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/2.48, allocations: 188.2 kB / 0.758 GB, free: 27.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/2.491, allocations: 4.601 MB / 0.7624 GB, free: 26.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007905/2.492, allocations: 29.64 kB / 0.7625 GB, free: 26.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004496/2.496, allocations: 5.084 MB / 0.7674 GB, free: 22.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001882/2.498, allocations: 1.255 MB / 0.7687 GB, free: 21.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/2.5, allocations: 0 / 0.7687 GB, free: 21.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008053/2.5, allocations: 0.722 MB / 0.7694 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007645/2.508, allocations: 3.047 MB / 0.7723 GB, free: 19.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/2.52, allocations: 8.724 MB / 0.7809 GB, free: 9.355 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/2.534, allocations: 5.294 MB / 0.786 GB, free: 5.164 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000234/2.534, allocations: 60 kB / 0.7861 GB, free: 5.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.04131/2.575, allocations: 11.72 MB / 0.7975 GB, free: 10.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/2.576, allocations: 93.88 kB / 0.7976 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004292/2.576, allocations: 211.3 kB / 0.7978 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007975/2.584, allocations: 1.301 MB / 0.7991 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0156/2.6, allocations: 2.261 MB / 0.8013 GB, free: 7.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/2.619, allocations: 6.851 MB / 0.808 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/2.63, allocations: 387.4 kB / 0.8084 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002715/2.633, allocations: 0.5719 MB / 0.8089 GB, free: 0.6719 MB / 474.7 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.003565/2.636, allocations: 0.6055 MB / 0.8095 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02731/2.664, allocations: 5.625 MB / 0.815 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/2.666, allocations: 0.5014 MB / 0.8155 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/2.686, allocations: 5.027 MB / 0.8204 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/2.686, allocations: 41.89 kB / 0.8204 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/2.686, allocations: 11.95 kB / 0.8205 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/2.686, allocations: 14.11 kB / 0.8205 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04488/2.731, allocations: 12.25 MB / 0.8324 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-05/2.731, allocations: 12 kB / 0.8324 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004914/2.736, allocations: 0.5146 MB / 0.8329 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006496/2.743, allocations: 0.8561 MB / 0.8338 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006913/2.743, allocations: 27.52 kB / 0.8338 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/2.758, allocations: 5.153 MB / 0.8388 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/2.758, allocations: 19.88 kB / 0.8389 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4186/3.176, allocations: 9.785 MB / 0.8484 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005088/3.181, allocations: 0.9051 MB / 0.8493 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/3.184, allocations: 19.83 kB / 0.8493 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005028/3.189, allocations: 126.6 kB / 0.8494 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/3.19, allocations: 216.8 kB / 0.8496 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00052/3.19, allocations: 105.3 kB / 0.8497 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009323/3.2, allocations: 3.045 MB / 0.8527 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.104e-06/3.2, allocations: 0 / 0.8527 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01282/3.213, allocations: 1.429 MB / 0.8541 GB, free: 117.1 MB / 0.4948 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 (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.02524/3.238, allocations: 12.85 MB / 0.8667 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01724/3.255, allocations: 7.282 MB / 0.8738 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/3.255, allocations: 2.688 kB / 0.8738 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006109/3.261, allocations: 2.28 MB / 0.876 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/3.267, allocations: 0.5032 MB / 0.8765 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05086/3.318, allocations: 14.65 MB / 0.8908 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01302/3.331, allocations: 5.31 MB / 0.896 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01488/3.346, allocations: 3.116 MB / 0.899 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01242/3.358, allocations: 3.351 MB / 0.9023 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.495e-06/3.358, allocations: 0 / 0.9023 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2691/3.627, allocations: 117.2 MB / 1.017 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/3.628, allocations: 142.5 kB / 1.017 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/11.19, allocations: 0 / 1.017 GB, free: 16.61 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat