Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.433e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5656, allocations: 107.7 MB / 424.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.5659, allocations: 93.5 kB / 424.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183/1.749, allocations: 235.2 MB / 0.6445 GB, free: 29.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.749, allocations: 4 kB / 0.6445 GB, free: 29.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006908/1.75, allocations: 235.9 kB / 0.6448 GB, free: 29.08 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: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.05547/1.805, allocations: 12.3 MB / 0.6568 GB, free: 16.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.805, allocations: 8.031 kB / 0.6568 GB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01081/1.816, allocations: 2.005 MB / 0.6587 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0337/1.85, allocations: 3.982 MB / 0.6626 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3764/2.226, allocations: 12.2 MB / 0.6745 GB, free: 42.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/2.228, allocations: 0.8857 MB / 0.6754 GB, free: 42.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007335/2.235, allocations: 1.183 MB / 0.6766 GB, free: 42.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1212/2.357, allocations: 33.39 MB / 0.7092 GB, free: 37.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007432/2.357, allocations: 99.06 kB / 0.7093 GB, free: 37.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006285/2.364, allocations: 0.5364 MB / 0.7098 GB, free: 37.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00558/2.369, allocations: 2.587 MB / 0.7123 GB, free: 37.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1294/2.499, allocations: 30.24 MB / 0.7418 GB, free: 34.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6325/3.131, allocations: 120.5 MB / 0.8595 GB, free: 34.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08822/3.22, allocations: 17.21 MB / 0.8763 GB, free: 33.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01773/3.237, allocations: 8.73 MB / 0.8848 GB, free: 33.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07153/3.309, allocations: 31.09 MB / 0.9152 GB, free: 26.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.641e-05/3.309, allocations: 86.84 kB / 0.9153 GB, free: 26.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=489): time 9.548e-06/3.309, allocations: 0 / 0.9153 GB, free: 26.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=726): time 0.7491/4.058, allocations: 122.8 MB / 1.035 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/4.058, allocations: 204.7 kB / 1.035 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02041/4.079, allocations: 6.927 MB / 1.042 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002677/4.082, allocations: 137.7 kB / 1.042 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.367/4.449, allocations: 7.083 MB / 1.049 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005705/4.454, allocations: 2.581 MB / 1.052 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003974/4.458, allocations: 290.2 kB / 1.052 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001821/4.46, allocations: 0.9117 MB / 1.053 GB, free: 144 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02867/4.489, allocations: 10.09 MB / 1.063 GB, free: 144 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03124/4.52, allocations: 16.64 MB / 1.079 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0307/4.551, allocations: 12.88 MB / 1.092 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003547/4.551, allocations: 64.66 kB / 1.092 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.07363/4.625, allocations: 26.64 MB / 1.118 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/4.625, allocations: 102 kB / 1.118 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003975/4.626, allocations: 224.4 kB / 1.118 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/4.626, allocations: 350.1 kB / 1.118 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03753/4.664, allocations: 4.265 MB / 1.122 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000563/4.664, allocations: 460.2 kB / 1.123 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02314/4.688, allocations: 1.225 MB / 1.124 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0044/4.692, allocations: 0.7494 MB / 1.125 GB, free: 127.9 MB / 0.5261 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.007936/4.7, allocations: 1.141 MB / 1.126 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003943/4.704, allocations: 0.8008 MB / 1.127 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05114/4.755, allocations: 19.39 MB / 1.146 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/4.755, allocations: 72.5 kB / 1.146 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/4.755, allocations: 3.344 kB / 1.146 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001646/4.756, allocations: 40.64 kB / 1.146 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1147/4.87, allocations: 42.31 MB / 1.187 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/4.87, allocations: 7.875 kB / 1.187 GB, free: 89.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02585/4.896, allocations: 2.152 MB / 1.189 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/4.896, allocations: 32 kB / 1.189 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002428/4.899, allocations: 131 kB / 1.189 GB, free: 87.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.037e-05/4.899, allocations: 31.78 kB / 1.189 GB, free: 87.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/4.899, allocations: 12.83 kB / 1.189 GB, free: 87.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07326/4.972, allocations: 33.61 MB / 1.222 GB, free: 56.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009915/4.982, allocations: 2.71 MB / 1.225 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004413/4.987, allocations: 119.8 kB / 1.225 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01518/5.002, allocations: 0.7617 MB / 1.226 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003044/5.005, allocations: 400.2 kB / 1.226 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002418/5.007, allocations: 177.9 kB / 1.226 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01298/5.02, allocations: 4.793 MB / 1.231 GB, free: 49.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.553e-06/5.021, allocations: 0 / 1.231 GB, free: 49.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01982/5.04, allocations: 3.174 MB / 1.234 GB, free: 46.07 MB / 0.5261 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.4702/5.511, allocations: 37.38 MB / 1.271 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0655/5.576, allocations: 22.57 MB / 1.293 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/5.576, allocations: 0 / 1.293 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03394/5.61, allocations: 9.683 MB / 1.302 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/5.622, allocations: 0.8605 MB / 1.303 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1468/5.769, allocations: 32.64 MB / 1.335 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02035/5.79, allocations: 8.277 MB / 1.343 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02866/5.818, allocations: 5.069 MB / 1.348 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01897/5.837, allocations: 5.595 MB / 1.353 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.502e-06/5.837, allocations: 0 / 1.353 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9172/6.755, allocations: 224.5 MB / 1.572 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/6.755, allocations: 175.2 kB / 1.573 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/17.45, allocations: 0 / 1.573 GB, free: 72.21 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat