Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.197e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09102, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5586, allocations: 101.7 MB / 401.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.5589, allocations: 87.45 kB / 401.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182/1.741, allocations: 234 MB / 0.6208 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.741, allocations: 0 / 0.6208 GB, free: 54.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008434/1.742, allocations: 233.5 kB / 0.621 GB, free: 54.52 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05899/1.801, allocations: 12.29 MB / 0.633 GB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/1.801, allocations: 8.031 kB / 0.633 GB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01077/1.812, allocations: 2 MB / 0.635 GB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03407/1.846, allocations: 3.982 MB / 0.6389 GB, free: 36.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04818/1.894, allocations: 12.19 MB / 0.6508 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001146/1.895, allocations: 0.8853 MB / 0.6517 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007466/1.903, allocations: 1.186 MB / 0.6528 GB, free: 22.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4543/2.357, allocations: 33.37 MB / 0.6854 GB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001002/2.358, allocations: 98.77 kB / 0.6855 GB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006789/2.365, allocations: 0.5347 MB / 0.686 GB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006709/2.372, allocations: 2.575 MB / 0.6885 GB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.109/2.481, allocations: 30.24 MB / 0.7181 GB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/2.721, allocations: 120.4 MB / 0.8356 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4613/3.182, allocations: 18.04 MB / 0.8532 GB, free: 94.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02085/3.203, allocations: 8.728 MB / 0.8617 GB, free: 94.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07621/3.279, allocations: 31.09 MB / 0.8921 GB, free: 86.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/3.279, allocations: 86.64 kB / 0.8922 GB, free: 86.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=489): time 9.739e-06/3.279, allocations: 0 / 0.8922 GB, free: 86.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=726): time 1.084/4.363, allocations: 122.2 MB / 1.012 GB, free: 88.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/4.364, allocations: 204.5 kB / 1.012 GB, free: 87.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02112/4.385, allocations: 6.904 MB / 1.018 GB, free: 87.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002605/4.387, allocations: 143.3 kB / 1.019 GB, free: 87.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00739/4.395, allocations: 7.068 MB / 1.025 GB, free: 84.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005232/4.4, allocations: 2.577 MB / 1.028 GB, free: 83.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003865/4.404, allocations: 291.1 kB / 1.028 GB, free: 83.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00217/4.406, allocations: 0.9075 MB / 1.029 GB, free: 82.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02596/4.432, allocations: 10.09 MB / 1.039 GB, free: 82.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03039/4.463, allocations: 16.61 MB / 1.055 GB, free: 74.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03035/4.493, allocations: 12.88 MB / 1.068 GB, free: 71.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003048/4.494, allocations: 64.25 kB / 1.068 GB, free: 71.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.07354/4.567, allocations: 26.61 MB / 1.094 GB, free: 61.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/4.567, allocations: 100.3 kB / 1.094 GB, free: 61.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003581/4.568, allocations: 229.2 kB / 1.094 GB, free: 61.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/4.568, allocations: 349.8 kB / 1.095 GB, free: 61.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03825/4.606, allocations: 4.259 MB / 1.099 GB, free: 60.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006074/4.607, allocations: 459.4 kB / 1.099 GB, free: 60.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0236/4.631, allocations: 1.228 MB / 1.1 GB, free: 60.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004668/4.635, allocations: 0.7464 MB / 1.101 GB, free: 60.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1031 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1845): * Single equations (assignments): 1839 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008299/4.644, allocations: 1.13 MB / 1.102 GB, free: 59.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0046/4.648, allocations: 0.7947 MB / 1.103 GB, free: 58.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05905/4.708, allocations: 19.4 MB / 1.122 GB, free: 50.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/4.708, allocations: 70.69 kB / 1.122 GB, free: 50.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/4.708, allocations: 3.312 kB / 1.122 GB, free: 50.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001995/4.708, allocations: 34.88 kB / 1.122 GB, free: 50.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.122/4.83, allocations: 42.3 MB / 1.163 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/4.83, allocations: 11.95 kB / 1.163 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02635/4.856, allocations: 2.157 MB / 1.165 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/4.857, allocations: 28 kB / 1.165 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002561/4.859, allocations: 126.9 kB / 1.166 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001082/4.859, allocations: 36.53 kB / 1.166 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/4.859, allocations: 8 kB / 1.166 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4485/5.308, allocations: 35.24 MB / 1.2 GB, free: 79.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01085/5.319, allocations: 2.711 MB / 1.203 GB, free: 79.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00486/5.324, allocations: 122.5 kB / 1.203 GB, free: 79.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01572/5.34, allocations: 0.7631 MB / 1.204 GB, free: 79.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003157/5.343, allocations: 387.5 kB / 1.204 GB, free: 79.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002522/5.345, allocations: 185.5 kB / 1.204 GB, free: 79.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01404/5.359, allocations: 4.777 MB / 1.209 GB, free: 78.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.12e-07/5.359, allocations: 1.625 kB / 1.209 GB, free: 78.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02111/5.381, allocations: 3.169 MB / 1.212 GB, free: 78.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (710): * Single equations (assignments): 707 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.105/5.486, allocations: 35.35 MB / 1.246 GB, free: 63.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0673/5.553, allocations: 22.56 MB / 1.268 GB, free: 54.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/5.553, allocations: 4.359 kB / 1.268 GB, free: 54.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02302/5.576, allocations: 9.686 MB / 1.278 GB, free: 49.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00927/5.585, allocations: 0.8525 MB / 1.279 GB, free: 49.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1156/5.701, allocations: 32.62 MB / 1.311 GB, free: 20.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02318/5.724, allocations: 8.266 MB / 1.319 GB, free: 14.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0317/5.756, allocations: 5.06 MB / 1.324 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02108/5.777, allocations: 5.582 MB / 1.329 GB, free: 6.145 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/5.777, allocations: 0 / 1.329 GB, free: 6.145 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.227/7.005, allocations: 224.4 MB / 1.548 GB, free: 78.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/7.005, allocations: 178.6 kB / 1.548 GB, free: 78.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/17.94, allocations: 0 / 1.548 GB, free: 78.09 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat