Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.053e-05, allocations: 0 / 255.5 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.0935, allocations: 44.5 MB / 300 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5508, allocations: 106.8 MB / 406.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5511, allocations: 93.66 kB / 406.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.819/1.37, allocations: 127.3 MB / 0.5216 GB, free: 64.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.37, allocations: 3.562 kB / 0.5217 GB, free: 64.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007862/1.371, allocations: 139.8 kB / 0.5218 GB, free: 64.93 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.04184/1.413, allocations: 7.074 MB / 0.5287 GB, free: 64.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.413, allocations: 11.38 kB / 0.5287 GB, free: 64.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006025/1.419, allocations: 1.192 MB / 0.5299 GB, free: 63.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02275/1.442, allocations: 2.764 MB / 0.5326 GB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/1.469, allocations: 7.494 MB / 0.5399 GB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006788/1.47, allocations: 0.5158 MB / 0.5404 GB, free: 62.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/1.474, allocations: 0.6882 MB / 0.5411 GB, free: 62.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05958/1.534, allocations: 17.05 MB / 0.5577 GB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004386/1.534, allocations: 77.88 kB / 0.5578 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003127/1.537, allocations: 329.2 kB / 0.5581 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003456/1.541, allocations: 1.501 MB / 0.5596 GB, free: 59.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04468/1.585, allocations: 14.08 MB / 0.5733 GB, free: 59.14 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.1197/1.705, allocations: 73.29 MB / 0.6449 GB, free: 24.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03621/1.741, allocations: 7.57 MB / 0.6523 GB, free: 18.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007351/1.749, allocations: 3.935 MB / 0.6561 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03851/1.787, allocations: 15.92 MB / 0.6717 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.379e-05/1.787, allocations: 56.56 kB / 0.6717 GB, free: 1.207 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 9.859e-06/1.788, allocations: 4 kB / 0.6717 GB, free: 1.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.624/2.412, allocations: 39.38 MB / 0.7102 GB, free: 77.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03576/2.447, allocations: 14.86 MB / 0.7247 GB, free: 74.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/2.46, allocations: 5.018 MB / 0.7296 GB, free: 73.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001174/2.462, allocations: 75.12 kB / 0.7297 GB, free: 73.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004304/2.466, allocations: 4.586 MB / 0.7341 GB, free: 70.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002481/2.468, allocations: 1.254 MB / 0.7354 GB, free: 70.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/2.47, allocations: 178.6 kB / 0.7355 GB, free: 70.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008257/2.471, allocations: 0.6935 MB / 0.7362 GB, free: 69.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01047/2.482, allocations: 4.031 MB / 0.7402 GB, free: 68.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0147/2.496, allocations: 9.177 MB / 0.7491 GB, free: 59.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/2.515, allocations: 6.043 MB / 0.755 GB, free: 58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002241/2.516, allocations: 54.59 kB / 0.7551 GB, free: 58 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06424/2.58, allocations: 17.09 MB / 0.7718 GB, free: 52.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/2.58, allocations: 84 kB / 0.7718 GB, free: 52.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002792/2.58, allocations: 187.9 kB / 0.772 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02978/2.61, allocations: 4.994 MB / 0.7769 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/2.623, allocations: 1.996 MB / 0.7788 GB, free: 46.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07858/2.702, allocations: 37.02 MB / 0.815 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/2.716, allocations: 0.5427 MB / 0.8155 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002935/2.719, allocations: 0.5545 MB / 0.8161 GB, free: 13.08 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.004664/2.723, allocations: 0.7947 MB / 0.8168 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/2.726, allocations: 0.5322 MB / 0.8174 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.357/3.083, allocations: 10.45 MB / 0.8276 GB, free: 65.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/3.083, allocations: 48.02 kB / 0.8276 GB, free: 65.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03906/3.122, allocations: 9.479 MB / 0.8369 GB, free: 64.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/3.122, allocations: 13.61 kB / 0.8369 GB, free: 64.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07554/3.198, allocations: 23.45 MB / 0.8598 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.772e-05/3.198, allocations: 10.48 kB / 0.8598 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004628/3.203, allocations: 450.7 kB / 0.8602 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02292/3.226, allocations: 3.809 MB / 0.8639 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/3.227, allocations: 63.86 kB / 0.864 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06002/3.287, allocations: 27.37 MB / 0.8907 GB, free: 53.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02829/3.315, allocations: 12.12 MB / 0.9026 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04533/3.361, allocations: 15.02 MB / 0.9172 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004845/3.365, allocations: 1.147 MB / 0.9184 GB, free: 40.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/3.368, allocations: 62.22 kB / 0.9184 GB, free: 40.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007054/3.375, allocations: 215 kB / 0.9186 GB, free: 40.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001748/3.376, allocations: 246.5 kB / 0.9189 GB, free: 40.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007817/3.377, allocations: 95.14 kB / 0.9189 GB, free: 40.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009375/3.387, allocations: 3.499 MB / 0.9224 GB, free: 39.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/3.387, allocations: 0 / 0.9224 GB, free: 39.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01403/3.401, allocations: 2.036 MB / 0.9244 GB, free: 39.12 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.04606/3.447, allocations: 16.84 MB / 0.9408 GB, free: 26.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02392/3.471, allocations: 10.31 MB / 0.9509 GB, free: 17.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/3.471, allocations: 0 / 0.9509 GB, free: 17.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009814/3.481, allocations: 4.109 MB / 0.9549 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006875/3.488, allocations: 0.7605 MB / 0.9556 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05436/3.542, allocations: 16.62 MB / 0.9719 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01361/3.556, allocations: 5.102 MB / 0.9768 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009118/3.565, allocations: 3.19 MB / 0.98 GB, free: 7.848 MB / 442.7 MB Notification: Performance of SimCode: time 2.134e-06/3.565, allocations: 0 / 0.98 GB, free: 7.848 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.573/10.14, allocations: 284 MB / 1.257 GB, free: 58.13 MB / 474.7 MB