Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.486e-05, allocations: 3.234 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1658, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5823/0.7481, allocations: 118.1 MB / 0.5161 GB, free: 1.879 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.7485, allocations: 80.7 kB / 0.5162 GB, free: 1.801 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118/1.867, allocations: 156.5 MB / 0.669 GB, free: 116 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.564e-06/1.867, allocations: 3.938 kB / 0.669 GB, free: 116 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007804/1.868, allocations: 137.2 kB / 0.6691 GB, free: 116 MB / 0.5105 GB 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.03686/1.905, allocations: 6.523 MB / 0.6755 GB, free: 113 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/1.905, allocations: 9.906 kB / 0.6755 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009834/1.915, allocations: 1.493 MB / 0.677 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05409/1.969, allocations: 6.678 MB / 0.6835 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03086/2, allocations: 7.952 MB / 0.6913 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007641/2.001, allocations: 0.529 MB / 0.6918 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005561/2.006, allocations: 0.7124 MB / 0.6925 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0621/2.068, allocations: 18.6 MB / 0.7106 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005641/2.069, allocations: 91.27 kB / 0.7107 GB, free: 91.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004356/2.073, allocations: 332.2 kB / 0.7111 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004779/2.078, allocations: 1.729 MB / 0.7127 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06697/2.145, allocations: 15.96 MB / 0.7283 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/2.269, allocations: 74.15 MB / 0.8007 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02851/2.298, allocations: 6.081 MB / 0.8067 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0096/2.308, allocations: 2.72 MB / 0.8093 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4532/2.761, allocations: 13.87 MB / 0.8229 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/2.761, allocations: 61.81 kB / 0.8229 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 7.023e-06/2.761, allocations: 2.516 kB / 0.8229 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=344): time 0.1081/2.869, allocations: 19.14 MB / 0.8416 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/2.869, allocations: 191.6 kB / 0.8418 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/2.881, allocations: 5.129 MB / 0.8468 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007569/2.882, allocations: 74.14 kB / 0.8469 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004619/2.887, allocations: 5.005 MB / 0.8518 GB, free: 115 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/2.889, allocations: 1.281 MB / 0.853 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/2.89, allocations: 186 kB / 0.8532 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007622/2.891, allocations: 0.7151 MB / 0.8539 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008461/2.9, allocations: 3.143 MB / 0.857 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/2.912, allocations: 8.546 MB / 0.8653 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/2.924, allocations: 5.197 MB / 0.8704 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/2.924, allocations: 55.16 kB / 0.8705 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03878/2.963, allocations: 11.99 MB / 0.8822 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/2.963, allocations: 89.56 kB / 0.8822 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000337/2.963, allocations: 197.7 kB / 0.8824 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00764/2.971, allocations: 1.316 MB / 0.8837 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/2.985, allocations: 2.189 MB / 0.8859 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/3.002, allocations: 7.095 MB / 0.8928 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/3.013, allocations: 0.5569 MB / 0.8933 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/3.015, allocations: 0.5515 MB / 0.8939 GB, free: 94.89 MB / 0.5261 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.002466/3.018, allocations: 0.816 MB / 0.8947 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/3.019, allocations: 0.5272 MB / 0.8952 GB, free: 93.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/3.037, allocations: 5.262 MB / 0.9003 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.614e-05/3.037, allocations: 43.77 kB / 0.9004 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/3.037, allocations: 6.719 kB / 0.9004 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-05/3.037, allocations: 17.16 kB / 0.9004 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04591/3.083, allocations: 14 MB / 0.9141 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-05/3.083, allocations: 12 kB / 0.9141 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004744/3.088, allocations: 0.5384 MB / 0.9146 GB, free: 82.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006515/3.095, allocations: 0.9144 MB / 0.9155 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007797/3.095, allocations: 67.28 kB / 0.9156 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/3.109, allocations: 5.419 MB / 0.9208 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/3.109, allocations: 23.88 kB / 0.9209 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02922/3.138, allocations: 10.12 MB / 0.9308 GB, free: 67.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/3.14, allocations: 0.5673 MB / 0.9313 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00198/3.142, allocations: 72.66 kB / 0.9314 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004958/3.147, allocations: 190.3 kB / 0.9316 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009721/3.148, allocations: 219.4 kB / 0.9318 GB, free: 66.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003553/3.149, allocations: 97.25 kB / 0.9319 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01007/3.159, allocations: 3.552 MB / 0.9353 GB, free: 63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.753e-06/3.159, allocations: 0 / 0.9353 GB, free: 63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01216/3.171, allocations: 1.659 MB / 0.937 GB, free: 61.36 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.02444/3.196, allocations: 13.17 MB / 0.9498 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01808/3.214, allocations: 7.318 MB / 0.957 GB, free: 41.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/3.214, allocations: 4 kB / 0.957 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006269/3.22, allocations: 2.307 MB / 0.9592 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005977/3.226, allocations: 0.6359 MB / 0.9598 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/3.278, allocations: 15.01 MB / 0.9745 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01252/3.29, allocations: 5.315 MB / 0.9797 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01375/3.304, allocations: 3.037 MB / 0.9827 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007999/3.312, allocations: 3.382 MB / 0.986 GB, free: 17 MB / 0.5261 GB Notification: Performance of SimCode: time 1.963e-06/3.312, allocations: 0 / 0.986 GB, free: 17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6831/3.995, allocations: 122.7 MB / 1.106 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/3.996, allocations: 175.7 kB / 1.106 GB, free: 88.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/12.03, allocations: 4 kB / 1.106 GB, free: 88.56 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat