Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.696e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09786, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.554, allocations: 106.8 MB / 406.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.5544, allocations: 91.81 kB / 406.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8296/1.384, allocations: 127.3 MB / 0.5216 GB, free: 65.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.384, allocations: 0 / 0.5216 GB, free: 65.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007359/1.385, allocations: 140.5 kB / 0.5218 GB, free: 65.13 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: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.04078/1.426, allocations: 7.08 MB / 0.5287 GB, free: 64.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/1.426, allocations: 8.875 kB / 0.5287 GB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006769/1.432, allocations: 1.192 MB / 0.5299 GB, free: 64.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02389/1.456, allocations: 2.768 MB / 0.5326 GB, free: 63.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03042/1.487, allocations: 7.487 MB / 0.5399 GB, free: 62.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000791/1.488, allocations: 0.5139 MB / 0.5404 GB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00416/1.492, allocations: 0.6929 MB / 0.5411 GB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05716/1.549, allocations: 17.12 MB / 0.5578 GB, free: 59.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005914/1.55, allocations: 90.23 kB / 0.5579 GB, free: 59.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003952/1.554, allocations: 327.6 kB / 0.5582 GB, free: 59.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003748/1.557, allocations: 1.501 MB / 0.5596 GB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04788/1.605, allocations: 14.32 MB / 0.5736 GB, free: 59.21 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1301/1.736, allocations: 73.29 MB / 0.6452 GB, free: 24.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04961/1.785, allocations: 7.589 MB / 0.6526 GB, free: 18.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/1.796, allocations: 3.938 MB / 0.6565 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07525/1.872, allocations: 15.93 MB / 0.672 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/1.872, allocations: 56.56 kB / 0.6721 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 1.083e-05/1.872, allocations: 0 / 0.6721 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.5461/2.418, allocations: 39.54 MB / 0.7107 GB, free: 77.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03658/2.455, allocations: 14.87 MB / 0.7252 GB, free: 74.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/2.468, allocations: 5.017 MB / 0.7301 GB, free: 73.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001152/2.47, allocations: 73.5 kB / 0.7302 GB, free: 73.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004569/2.474, allocations: 4.743 MB / 0.7348 GB, free: 71.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002546/2.477, allocations: 1.253 MB / 0.736 GB, free: 70.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/2.479, allocations: 184 kB / 0.7362 GB, free: 70.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001249/2.48, allocations: 0.6868 MB / 0.7369 GB, free: 69.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01093/2.491, allocations: 4.034 MB / 0.7408 GB, free: 68.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01469/2.506, allocations: 9.228 MB / 0.7498 GB, free: 59.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/2.521, allocations: 6.041 MB / 0.7557 GB, free: 57.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002361/2.521, allocations: 51.62 kB / 0.7558 GB, free: 57.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06774/2.589, allocations: 17.78 MB / 0.7731 GB, free: 51.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/2.589, allocations: 88.03 kB / 0.7732 GB, free: 51.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003149/2.589, allocations: 187.9 kB / 0.7734 GB, free: 51.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0305/2.62, allocations: 4.991 MB / 0.7783 GB, free: 47.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/2.633, allocations: 2.003 MB / 0.7802 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07938/2.713, allocations: 37.03 MB / 0.8164 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/2.726, allocations: 0.5394 MB / 0.8169 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002686/2.729, allocations: 0.5588 MB / 0.8175 GB, free: 12.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1036 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.004408/2.733, allocations: 0.7897 MB / 0.8182 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/2.736, allocations: 0.5321 MB / 0.8188 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3559/3.092, allocations: 10.42 MB / 0.8289 GB, free: 64.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/3.092, allocations: 48.86 kB / 0.829 GB, free: 64.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03936/3.131, allocations: 9.49 MB / 0.8382 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-05/3.131, allocations: 11.48 kB / 0.8383 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07863/3.21, allocations: 23.47 MB / 0.8612 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.26e-05/3.21, allocations: 7.844 kB / 0.8612 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004783/3.215, allocations: 442.4 kB / 0.8616 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02349/3.238, allocations: 3.817 MB / 0.8653 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00116/3.24, allocations: 64.78 kB / 0.8654 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06122/3.301, allocations: 27.37 MB / 0.8921 GB, free: 52.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02865/3.33, allocations: 12.12 MB / 0.904 GB, free: 46.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04624/3.376, allocations: 15.02 MB / 0.9186 GB, free: 40.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00509/3.381, allocations: 1.145 MB / 0.9197 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002453/3.383, allocations: 65.47 kB / 0.9198 GB, free: 40.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007165/3.391, allocations: 214.2 kB / 0.92 GB, free: 40.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/3.392, allocations: 247.2 kB / 0.9202 GB, free: 40.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005543/3.393, allocations: 93.08 kB / 0.9203 GB, free: 40 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009679/3.403, allocations: 3.5 MB / 0.9238 GB, free: 38.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/3.403, allocations: 0 / 0.9238 GB, free: 38.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01444/3.417, allocations: 2.036 MB / 0.9257 GB, free: 38.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.R_rel.w[2],joint.constantTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.04564/3.463, allocations: 16.84 MB / 0.9422 GB, free: 25.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02379/3.487, allocations: 10.66 MB / 0.9526 GB, free: 16.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/3.487, allocations: 0 / 0.9526 GB, free: 16.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009785/3.497, allocations: 4.188 MB / 0.9567 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006741/3.503, allocations: 0.752 MB / 0.9574 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04989/3.553, allocations: 15.88 MB / 0.9729 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/3.566, allocations: 5.105 MB / 0.9779 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01403/3.58, allocations: 2.735 MB / 0.9806 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00842/3.589, allocations: 3.124 MB / 0.9836 GB, free: 5.707 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/3.589, allocations: 3.938 kB / 0.9836 GB, free: 5.703 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7042/4.293, allocations: 154 MB / 1.134 GB, free: 7.707 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/4.294, allocations: 210.5 kB / 1.134 GB, free: 7.477 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/12.61, allocations: 0 / 1.134 GB, free: 7.477 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat