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.94/1.94, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.799e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3138, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.5064, allocations: 106.1 MB / 400.4 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/0.5068, allocations: 91.94 kB / 400.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7819/1.289, allocations: 124.3 MB / 0.5124 GB, free: 26.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.289, allocations: 4 kB / 0.5124 GB, free: 26.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004834/1.289, allocations: 139.9 kB / 0.5126 GB, free: 26.04 MB / 362.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.03493/1.324, allocations: 7.071 MB / 0.5195 GB, free: 18.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.324, allocations: 16.02 kB / 0.5195 GB, free: 18.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02219/1.347, allocations: 2.764 MB / 0.5222 GB, free: 16.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.374, allocations: 7.484 MB / 0.5295 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/1.375, allocations: 224 kB / 0.5297 GB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003755/1.379, allocations: 416.2 kB / 0.5301 GB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02671/1.405, allocations: 10.08 MB / 0.54 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6193/2.025, allocations: 14.58 MB / 0.5542 GB, free: 46.96 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007475/2.026, allocations: 77.72 kB / 0.5543 GB, free: 46.96 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0037/2.029, allocations: 39.75 kB / 0.5543 GB, free: 46.96 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004457/2.034, allocations: 1.497 MB / 0.5558 GB, free: 46.95 MB / 378.8 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.1201/2.154, allocations: 72.67 MB / 0.6268 GB, free: 22.48 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008813/2.163, allocations: 4.82 MB / 0.6315 GB, free: 20.12 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006649/2.17, allocations: 3.531 MB / 0.6349 GB, free: 18.64 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/2.171, allocations: 0.7021 MB / 0.6356 GB, free: 18.04 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.626e-05/2.171, allocations: 66.88 kB / 0.6357 GB, free: 17.98 MB / 394.8 MB Notification: Performance of pre-optimization done (n=270): time 8.286e-06/2.171, allocations: 0 / 0.6357 GB, free: 17.98 MB / 394.8 MB Notification: Performance of matching and sorting (n=353): time 0.1863/2.357, allocations: 41.64 MB / 0.6763 GB, free: 1.621 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/2.358, allocations: 166.1 kB / 0.6765 GB, free: 1.43 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/2.377, allocations: 4.863 MB / 0.6812 GB, free: 14.59 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001133/2.378, allocations: 32.42 kB / 0.6813 GB, free: 14.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005843/2.384, allocations: 4.761 MB / 0.6859 GB, free: 10.23 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002672/2.387, allocations: 1.274 MB / 0.6872 GB, free: 9.086 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/2.388, allocations: 4 kB / 0.6872 GB, free: 9.082 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0008193/2.389, allocations: 0.7021 MB / 0.6878 GB, free: 8.484 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01044/2.4, allocations: 4.024 MB / 0.6918 GB, free: 4.902 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01576/2.415, allocations: 9.315 MB / 0.7009 GB, free: 9.629 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/2.431, allocations: 6.066 MB / 0.7068 GB, free: 4.211 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000238/2.431, allocations: 55.94 kB / 0.7068 GB, free: 4.156 MB / 426.8 MB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.3902/2.822, allocations: 17.39 MB / 0.7238 GB, free: 90.84 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/2.822, allocations: 85.19 kB / 0.7239 GB, free: 90.84 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002638/2.822, allocations: 189.2 kB / 0.7241 GB, free: 90.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03393/2.856, allocations: 5.385 MB / 0.7294 GB, free: 90.77 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/2.869, allocations: 2.083 MB / 0.7314 GB, free: 90.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07778/2.947, allocations: 35.47 MB / 0.766 GB, free: 80.01 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01295/2.96, allocations: 420.8 kB / 0.7664 GB, free: 80.01 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002531/2.963, allocations: 0.5878 MB / 0.767 GB, free: 79.93 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * 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 (1089): * Single equations (assignments): 1078 * 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,(2,100.0%) 13,(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.002571/2.965, allocations: 0.5785 MB / 0.7676 GB, free: 79.58 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05324/3.019, allocations: 11.77 MB / 0.7791 GB, free: 76.22 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/3.021, allocations: 0.4975 MB / 0.7795 GB, free: 76.06 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03842/3.059, allocations: 10.42 MB / 0.7897 GB, free: 72.47 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001226/3.059, allocations: 53.36 kB / 0.7898 GB, free: 72.46 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03251/3.092, allocations: 8.99 MB / 0.7986 GB, free: 65.6 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001293/3.092, allocations: 21.2 kB / 0.7986 GB, free: 65.6 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08903/3.181, allocations: 22.72 MB / 0.8208 GB, free: 45.55 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.925e-05/3.181, allocations: 10.61 kB / 0.8208 GB, free: 45.54 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007947/3.189, allocations: 482.1 kB / 0.8212 GB, free: 45.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03827/3.228, allocations: 3.8 MB / 0.8249 GB, free: 41.29 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/3.229, allocations: 26.8 kB / 0.825 GB, free: 41.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0877/3.317, allocations: 25.95 MB / 0.8503 GB, free: 14.95 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04028/3.357, allocations: 11.65 MB / 0.8617 GB, free: 3.07 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4564/3.813, allocations: 15.35 MB / 0.8767 GB, free: 98.8 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004633/3.818, allocations: 1.122 MB / 0.8778 GB, free: 98.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/3.82, allocations: 13.77 kB / 0.8778 GB, free: 98.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007165/3.828, allocations: 177.2 kB / 0.878 GB, free: 98.7 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001886/3.83, allocations: 252.3 kB / 0.8782 GB, free: 98.69 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005091/3.83, allocations: 99.09 kB / 0.8783 GB, free: 98.69 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.008095/3.838, allocations: 2.979 MB / 0.8812 GB, free: 98.51 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.02e-07/3.838, allocations: 2.312 kB / 0.8812 GB, free: 98.51 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01415/3.852, allocations: 1.832 MB / 0.883 GB, free: 98.51 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 ($STATESET140670075138441.x,$STATESET140670075138440.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 (221): * Single equations (assignments): 213 * 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.04615/3.899, allocations: 17.32 MB / 0.8999 GB, free: 94.78 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0233/3.922, allocations: 10.41 MB / 0.9101 GB, free: 93.91 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/3.922, allocations: 0 / 0.9101 GB, free: 93.91 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009826/3.932, allocations: 4.154 MB / 0.9141 GB, free: 92.7 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006568/3.939, allocations: 0.644 MB / 0.9148 GB, free: 92.47 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05107/3.99, allocations: 15.52 MB / 0.9299 GB, free: 86.69 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/4.002, allocations: 5.122 MB / 0.9349 GB, free: 85 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01446/4.017, allocations: 2.84 MB / 0.9377 GB, free: 84.95 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007915/4.025, allocations: 3.118 MB / 0.9407 GB, free: 82.37 MB / 442.8 MB Notification: Performance of SimCode: time 1.844e-06/4.025, allocations: 0 / 0.9407 GB, free: 82.37 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6908/4.715, allocations: 147.3 MB / 1.085 GB, free: 90.15 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/4.716, allocations: 159.6 kB / 1.085 GB, free: 89.96 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/12.71, allocations: 0 / 1.085 GB, free: 89.96 MB / 442.8 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