Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.734e-05, allocations: 0 / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6358, allocations: 115.2 MB / 457.8 MB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.6362, allocations: 93.88 kB / 457.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8344/1.471, allocations: 127.9 MB / 0.5721 GB, free: 97.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.471, allocations: 0 / 0.5721 GB, free: 97.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004736/1.471, allocations: 143.2 kB / 0.5722 GB, free: 97.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.03504/1.506, allocations: 7.046 MB / 0.5791 GB, free: 94.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.506, allocations: 10.12 kB / 0.5791 GB, free: 94.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005612/1.512, allocations: 1.188 MB / 0.5803 GB, free: 94.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/1.534, allocations: 2.757 MB / 0.583 GB, free: 93.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02792/1.562, allocations: 7.157 MB / 0.59 GB, free: 91.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007339/1.562, allocations: 0.5165 MB / 0.5905 GB, free: 91.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004063/1.567, allocations: 0.6847 MB / 0.5911 GB, free: 91.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0591/1.626, allocations: 17.03 MB / 0.6078 GB, free: 80.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007108/1.627, allocations: 83.19 kB / 0.6079 GB, free: 80.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004589/1.631, allocations: 329.8 kB / 0.6082 GB, free: 80.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/1.635, allocations: 1.49 MB / 0.6096 GB, free: 79.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04697/1.682, allocations: 14.03 MB / 0.6233 GB, free: 65.34 MB / 442.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.498/2.18, allocations: 72.87 MB / 0.6945 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0421/2.222, allocations: 7.706 MB / 0.702 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008828/2.231, allocations: 3.937 MB / 0.7059 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04748/2.279, allocations: 16.48 MB / 0.722 GB, free: 41.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/2.279, allocations: 67.34 kB / 0.722 GB, free: 41.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 7.915e-06/2.279, allocations: 0 / 0.722 GB, free: 41.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.2036/2.482, allocations: 38.76 MB / 0.7599 GB, free: 31.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0369/2.519, allocations: 14.86 MB / 0.7744 GB, free: 23.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/2.533, allocations: 4.935 MB / 0.7792 GB, free: 21.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/2.534, allocations: 79.11 kB / 0.7793 GB, free: 21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004501/2.539, allocations: 4.686 MB / 0.7838 GB, free: 16.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002352/2.541, allocations: 1.269 MB / 0.7851 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/2.543, allocations: 183.1 kB / 0.7853 GB, free: 15.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000876/2.544, allocations: 0.6922 MB / 0.7859 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.555, allocations: 3.997 MB / 0.7898 GB, free: 11.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/2.569, allocations: 9.094 MB / 0.7987 GB, free: 496 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02678/2.596, allocations: 6.662 MB / 0.8052 GB, free: 13.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002351/2.596, allocations: 52 kB / 0.8053 GB, free: 13.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.08614/2.682, allocations: 17.18 MB / 0.8221 GB, free: 13.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/2.682, allocations: 84 kB / 0.8221 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003488/2.683, allocations: 180 kB / 0.8223 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.038/2.721, allocations: 4.981 MB / 0.8272 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/2.736, allocations: 1.981 MB / 0.8291 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09679/2.833, allocations: 37.04 MB / 0.8653 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/2.846, allocations: 0.5422 MB / 0.8658 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002814/2.849, allocations: 0.5545 MB / 0.8663 GB, free: 15.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1042): * Single equations (assignments): 1031 * 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.004378/2.853, allocations: 0.7843 MB / 0.8671 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/2.856, allocations: 0.5206 MB / 0.8676 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04656/2.902, allocations: 10.37 MB / 0.8777 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001308/2.903, allocations: 47.75 kB / 0.8778 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.4192/3.322, allocations: 9.454 MB / 0.887 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/3.322, allocations: 16.2 kB / 0.887 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08923/3.411, allocations: 23.01 MB / 0.9095 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-05/3.411, allocations: 2.688 kB / 0.9095 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004757/3.416, allocations: 441.5 kB / 0.9099 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02249/3.439, allocations: 3.689 MB / 0.9135 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/3.44, allocations: 57.16 kB / 0.9136 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06327/3.503, allocations: 27.31 MB / 0.9403 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02923/3.532, allocations: 12.12 MB / 0.9521 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04761/3.58, allocations: 14.62 MB / 0.9664 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/3.582, allocations: 0.5655 MB / 0.9669 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002503/3.585, allocations: 55.66 kB / 0.967 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007412/3.592, allocations: 209.4 kB / 0.9672 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002031/3.594, allocations: 249.2 kB / 0.9674 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/3.595, allocations: 86.56 kB / 0.9675 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01016/3.606, allocations: 3.446 MB / 0.9709 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.442e-06/3.606, allocations: 1.969 kB / 0.9709 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01442/3.62, allocations: 2.028 MB / 0.9728 GB, free: 120.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (206): * Single equations (assignments): 198 * 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.048/3.668, allocations: 16 MB / 0.9885 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02439/3.693, allocations: 10.27 MB / 0.9985 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/3.693, allocations: 0 / 0.9985 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/3.703, allocations: 4.09 MB / 1.002 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007242/3.71, allocations: 0.7401 MB / 1.003 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05213/3.762, allocations: 15.62 MB / 1.018 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/3.775, allocations: 5.076 MB / 1.023 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01397/3.789, allocations: 2.711 MB / 1.026 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008007/3.797, allocations: 3.108 MB / 1.029 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/3.797, allocations: 4 kB / 1.029 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8075/4.605, allocations: 152 MB / 1.178 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/4.605, allocations: 205.5 kB / 1.178 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/12.86, allocations: 4 kB / 1.178 GB, free: 90.39 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat