Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.251e-05, allocations: 0 / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09984, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.5719, allocations: 113.6 MB / 430.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.5723, allocations: 86.64 kB / 430.7 MB, free: 6.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8411/1.413, allocations: 128.7 MB / 0.5463 GB, free: 87.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.413, allocations: 0 / 0.5463 GB, free: 87.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005145/1.414, allocations: 149.8 kB / 0.5464 GB, free: 87.64 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: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.03647/1.45, allocations: 7.137 MB / 0.5534 GB, free: 85.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.451, allocations: 7.75 kB / 0.5534 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006225/1.457, allocations: 1.215 MB / 0.5546 GB, free: 84.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02217/1.479, allocations: 2.776 MB / 0.5573 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02744/1.507, allocations: 7.536 MB / 0.5647 GB, free: 83.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006758/1.507, allocations: 0.5274 MB / 0.5652 GB, free: 83.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003821/1.511, allocations: 0.7023 MB / 0.5659 GB, free: 83.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0566/1.568, allocations: 17.3 MB / 0.5828 GB, free: 77.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005033/1.568, allocations: 75.91 kB / 0.5828 GB, free: 77.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003639/1.572, allocations: 331.7 kB / 0.5832 GB, free: 77.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004759/1.577, allocations: 1.531 MB / 0.5847 GB, free: 77.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06528/1.642, allocations: 14.29 MB / 0.5986 GB, free: 68.32 MB / 426.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.4483/2.091, allocations: 73.77 MB / 0.6707 GB, free: 71.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04216/2.133, allocations: 7.789 MB / 0.6783 GB, free: 71.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008861/2.142, allocations: 3.978 MB / 0.6821 GB, free: 71.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04343/2.185, allocations: 16.69 MB / 0.6984 GB, free: 67.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.751e-05/2.185, allocations: 73.77 kB / 0.6985 GB, free: 67.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=275): time 8.376e-06/2.185, allocations: 0 / 0.6985 GB, free: 67.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.2165/2.402, allocations: 39.19 MB / 0.7368 GB, free: 58.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03606/2.438, allocations: 14.86 MB / 0.7513 GB, free: 51.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/2.451, allocations: 5.045 MB / 0.7562 GB, free: 49.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/2.452, allocations: 80.44 kB / 0.7563 GB, free: 49.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00441/2.457, allocations: 4.778 MB / 0.761 GB, free: 44.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002335/2.459, allocations: 1.297 MB / 0.7622 GB, free: 43.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/2.461, allocations: 180 kB / 0.7624 GB, free: 43.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007971/2.462, allocations: 0.6993 MB / 0.7631 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/2.472, allocations: 4.052 MB / 0.7671 GB, free: 39.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.486, allocations: 9.235 MB / 0.7761 GB, free: 28.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01424/2.5, allocations: 6.073 MB / 0.782 GB, free: 23.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/2.501, allocations: 55.52 kB / 0.7821 GB, free: 23.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.06316/2.564, allocations: 17.36 MB / 0.799 GB, free: 9.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/2.564, allocations: 87.95 kB / 0.7991 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003066/2.564, allocations: 187.8 kB / 0.7993 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03016/2.594, allocations: 4.985 MB / 0.8041 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/2.608, allocations: 2.027 MB / 0.8061 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4259/3.034, allocations: 37.02 MB / 0.8423 GB, free: 92.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/3.048, allocations: 0.5508 MB / 0.8428 GB, free: 92.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/3.051, allocations: 0.5632 MB / 0.8434 GB, free: 92.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 60 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1064): * Single equations (assignments): 1053 * 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.004523/3.056, allocations: 0.8007 MB / 0.8441 GB, free: 92.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002417/3.058, allocations: 0.5304 MB / 0.8447 GB, free: 92.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04302/3.101, allocations: 10.47 MB / 0.8549 GB, free: 92.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001244/3.101, allocations: 47.98 kB / 0.8549 GB, free: 92.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03727/3.139, allocations: 9.55 MB / 0.8643 GB, free: 91.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/3.139, allocations: 16.44 kB / 0.8643 GB, free: 91.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08156/3.22, allocations: 23.58 MB / 0.8873 GB, free: 83.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-05/3.221, allocations: 3.875 kB / 0.8873 GB, free: 83.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004896/3.225, allocations: 465.4 kB / 0.8878 GB, free: 83.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0226/3.248, allocations: 3.696 MB / 0.8914 GB, free: 82.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/3.249, allocations: 65.61 kB / 0.8914 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06255/3.312, allocations: 27.31 MB / 0.9181 GB, free: 68.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02891/3.341, allocations: 12.13 MB / 0.9299 GB, free: 61.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04742/3.388, allocations: 15.17 MB / 0.9448 GB, free: 48.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004877/3.393, allocations: 1.161 MB / 0.9459 GB, free: 47.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002556/3.396, allocations: 64.59 kB / 0.946 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007318/3.403, allocations: 225.6 kB / 0.9462 GB, free: 47.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001818/3.405, allocations: 246 kB / 0.9464 GB, free: 47.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/3.406, allocations: 92.41 kB / 0.9465 GB, free: 47.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009835/3.416, allocations: 3.527 MB / 0.9499 GB, free: 43.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.122e-06/3.416, allocations: 0 / 0.9499 GB, free: 43.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0149/3.431, allocations: 2.058 MB / 0.9519 GB, free: 41.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 208 * 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%) 11,(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.04957/3.481, allocations: 16.98 MB / 0.9685 GB, free: 26.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02545/3.506, allocations: 10.4 MB / 0.9787 GB, free: 16.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/3.506, allocations: 0 / 0.9787 GB, free: 16.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01059/3.517, allocations: 4.14 MB / 0.9827 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007553/3.524, allocations: 0.7596 MB / 0.9835 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4227/3.947, allocations: 15.95 MB / 0.999 GB, free: 91.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01471/3.962, allocations: 5.161 MB / 1.004 GB, free: 91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01411/3.976, allocations: 2.765 MB / 1.007 GB, free: 90.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00763/3.984, allocations: 3.182 MB / 1.01 GB, free: 90.94 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/3.984, allocations: 2.812 kB / 1.01 GB, free: 90.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6806/4.664, allocations: 154.2 MB / 1.16 GB, free: 70.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/4.665, allocations: 204.2 kB / 1.161 GB, free: 69.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/13.15, allocations: 0 / 1.161 GB, free: 69.84 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat