Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.82e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5866/0.7225, allocations: 111.7 MB / 0.5098 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.7229, allocations: 79.95 kB / 0.5099 GB, free: 8.242 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2649/0.9878, allocations: 66.79 MB / 0.5751 GB, free: 5.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.9879, allocations: 4 kB / 0.5751 GB, free: 5.254 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002259/0.9881, allocations: 68 kB / 0.5752 GB, free: 5.188 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01635/1.004, allocations: 3.759 MB / 0.5789 GB, free: 1.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.223e-05/1.005, allocations: 12.03 kB / 0.5789 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002633/1.007, allocations: 0.6055 MB / 0.5795 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/1.013, allocations: 0.6429 MB / 0.5801 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008882/1.022, allocations: 2.415 MB / 0.5825 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/1.022, allocations: 275.3 kB / 0.5827 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/1.024, allocations: 363.9 kB / 0.5831 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/1.056, allocations: 8.888 MB / 0.5917 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/1.057, allocations: 19.81 kB / 0.5918 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/1.058, allocations: 167.9 kB / 0.5919 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/1.059, allocations: 0.674 MB / 0.5926 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/1.089, allocations: 7.856 MB / 0.6003 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4176/1.506, allocations: 28.24 MB / 0.6278 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/1.523, allocations: 2.985 MB / 0.6307 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003557/1.527, allocations: 1.541 MB / 0.6322 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/1.547, allocations: 8.643 MB / 0.6407 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.547, allocations: 46.77 kB / 0.6407 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=93): time 4.057e-06/1.547, allocations: 0 / 0.6407 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110): time 0.04264/1.59, allocations: 6.332 MB / 0.6469 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.59, allocations: 66.47 kB / 0.647 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006717/1.596, allocations: 2.279 MB / 0.6492 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004036/1.597, allocations: 45.33 kB / 0.6492 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.599, allocations: 2.146 MB / 0.6513 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008221/1.6, allocations: 432.3 kB / 0.6518 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/1.601, allocations: 75.75 kB / 0.6518 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003268/1.601, allocations: 462.3 kB / 0.6523 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004587/1.606, allocations: 1.35 MB / 0.6536 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006155/1.612, allocations: 3.393 MB / 0.6569 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006335/1.618, allocations: 2.084 MB / 0.6589 GB, free: 107 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/1.618, allocations: 19.5 kB / 0.659 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.0158/1.634, allocations: 4.564 MB / 0.6634 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/1.634, allocations: 35.94 kB / 0.6634 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/1.634, allocations: 70.09 kB / 0.6635 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/1.635, allocations: 108.6 kB / 0.6636 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007932/1.643, allocations: 0.9002 MB / 0.6645 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001897/1.643, allocations: 144.3 kB / 0.6646 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/1.649, allocations: 227.8 kB / 0.6648 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008081/1.65, allocations: 215.8 kB / 0.6651 GB, free: 105.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 475 * Array equations: 1 * 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.00105/1.651, allocations: 416.2 kB / 0.6655 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007378/1.651, allocations: 222.2 kB / 0.6657 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/1.657, allocations: 2.075 MB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.657, allocations: 11.09 kB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.657, allocations: 3.953 kB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.657, allocations: 3.891 kB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.672, allocations: 6.365 MB / 0.6739 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/1.672, allocations: 16.66 kB / 0.6739 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.675, allocations: 297.7 kB / 0.6742 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.746e-05/1.675, allocations: 30.09 kB / 0.6743 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.675, allocations: 50.48 kB / 0.6743 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.913e-05/1.675, allocations: 37.61 kB / 0.6743 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-05/1.675, allocations: 30.92 kB / 0.6744 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/1.68, allocations: 4.006 MB / 0.6783 GB, free: 97.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.681, allocations: 337.1 kB / 0.6786 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007783/1.682, allocations: 55.88 kB / 0.6787 GB, free: 97.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.684, allocations: 76.33 kB / 0.6787 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/1.684, allocations: 145.1 kB / 0.6789 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.684, allocations: 61.62 kB / 0.6789 GB, free: 97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003605/1.688, allocations: 1.594 MB / 0.6805 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/1.688, allocations: 0 / 0.6805 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005009/1.693, allocations: 0.6904 MB / 0.6812 GB, free: 96.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 157 * Array equations: 0 * 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.006064/1.699, allocations: 9.196 MB / 0.6901 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006251/1.706, allocations: 2.898 MB / 0.693 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/1.706, allocations: 4 kB / 0.693 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/1.708, allocations: 0.8599 MB / 0.6938 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/1.71, allocations: 334.9 kB / 0.6941 GB, free: 86.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.73, allocations: 6.744 MB / 0.7007 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005134/1.736, allocations: 2.74 MB / 0.7034 GB, free: 81.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004921/1.741, allocations: 0.9738 MB / 0.7043 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003455/1.744, allocations: 1.366 MB / 0.7057 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/1.744, allocations: 3.188 kB / 0.7057 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.869, allocations: 52.44 MB / 0.7569 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.869, allocations: 150 kB / 0.757 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.069/5.938, allocations: 7.938 kB / 0.757 GB, free: 39.59 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat