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.346/2.346, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.584e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3967, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.5937, allocations: 109.5 MB / 469.3 MB, free: 3.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.594, allocations: 75.95 kB / 469.4 MB, free: 3.238 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9387/1.533, allocations: 154.3 MB / 0.6091 GB, free: 80.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.533, allocations: 0 / 0.6091 GB, free: 80.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003871/1.533, allocations: 140 kB / 0.6092 GB, free: 80.56 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02734/1.561, allocations: 6.55 MB / 0.6156 GB, free: 73.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.561, allocations: 8.031 kB / 0.6156 GB, free: 73.92 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007342/1.568, allocations: 1.486 MB / 0.6171 GB, free: 72.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05195/1.62, allocations: 6.675 MB / 0.6236 GB, free: 65.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/1.65, allocations: 8.375 MB / 0.6318 GB, free: 57.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008072/1.651, allocations: 0.5371 MB / 0.6323 GB, free: 56.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004601/1.656, allocations: 0.7028 MB / 0.633 GB, free: 56.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05766/1.713, allocations: 18.6 MB / 0.6511 GB, free: 36.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004047/1.714, allocations: 79.28 kB / 0.6512 GB, free: 36.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003068/1.717, allocations: 339.8 kB / 0.6515 GB, free: 35.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003575/1.72, allocations: 1.723 MB / 0.6532 GB, free: 33.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05091/1.771, allocations: 15.96 MB / 0.6688 GB, free: 18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5142/2.286, allocations: 74.11 MB / 0.7412 GB, free: 47.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02696/2.313, allocations: 6.088 MB / 0.7471 GB, free: 46.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006743/2.319, allocations: 2.708 MB / 0.7498 GB, free: 46.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03689/2.356, allocations: 13.91 MB / 0.7634 GB, free: 42.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/2.357, allocations: 67.91 kB / 0.7634 GB, free: 42.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 6.813e-06/2.357, allocations: 0 / 0.7634 GB, free: 42.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=344): time 0.1043/2.461, allocations: 19.29 MB / 0.7823 GB, free: 38.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/2.461, allocations: 190.7 kB / 0.7824 GB, free: 37.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/2.474, allocations: 5.149 MB / 0.7875 GB, free: 36.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000758/2.475, allocations: 75.92 kB / 0.7875 GB, free: 36.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004464/2.479, allocations: 5 MB / 0.7924 GB, free: 32.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001963/2.481, allocations: 1.276 MB / 0.7937 GB, free: 31.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/2.482, allocations: 186.7 kB / 0.7938 GB, free: 31.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00073/2.483, allocations: 0.7055 MB / 0.7945 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008136/2.491, allocations: 3.138 MB / 0.7976 GB, free: 30.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/2.503, allocations: 8.534 MB / 0.8059 GB, free: 21.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/2.515, allocations: 5.191 MB / 0.811 GB, free: 20.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001982/2.515, allocations: 53.94 kB / 0.8111 GB, free: 20.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0378/2.553, allocations: 11.97 MB / 0.8227 GB, free: 16.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/2.553, allocations: 86.59 kB / 0.8228 GB, free: 16.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002793/2.554, allocations: 192 kB / 0.823 GB, free: 16.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007512/2.561, allocations: 1.317 MB / 0.8243 GB, free: 16.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/2.575, allocations: 2.177 MB / 0.8264 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/2.592, allocations: 7.1 MB / 0.8334 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/2.603, allocations: 0.5617 MB / 0.8339 GB, free: 8.172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/2.605, allocations: 0.5429 MB / 0.8344 GB, free: 7.633 MB / 474.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.003496/2.608, allocations: 0.8058 MB / 0.8352 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/2.61, allocations: 0.5316 MB / 0.8357 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/2.629, allocations: 5.268 MB / 0.8409 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-05/2.63, allocations: 37.8 kB / 0.8409 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/2.63, allocations: 4 kB / 0.8409 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/2.63, allocations: 17.88 kB / 0.8409 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04761/2.677, allocations: 14.03 MB / 0.8546 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.614e-05/2.677, allocations: 11.81 kB / 0.8546 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004846/2.682, allocations: 0.5394 MB / 0.8552 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006703/2.689, allocations: 0.9196 MB / 0.8561 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007334/2.69, allocations: 64.62 kB / 0.8561 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/2.705, allocations: 5.404 MB / 0.8614 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-05/2.705, allocations: 19.94 kB / 0.8614 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02647/2.732, allocations: 10.14 MB / 0.8713 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003839/2.735, allocations: 0.9447 MB / 0.8723 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/2.737, allocations: 70.03 kB / 0.8723 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004795/2.742, allocations: 184 kB / 0.8725 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008704/2.743, allocations: 222.3 kB / 0.8727 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/2.743, allocations: 102.3 kB / 0.8728 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01003/2.753, allocations: 3.555 MB / 0.8763 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.71e-07/2.753, allocations: 1.594 kB / 0.8763 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0132/2.766, allocations: 1.658 MB / 0.8779 GB, free: 220 kB / 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 (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.02963/2.796, allocations: 13.16 MB / 0.8908 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3587/3.155, allocations: 7.313 MB / 0.8979 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/3.155, allocations: 2.188 kB / 0.8979 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006923/3.162, allocations: 2.317 MB / 0.9002 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/3.168, allocations: 0.6364 MB / 0.9008 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05654/3.224, allocations: 15.02 MB / 0.9155 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/3.237, allocations: 5.318 MB / 0.9206 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01443/3.252, allocations: 3.046 MB / 0.9236 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008232/3.26, allocations: 3.33 MB / 0.9269 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.804e-06/3.26, allocations: 0 / 0.9269 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2631/3.523, allocations: 122.7 MB / 1.047 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/3.523, allocations: 175.2 kB / 1.047 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/10.95, allocations: 64 / 1.047 GB, free: 49.38 MB / 0.5105 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