Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.326e-05, allocations: 16.62 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.5986, allocations: 109.7 MB / 452.4 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.599, allocations: 93.23 kB / 452.4 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286/1.885, allocations: 237.7 MB / 0.674 GB, free: 15.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.496e-06/1.885, allocations: 0 / 0.674 GB, free: 15.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007535/1.886, allocations: 243.9 kB / 0.6742 GB, free: 15.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.06026/1.946, allocations: 12.29 MB / 0.6862 GB, free: 3.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/1.946, allocations: 8.031 kB / 0.6862 GB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01098/1.957, allocations: 2.001 MB / 0.6882 GB, free: 1.211 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4017/2.359, allocations: 3.98 MB / 0.6921 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05258/2.412, allocations: 11.76 MB / 0.7035 GB, free: 43.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/2.413, allocations: 0.8869 MB / 0.7044 GB, free: 43.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008455/2.422, allocations: 1.186 MB / 0.7056 GB, free: 43.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1289/2.551, allocations: 33.38 MB / 0.7382 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009274/2.552, allocations: 106 kB / 0.7383 GB, free: 38.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006861/2.559, allocations: 0.5389 MB / 0.7388 GB, free: 38.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005959/2.565, allocations: 2.587 MB / 0.7413 GB, free: 38.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1113/2.676, allocations: 30.24 MB / 0.7709 GB, free: 32.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6527/3.329, allocations: 120.5 MB / 0.8885 GB, free: 29.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08869/3.418, allocations: 17.22 MB / 0.9053 GB, free: 28.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01708/3.435, allocations: 8.726 MB / 0.9138 GB, free: 28.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06834/3.503, allocations: 31.04 MB / 0.9441 GB, free: 21.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.412e-05/3.503, allocations: 88.09 kB / 0.9442 GB, free: 21.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=489): time 9.558e-06/3.503, allocations: 1.875 kB / 0.9442 GB, free: 21.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=726): time 0.7512/4.255, allocations: 123.1 MB / 1.064 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/4.255, allocations: 197.8 kB / 1.065 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01954/4.274, allocations: 6.902 MB / 1.071 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00261/4.277, allocations: 137.7 kB / 1.071 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3912/4.668, allocations: 7.068 MB / 1.078 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005481/4.674, allocations: 2.581 MB / 1.081 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003766/4.678, allocations: 286.5 kB / 1.081 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001686/4.679, allocations: 0.9126 MB / 1.082 GB, free: 138.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02739/4.707, allocations: 10.09 MB / 1.092 GB, free: 138.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04398/4.751, allocations: 16.64 MB / 1.108 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04165/4.792, allocations: 12.88 MB / 1.121 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003023/4.793, allocations: 63.91 kB / 1.121 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.07209/4.865, allocations: 26.64 MB / 1.147 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/4.865, allocations: 102.8 kB / 1.147 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003708/4.866, allocations: 225.8 kB / 1.147 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/4.866, allocations: 349.9 kB / 1.147 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03744/4.903, allocations: 4.268 MB / 1.152 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005401/4.904, allocations: 464.8 kB / 1.152 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02229/4.926, allocations: 1.22 MB / 1.153 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004045/4.93, allocations: 0.7494 MB / 1.154 GB, free: 123.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1034 * Number of states: 0 () * Number of discrete variables: 102 (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.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 (1848): * Single equations (assignments): 1842 * 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.006086/4.937, allocations: 1.143 MB / 1.155 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002928/4.94, allocations: 0.795 MB / 1.156 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04731/4.987, allocations: 19.39 MB / 1.175 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/4.987, allocations: 75 kB / 1.175 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/4.987, allocations: 0.625 kB / 1.175 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001423/4.987, allocations: 42.88 kB / 1.175 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.107/5.094, allocations: 42.3 MB / 1.216 GB, free: 89.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/5.094, allocations: 9.703 kB / 1.216 GB, free: 89.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02539/5.12, allocations: 2.156 MB / 1.218 GB, free: 87.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/5.12, allocations: 30.5 kB / 1.218 GB, free: 87.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001989/5.122, allocations: 126.3 kB / 1.218 GB, free: 87.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-05/5.122, allocations: 30.58 kB / 1.219 GB, free: 87.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/5.122, allocations: 11.94 kB / 1.219 GB, free: 87.78 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0707/5.193, allocations: 33.6 MB / 1.251 GB, free: 56.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009768/5.203, allocations: 2.708 MB / 1.254 GB, free: 54.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004358/5.207, allocations: 124.8 kB / 1.254 GB, free: 54.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01504/5.222, allocations: 0.7622 MB / 1.255 GB, free: 53.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002923/5.225, allocations: 384.4 kB / 1.255 GB, free: 53.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001982/5.227, allocations: 181.8 kB / 1.255 GB, free: 53.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0125/5.24, allocations: 4.767 MB / 1.26 GB, free: 49.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.072e-06/5.24, allocations: 0 / 1.26 GB, free: 49.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01969/5.259, allocations: 3.171 MB / 1.263 GB, free: 46.02 MB / 0.5417 GB 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.4944/5.754, allocations: 37.4 MB / 1.3 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05192/5.806, allocations: 22.57 MB / 1.322 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/5.806, allocations: 1.641 kB / 1.322 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02216/5.828, allocations: 9.683 MB / 1.331 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008634/5.837, allocations: 0.8604 MB / 1.332 GB, free: 124 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1132/5.95, allocations: 32.62 MB / 1.364 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02289/5.973, allocations: 8.266 MB / 1.372 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02997/6.003, allocations: 5.062 MB / 1.377 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01968/6.023, allocations: 5.583 MB / 1.382 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/6.023, allocations: 0 / 1.382 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9397/6.962, allocations: 224.2 MB / 1.601 GB, free: 75.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/6.963, allocations: 167.2 kB / 1.601 GB, free: 74.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/18.15, allocations: 64 / 1.601 GB, free: 74.92 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat